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_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'
317 ac_subst_files
='host_makefile_frag target_makefile_frag'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
375 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
378 -build |
--build |
--buil |
--bui |
--bu)
379 ac_prev
=build_alias
;;
380 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
384 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
385 ac_prev
=cache_file
;;
386 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
387 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
395 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* |
--disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* |
--enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
422 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
423 |
--exec |
--exe |
--ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
426 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
427 |
--exec=* |
--exe=* |
--ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas |
--gas |
--ga |
--g)
431 # Obsolete; use --with-gas.
434 -help |
--help |
--hel |
--he |
-h)
436 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
439 ac_init_help
=short
;;
441 -host |
--host |
--hos |
--ho)
442 ac_prev
=host_alias
;;
443 -host=* |
--host=* |
--hos=* |
--ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir |
--includedir |
--includedi |
--included |
--include \
447 |
--includ |
--inclu |
--incl |
--inc)
448 ac_prev
=includedir
;;
449 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
450 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
455 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir |
--libdir |
--libdi |
--libd)
460 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
463 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
464 |
--libexe |
--libex |
--libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
467 |
--libexe=* |
--libex=* |
--libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
471 |
--localstate |
--localstat |
--localsta |
--localst \
472 |
--locals |
--local |
--loca |
--loc |
--lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
475 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
476 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
481 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
485 # Obsolete; use --without-fp.
488 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
489 |
--no-cr |
--no-c |
-n)
492 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
493 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
496 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
497 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
498 |
--oldin |
--oldi |
--old |
--ol |
--o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
501 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
502 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
507 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
510 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
511 |
--program-pre |
--program-pr |
--program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
514 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
518 |
--program-suf |
--program-su |
--program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
521 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name |
--program-transform-name \
525 |
--program-transform-nam |
--program-transform-na \
526 |
--program-transform-n |
--program-transform- \
527 |
--program-transform |
--program-transfor \
528 |
--program-transfo |
--program-transf \
529 |
--program-trans |
--program-tran \
530 |
--progr-tra |
--program-tr |
--program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* |
--program-transform-name=* \
533 |
--program-transform-nam=* |
--program-transform-na=* \
534 |
--program-transform-n=* |
--program-transform-=* \
535 |
--program-transform=* |
--program-transfor=* \
536 |
--program-transfo=* |
--program-transf=* \
537 |
--program-trans=* |
--program-tran=* \
538 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
542 |
-silent |
--silent |
--silen |
--sile |
--sil)
545 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
547 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
552 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
553 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
557 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
558 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site |
--site |
--sit)
564 -site=* |
--site=* |
--sit=*)
567 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
569 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
572 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
573 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
576 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
580 ac_prev
=target_alias
;;
581 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
582 target_alias
=$ac_optarg ;;
584 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
587 -version |
--version |
--versio |
--versi |
--vers |
-V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* |
--without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
617 |
--x-incl |
--x-inc |
--x-in |
--x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
620 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
624 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
627 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
779 # Report the --help message.
781 if test "$ac_init_help" = "long"; then
782 # Omit some internal or obsolete options to make the list less imposing.
783 # This message is too long to be a string in the A/UX 3.1 sh.
785 \`configure' configures this package to adapt to many kinds of systems.
787 Usage: $0 [OPTION]... [VAR=VALUE]...
789 To assign environment variables (e.g., CC, CFLAGS...), specify them as
790 VAR=VALUE. See below for descriptions of some of the useful variables.
792 Defaults for the options are specified in brackets.
795 -h, --help display this help and exit
796 --help=short display options specific to this package
797 --help=recursive display the short help of all the included packages
798 -V, --version display version information and exit
799 -q, --quiet, --silent do not print \`checking...' messages
800 --cache-file=FILE cache test results in FILE [disabled]
801 -C, --config-cache alias for \`--cache-file=config.cache'
802 -n, --no-create do not create output files
803 --srcdir=DIR find the sources in DIR [configure dir or \`..']
808 Installation directories:
809 --prefix=PREFIX install architecture-independent files in PREFIX
811 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
814 By default, \`make install' will install all the files in
815 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
816 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
817 for instance \`--prefix=\$HOME'.
819 For better control, use the options below.
821 Fine tuning of the installation directories:
822 --bindir=DIR user executables [EPREFIX/bin]
823 --sbindir=DIR system admin executables [EPREFIX/sbin]
824 --libexecdir=DIR program executables [EPREFIX/libexec]
825 --datadir=DIR read-only architecture-independent data [PREFIX/share]
826 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
827 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
828 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
829 --libdir=DIR object code libraries [EPREFIX/lib]
830 --includedir=DIR C header files [PREFIX/include]
831 --oldincludedir=DIR C header files for non-gcc [/usr/include]
832 --infodir=DIR info documentation [PREFIX/info]
833 --mandir=DIR man documentation [PREFIX/man]
839 --program-prefix=PREFIX prepend PREFIX to installed program names
840 --program-suffix=SUFFIX append SUFFIX to installed program names
841 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
844 --x-includes=DIR X include files are
in DIR
845 --x-libraries=DIR X library files are
in DIR
848 --build=BUILD configure
for building on BUILD
[guessed
]
849 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
850 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
854 if test -n "$ac_init_help"; then
859 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
860 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
861 --enable-maintainer-mode enable make rules and dependencies not useful
862 (and sometimes confusing
) to the casual installer
863 --disable-nls do not use Native Language Support
864 --disable-gdbcli disable command-line interface
(CLI
)
865 --disable-gdbmi disable machine-interface
(MI
)
866 --enable-tui enable full-screen terminal user interface
(TUI
)
867 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
868 --enable-profiling enable profiling of GDB
869 --enable-werror treat compile warnings as errors
870 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
871 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
872 --enable-sim Link gdb with simulator
873 --enable-multi-ice build the multi-ice-gdb-server
876 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
877 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
878 --with-included-gettext use the GNU
gettext library included here
879 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
880 --with-libunwind Use libunwind frame unwinding support
881 --without-included-regex don
't use included regex; this is the default
882 on systems with version 2 of the GNU C library
883 (use with caution on other system)
884 --with-sysroot=DIR Search for usr/lib et al within DIR.
885 --with-tclconfig=DIR Directory containing tcl configuration (tclConfig.sh)
886 --with-tkconfig=DIR Directory containing tk configuration (tkConfig.sh)
887 --with-tclinclude=DIR Directory where tcl private headers are
888 --with-tkinclude=DIR Directory where tk private headers are
889 --with-itclconfig Directory containing itcl configuration (itclConfig.sh)
890 --with-itkconfig Directory containing itk configuration (itkConfig.sh)
891 --with-x use the X Window System
892 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
894 Some influential environment variables:
895 CC C compiler command
896 CFLAGS C compiler flags
897 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
898 nonstandard directory <lib dir>
899 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
900 headers in a nonstandard directory <include dir>
903 Use these variables to override the choices made by `configure' or to
help
904 it to
find libraries and programs with nonstandard names
/locations.
909 if test "$ac_init_help" = "recursive"; then
910 # If there are subdirs, report their specific --help.
912 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
913 test -d $ac_dir ||
continue
916 if test "$ac_dir" != .
; then
917 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
918 # A "../" for each directory in $ac_dir_suffix.
919 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
921 ac_dir_suffix
= ac_top_builddir
=
925 .
) # No --srcdir option. We are building in place.
927 if test -z "$ac_top_builddir"; then
930 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
932 [\\/]* | ?
:[\\/]* ) # Absolute path.
933 ac_srcdir
=$srcdir$ac_dir_suffix;
934 ac_top_srcdir
=$srcdir ;;
936 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
937 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
940 # Do not use `cd foo && pwd` to compute absolute paths, because
941 # the directories may not exist.
943 .
) ac_abs_builddir
="$ac_dir";;
946 .
) ac_abs_builddir
=`pwd`;;
947 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
948 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
951 case $ac_abs_builddir in
952 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
954 case ${ac_top_builddir}.
in
955 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
956 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
957 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
960 case $ac_abs_builddir in
961 .
) ac_abs_srcdir
=$ac_srcdir;;
964 .
) ac_abs_srcdir
=$ac_abs_builddir;;
965 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
966 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
969 case $ac_abs_builddir in
970 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
972 case $ac_top_srcdir in
973 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
974 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
975 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
980 # Check for guested configure; otherwise get Cygnus style configure.
981 if test -f $ac_srcdir/configure.gnu
; then
983 $SHELL $ac_srcdir/configure.gnu
--help=recursive
984 elif test -f $ac_srcdir/configure
; then
986 $SHELL $ac_srcdir/configure
--help=recursive
987 elif test -f $ac_srcdir/configure.ac ||
988 test -f $ac_srcdir/configure.
in; then
992 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
998 test -n "$ac_init_help" && exit 0
999 if $ac_init_version; then
1002 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1003 This configure
script is free software
; the Free Software Foundation
1004 gives unlimited permission to copy
, distribute and modify it.
1010 This file contains any messages produced by compilers while
1011 running configure, to aid debugging if configure makes a mistake.
1013 It was created by $as_me, which was
1014 generated by GNU Autoconf 2.59. Invocation command line was
1025 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1026 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1027 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1028 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1029 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1031 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1032 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1034 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1035 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1036 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1037 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1038 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1039 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1040 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1048 test -z "$as_dir" && as_dir
=.
1049 echo "PATH: $as_dir"
1064 # Keep a trace of the command line.
1065 # Strip out --no-create and --no-recursion so they do not pile up.
1066 # Strip out --silent because we don't want to record it for future runs.
1067 # Also quote any args containing shell meta-characters.
1068 # Make two passes to allow for proper duplicate-argument suppression.
1073 ac_must_keep_next
=false
1079 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1080 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1081 |
-silent |
--silent |
--silen |
--sile |
--sil)
1083 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1084 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1087 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1089 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1090 if test $ac_must_keep_next = true
; then
1091 ac_must_keep_next
=false
# Got value, back to normal.
1094 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1095 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1096 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1097 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1098 case "$ac_configure_args0 " in
1099 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1102 -* ) ac_must_keep_next
=true
;;
1105 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1106 # Get rid of the leading space.
1112 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1113 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1115 # When interrupted or exit'd, cleanup temporary files, and complete
1116 # config.log. We remove comments because anyway the quotes in there
1117 # would cause problems or look ugly.
1118 # WARNING: Be sure not to use single quotes in there, as some shells,
1119 # such as our DU 5.0 friend, will then `close' the trap.
1120 trap 'exit_status=$?
1121 # Save into config.log some information that might help in debugging.
1126 ## ---------------- ##
1127 ## Cache variables. ##
1128 ## ---------------- ##
1131 # The following way of writing the cache mishandles newlines in values,
1134 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1137 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1142 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1149 ## ----------------- ##
1150 ## Output variables. ##
1151 ## ----------------- ##
1154 for ac_var in $ac_subst_vars
1156 eval ac_val=$`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1161 if test -n "$ac_subst_files"; then
1168 for ac_var in $ac_subst_files
1170 eval ac_val=$`echo $ac_var`
1171 echo "$ac_var='"'"'$ac_val'"'"'"
1176 if test -s confdefs.h; then
1183 sed "/^$/d" confdefs.h | sort
1186 test "$ac_signal" != 0 &&
1187 echo "$as_me: caught signal $ac_signal"
1188 echo "$as_me: exit $exit_status"
1190 rm -f core *.core &&
1191 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1194 for ac_signal
in 1 2 13 15; do
1195 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1199 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1200 rm -rf conftest
* confdefs.h
1201 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1204 # Predefined preprocessor variables.
1206 cat >>confdefs.h
<<_ACEOF
1207 #define PACKAGE_NAME "$PACKAGE_NAME"
1211 cat >>confdefs.h
<<_ACEOF
1212 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1216 cat >>confdefs.h
<<_ACEOF
1217 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1221 cat >>confdefs.h
<<_ACEOF
1222 #define PACKAGE_STRING "$PACKAGE_STRING"
1226 cat >>confdefs.h
<<_ACEOF
1227 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1231 # Let the site file select an alternate cache file if it wants to.
1232 # Prefer explicitly selected file to automatically selected ones.
1233 if test -z "$CONFIG_SITE"; then
1234 if test "x$prefix" != xNONE
; then
1235 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1237 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1240 for ac_site_file
in $CONFIG_SITE; do
1241 if test -r "$ac_site_file"; then
1242 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1243 echo "$as_me: loading site script $ac_site_file" >&6;}
1244 sed 's/^/| /' "$ac_site_file" >&5
1249 if test -r "$cache_file"; then
1250 # Some versions of bash will fail to source /dev/null (special
1251 # files actually), so we avoid doing that.
1252 if test -f "$cache_file"; then
1253 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1254 echo "$as_me: loading cache $cache_file" >&6;}
1256 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1257 *) . .
/$cache_file;;
1261 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1262 echo "$as_me: creating cache $cache_file" >&6;}
1266 # Check that the precious variables saved in the cache have kept the same
1268 ac_cache_corrupted
=false
1269 for ac_var
in `(set) 2>&1 |
1270 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1271 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1272 eval ac_new_set
=\
$ac_env_${ac_var}_set
1273 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1274 eval ac_new_val
="\$ac_env_${ac_var}_value"
1275 case $ac_old_set,$ac_new_set in
1277 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1278 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1279 ac_cache_corrupted
=: ;;
1281 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1282 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1283 ac_cache_corrupted
=: ;;
1286 if test "x$ac_old_val" != "x$ac_new_val"; then
1287 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1288 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1289 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1290 echo "$as_me: former value: $ac_old_val" >&2;}
1291 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1292 echo "$as_me: current value: $ac_new_val" >&2;}
1293 ac_cache_corrupted
=:
1296 # Pass precious variables to config.status.
1297 if test "$ac_new_set" = set; then
1299 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1300 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1301 *) ac_arg
=$ac_var=$ac_new_val ;;
1303 case " $ac_configure_args " in
1304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1305 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1309 if $ac_cache_corrupted; then
1310 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1311 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1312 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1313 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1314 { (exit 1); exit 1; }; }
1318 ac_cpp
='$CPP $CPPFLAGS'
1319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1341 ac_config_headers
="$ac_config_headers config.h:config.in"
1343 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1344 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1345 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1346 if test "${enable_maintainer_mode+set}" = set; then
1347 enableval
="$enable_maintainer_mode"
1348 USE_MAINTAINER_MODE
=$enableval
1350 USE_MAINTAINER_MODE
=no
1352 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1353 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1356 if test $USE_MAINTAINER_MODE = yes; then
1357 MAINTAINER_MODE_TRUE
=
1358 MAINTAINER_MODE_FALSE
='#'
1360 MAINTAINER_MODE_TRUE
='#'
1361 MAINTAINER_MODE_FALSE
=
1364 MAINT
=$MAINTAINER_MODE_TRUE
1369 ac_cpp
='$CPP $CPPFLAGS'
1370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1373 if test -n "$ac_tool_prefix"; then
1374 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1375 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1376 echo "$as_me:$LINENO: checking for $ac_word" >&5
1377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1378 if test "${ac_cv_prog_CC+set}" = set; then
1379 echo $ECHO_N "(cached) $ECHO_C" >&6
1381 if test -n "$CC"; then
1382 ac_cv_prog_CC
="$CC" # Let the user override the test.
1384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir
=.
1389 for ac_exec_ext
in '' $ac_executable_extensions; do
1390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1391 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1401 if test -n "$CC"; then
1402 echo "$as_me:$LINENO: result: $CC" >&5
1403 echo "${ECHO_T}$CC" >&6
1405 echo "$as_me:$LINENO: result: no" >&5
1406 echo "${ECHO_T}no" >&6
1410 if test -z "$ac_cv_prog_CC"; then
1412 # Extract the first word of "gcc", so it can be a program name with args.
1413 set dummy gcc
; ac_word
=$2
1414 echo "$as_me:$LINENO: checking for $ac_word" >&5
1415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1416 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1417 echo $ECHO_N "(cached) $ECHO_C" >&6
1419 if test -n "$ac_ct_CC"; then
1420 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1426 test -z "$as_dir" && as_dir
=.
1427 for ac_exec_ext
in '' $ac_executable_extensions; do
1428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1429 ac_cv_prog_ac_ct_CC
="gcc"
1430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1438 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1439 if test -n "$ac_ct_CC"; then
1440 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1441 echo "${ECHO_T}$ac_ct_CC" >&6
1443 echo "$as_me:$LINENO: result: no" >&5
1444 echo "${ECHO_T}no" >&6
1452 if test -z "$CC"; then
1453 if test -n "$ac_tool_prefix"; then
1454 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1455 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1456 echo "$as_me:$LINENO: checking for $ac_word" >&5
1457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1458 if test "${ac_cv_prog_CC+set}" = set; then
1459 echo $ECHO_N "(cached) $ECHO_C" >&6
1461 if test -n "$CC"; then
1462 ac_cv_prog_CC
="$CC" # Let the user override the test.
1464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1468 test -z "$as_dir" && as_dir
=.
1469 for ac_exec_ext
in '' $ac_executable_extensions; do
1470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1471 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1481 if test -n "$CC"; then
1482 echo "$as_me:$LINENO: result: $CC" >&5
1483 echo "${ECHO_T}$CC" >&6
1485 echo "$as_me:$LINENO: result: no" >&5
1486 echo "${ECHO_T}no" >&6
1490 if test -z "$ac_cv_prog_CC"; then
1492 # Extract the first word of "cc", so it can be a program name with args.
1493 set dummy cc
; ac_word
=$2
1494 echo "$as_me:$LINENO: checking for $ac_word" >&5
1495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1497 echo $ECHO_N "(cached) $ECHO_C" >&6
1499 if test -n "$ac_ct_CC"; then
1500 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir
=.
1507 for ac_exec_ext
in '' $ac_executable_extensions; do
1508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1509 ac_cv_prog_ac_ct_CC
="cc"
1510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1518 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1519 if test -n "$ac_ct_CC"; then
1520 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1521 echo "${ECHO_T}$ac_ct_CC" >&6
1523 echo "$as_me:$LINENO: result: no" >&5
1524 echo "${ECHO_T}no" >&6
1533 if test -z "$CC"; then
1534 # Extract the first word of "cc", so it can be a program name with args.
1535 set dummy cc
; ac_word
=$2
1536 echo "$as_me:$LINENO: checking for $ac_word" >&5
1537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1538 if test "${ac_cv_prog_CC+set}" = set; then
1539 echo $ECHO_N "(cached) $ECHO_C" >&6
1541 if test -n "$CC"; then
1542 ac_cv_prog_CC
="$CC" # Let the user override the test.
1545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1549 test -z "$as_dir" && as_dir
=.
1550 for ac_exec_ext
in '' $ac_executable_extensions; do
1551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1553 ac_prog_rejected
=yes
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1563 if test $ac_prog_rejected = yes; then
1564 # We found a bogon in the path, so make sure we never use it.
1565 set dummy
$ac_cv_prog_CC
1567 if test $# != 0; then
1568 # We chose a different compiler from the bogus one.
1569 # However, it has the same basename, so the bogon will be chosen
1570 # first if we set CC to just the basename; use the full file name.
1572 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1578 if test -n "$CC"; then
1579 echo "$as_me:$LINENO: result: $CC" >&5
1580 echo "${ECHO_T}$CC" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1587 if test -z "$CC"; then
1588 if test -n "$ac_tool_prefix"; then
1591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1592 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1593 echo "$as_me:$LINENO: checking for $ac_word" >&5
1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1595 if test "${ac_cv_prog_CC+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 if test -n "$CC"; then
1599 ac_cv_prog_CC
="$CC" # Let the user override the test.
1601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1605 test -z "$as_dir" && as_dir
=.
1606 for ac_exec_ext
in '' $ac_executable_extensions; do
1607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1608 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1618 if test -n "$CC"; then
1619 echo "$as_me:$LINENO: result: $CC" >&5
1620 echo "${ECHO_T}$CC" >&6
1622 echo "$as_me:$LINENO: result: no" >&5
1623 echo "${ECHO_T}no" >&6
1626 test -n "$CC" && break
1629 if test -z "$CC"; then
1633 # Extract the first word of "$ac_prog", so it can be a program name with args.
1634 set dummy
$ac_prog; ac_word
=$2
1635 echo "$as_me:$LINENO: checking for $ac_word" >&5
1636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1638 echo $ECHO_N "(cached) $ECHO_C" >&6
1640 if test -n "$ac_ct_CC"; then
1641 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir
=.
1648 for ac_exec_ext
in '' $ac_executable_extensions; do
1649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1650 ac_cv_prog_ac_ct_CC
="$ac_prog"
1651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1659 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1660 if test -n "$ac_ct_CC"; then
1661 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1662 echo "${ECHO_T}$ac_ct_CC" >&6
1664 echo "$as_me:$LINENO: result: no" >&5
1665 echo "${ECHO_T}no" >&6
1668 test -n "$ac_ct_CC" && break
1677 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1678 See \`config.log' for more details." >&5
1679 echo "$as_me: error: no acceptable C compiler found in \$PATH
1680 See \`config.log' for more details." >&2;}
1681 { (exit 1); exit 1; }; }
1683 # Provide some information about the compiler.
1684 echo "$as_me:$LINENO:" \
1685 "checking for C compiler version" >&5
1686 ac_compiler
=`set X $ac_compile; echo $2`
1687 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1688 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1691 (exit $ac_status); }
1692 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1693 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1696 (exit $ac_status); }
1697 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1698 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1701 (exit $ac_status); }
1703 cat >conftest.
$ac_ext <<_ACEOF
1706 cat confdefs.h
>>conftest.
$ac_ext
1707 cat >>conftest.
$ac_ext <<_ACEOF
1708 /* end confdefs.h. */
1718 ac_clean_files_save
=$ac_clean_files
1719 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1720 # Try to create an executable without -o first, disregard a.out.
1721 # It will help us diagnose broken compilers, and finding out an intuition
1723 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1724 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1725 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1726 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1727 (eval $ac_link_default) 2>&5
1729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1730 (exit $ac_status); }; then
1731 # Find the output, starting from the most likely. This scheme is
1732 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1735 # Be careful to initialize this variable, since it used to be cached.
1736 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1738 # b.out is created by i960 compilers.
1739 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1741 test -f "$ac_file" ||
continue
1743 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1746 # This is the source file.
1749 # We found the default executable, but exeext='' is most
1753 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1754 # FIXME: I believe we export ac_cv_exeext for Libtool,
1755 # but it would be cool to find out if it's true. Does anybody
1756 # maintain Libtool? --akim.
1764 echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.
$ac_ext >&5
1767 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1768 See \`config.log' for more details." >&5
1769 echo "$as_me: error: C compiler cannot create executables
1770 See \`config.log' for more details." >&2;}
1771 { (exit 77); exit 77; }; }
1774 ac_exeext
=$ac_cv_exeext
1775 echo "$as_me:$LINENO: result: $ac_file" >&5
1776 echo "${ECHO_T}$ac_file" >&6
1778 # Check the compiler produces executables we can run. If not, either
1779 # the compiler is broken, or we cross compile.
1780 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1781 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1782 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1783 # If not cross compiling, check that we can run a simple program.
1784 if test "$cross_compiling" != yes; then
1785 if { ac_try
='./$ac_file'
1786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); }; }; then
1793 if test "$cross_compiling" = maybe
; then
1796 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1797 If you meant to cross compile, use \`--host'.
1798 See \`config.log' for more details." >&5
1799 echo "$as_me: error: cannot run C compiled programs.
1800 If you meant to cross compile, use \`--host'.
1801 See \`config.log' for more details." >&2;}
1802 { (exit 1); exit 1; }; }
1806 echo "$as_me:$LINENO: result: yes" >&5
1807 echo "${ECHO_T}yes" >&6
1809 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1810 ac_clean_files
=$ac_clean_files_save
1811 # Check the compiler produces executables we can run. If not, either
1812 # the compiler is broken, or we cross compile.
1813 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1814 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1815 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1816 echo "${ECHO_T}$cross_compiling" >&6
1818 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1819 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1821 (eval $ac_link) 2>&5
1823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1824 (exit $ac_status); }; then
1825 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1826 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1827 # work properly (i.e., refer to `conftest.exe'), while it won't with
1829 for ac_file
in conftest.exe conftest conftest.
*; do
1830 test -f "$ac_file" ||
continue
1832 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1833 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1840 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1841 See \`config.log' for more details." >&5
1842 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1843 See \`config.log' for more details." >&2;}
1844 { (exit 1); exit 1; }; }
1847 rm -f conftest
$ac_cv_exeext
1848 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1849 echo "${ECHO_T}$ac_cv_exeext" >&6
1851 rm -f conftest.
$ac_ext
1852 EXEEXT
=$ac_cv_exeext
1854 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1855 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1856 if test "${ac_cv_objext+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 cat >conftest.
$ac_ext <<_ACEOF
1862 cat confdefs.h
>>conftest.
$ac_ext
1863 cat >>conftest.
$ac_ext <<_ACEOF
1864 /* end confdefs.h. */
1874 rm -f conftest.o conftest.obj
1875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1876 (eval $ac_compile) 2>&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); }; then
1880 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1882 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1883 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1888 echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.
$ac_ext >&5
1891 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1892 See \`config.log' for more details." >&5
1893 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1894 See \`config.log' for more details." >&2;}
1895 { (exit 1); exit 1; }; }
1898 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1900 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1901 echo "${ECHO_T}$ac_cv_objext" >&6
1902 OBJEXT
=$ac_cv_objext
1904 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1905 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1906 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1907 echo $ECHO_N "(cached) $ECHO_C" >&6
1909 cat >conftest.
$ac_ext <<_ACEOF
1912 cat confdefs.h
>>conftest.
$ac_ext
1913 cat >>conftest.
$ac_ext <<_ACEOF
1914 /* end confdefs.h. */
1927 rm -f conftest.
$ac_objext
1928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1929 (eval $ac_compile) 2>conftest.er1
1931 grep -v '^ *+' conftest.er1
>conftest.err
1933 cat conftest.err
>&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); } &&
1936 { ac_try
='test -z "$ac_c_werror_flag"
1937 || 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"
1996 || test ! -s conftest.err'
1997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); }; } &&
2002 { ac_try
='test -s conftest.$ac_objext'
2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; }; then
2010 echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.
$ac_ext >&5
2015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2017 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2018 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2019 if test "$ac_test_CFLAGS" = set; then
2020 CFLAGS
=$ac_save_CFLAGS
2021 elif test $ac_cv_prog_cc_g = yes; then
2022 if test "$GCC" = yes; then
2028 if test "$GCC" = yes; then
2034 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2035 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2036 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 ac_cv_prog_cc_stdc
=no
2041 cat >conftest.
$ac_ext <<_ACEOF
2044 cat confdefs.h
>>conftest.
$ac_ext
2045 cat >>conftest.
$ac_ext <<_ACEOF
2046 /* end confdefs.h. */
2049 #include <sys/types.h>
2050 #include <sys/stat.h>
2051 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2052 struct buf { int x; };
2053 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2054 static char *e (p, i)
2060 static char *f (char * (*g) (char **, int), char **p, ...)
2065 s = g (p, va_arg (v,int));
2070 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2071 function prototypes and stuff, but not '\xHH' hex character constants.
2072 These don't provoke an error unfortunately, instead are silently treated
2073 as 'x'. The following induces an error, until -std1 is added to get
2074 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2075 array size at least. It's necessary to write '\x00'==0 to get something
2076 that's true only with -std1. */
2077 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2079 int test (int i, double x);
2080 struct s1 {int (*f) (int a);};
2081 struct s2 {int (*f) (double a);};
2082 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2088 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2093 # Don't try gcc -ansi; that turns off useful extensions and
2094 # breaks some systems' header files.
2095 # AIX -qlanglvl=ansi
2096 # Ultrix and OSF/1 -std1
2097 # HP-UX 10.20 and later -Ae
2098 # HP-UX older versions -Aa -D_HPUX_SOURCE
2099 # SVR4 -Xc -D__EXTENSIONS__
2100 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2102 CC
="$ac_save_CC $ac_arg"
2103 rm -f conftest.
$ac_objext
2104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2105 (eval $ac_compile) 2>conftest.er1
2107 grep -v '^ *+' conftest.er1
>conftest.err
2109 cat conftest.err
>&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); } &&
2112 { ac_try
='test -z "$ac_c_werror_flag"
2113 || test ! -s conftest.err'
2114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; } &&
2119 { ac_try
='test -s conftest.$ac_objext'
2120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; }; then
2125 ac_cv_prog_cc_stdc
=$ac_arg
2128 echo "$as_me: failed program was:" >&5
2129 sed 's/^/| /' conftest.
$ac_ext >&5
2132 rm -f conftest.err conftest.
$ac_objext
2134 rm -f conftest.
$ac_ext conftest.
$ac_objext
2139 case "x$ac_cv_prog_cc_stdc" in
2141 echo "$as_me:$LINENO: result: none needed" >&5
2142 echo "${ECHO_T}none needed" >&6 ;;
2144 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2145 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2146 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2149 # Some people use a C++ compiler to compile C. Since we use `exit',
2150 # in C++ we need to declare it. In case someone uses the same compiler
2151 # for both compiling C and C++ we need to have the C++ compiler decide
2152 # the declaration of exit, since it's the most demanding environment.
2153 cat >conftest.
$ac_ext <<_ACEOF
2158 rm -f conftest.
$ac_objext
2159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2160 (eval $ac_compile) 2>conftest.er1
2162 grep -v '^ *+' conftest.er1
>conftest.err
2164 cat conftest.err
>&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); } &&
2167 { ac_try
='test -z "$ac_c_werror_flag"
2168 || test ! -s conftest.err'
2169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }; } &&
2174 { ac_try
='test -s conftest.$ac_objext'
2175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179 (exit $ac_status); }; }; then
2180 for ac_declaration
in \
2182 'extern "C" void std::exit (int) throw (); using std::exit;' \
2183 'extern "C" void std::exit (int); using std::exit;' \
2184 'extern "C" void exit (int) throw ();' \
2185 'extern "C" void exit (int);' \
2188 cat >conftest.
$ac_ext <<_ACEOF
2191 cat confdefs.h
>>conftest.
$ac_ext
2192 cat >>conftest.
$ac_ext <<_ACEOF
2193 /* end confdefs.h. */
2204 rm -f conftest.
$ac_objext
2205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2206 (eval $ac_compile) 2>conftest.er1
2208 grep -v '^ *+' conftest.er1
>conftest.err
2210 cat conftest.err
>&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); } &&
2213 { ac_try
='test -z "$ac_c_werror_flag"
2214 || test ! -s conftest.err'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; } &&
2220 { ac_try
='test -s conftest.$ac_objext'
2221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; }; then
2228 echo "$as_me: failed program was:" >&5
2229 sed 's/^/| /' conftest.
$ac_ext >&5
2233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2234 cat >conftest.
$ac_ext <<_ACEOF
2237 cat confdefs.h
>>conftest.
$ac_ext
2238 cat >>conftest.
$ac_ext <<_ACEOF
2239 /* end confdefs.h. */
2249 rm -f conftest.
$ac_objext
2250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2251 (eval $ac_compile) 2>conftest.er1
2253 grep -v '^ *+' conftest.er1
>conftest.err
2255 cat conftest.err
>&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); } &&
2258 { ac_try
='test -z "$ac_c_werror_flag"
2259 || test ! -s conftest.err'
2260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); }; } &&
2265 { ac_try
='test -s conftest.$ac_objext'
2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }; }; then
2273 echo "$as_me: failed program was:" >&5
2274 sed 's/^/| /' conftest.
$ac_ext >&5
2277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2280 if test -n "$ac_declaration"; then
2281 echo '#ifdef __cplusplus' >>confdefs.h
2282 echo $ac_declaration >>confdefs.h
2283 echo '#endif' >>confdefs.h
2287 echo "$as_me: failed program was:" >&5
2288 sed 's/^/| /' conftest.
$ac_ext >&5
2291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2293 ac_cpp
='$CPP $CPPFLAGS'
2294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2299 cat >>confdefs.h
<<\_ACEOF
2300 #define _GNU_SOURCE 1
2306 ac_cpp
='$CPP $CPPFLAGS'
2307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2310 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2311 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2312 # On Suns, sometimes $CPP names a directory.
2313 if test -n "$CPP" && test -d "$CPP"; then
2316 if test -z "$CPP"; then
2317 if test "${ac_cv_prog_CPP+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 # Double quotes because CPP needs to be expanded
2321 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2324 for ac_c_preproc_warn_flag
in '' yes
2326 # Use a header file that comes with gcc, so configuring glibc
2327 # with a fresh cross-compiler works.
2328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2329 # <limits.h> exists even on freestanding compilers.
2330 # On the NeXT, cc -E runs the code through the compiler's parser,
2331 # not just through cpp. "Syntax error" is here to catch this case.
2332 cat >conftest.
$ac_ext <<_ACEOF
2335 cat confdefs.h
>>conftest.
$ac_ext
2336 cat >>conftest.
$ac_ext <<_ACEOF
2337 /* end confdefs.h. */
2339 # include <limits.h>
2341 # include <assert.h>
2345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2348 grep -v '^ *+' conftest.er1
>conftest.err
2350 cat conftest.err
>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } >/dev
/null
; then
2353 if test -s conftest.err
; then
2354 ac_cpp_err
=$ac_c_preproc_warn_flag
2355 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2362 if test -z "$ac_cpp_err"; then
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.
$ac_ext >&5
2368 # Broken: fails on valid input.
2371 rm -f conftest.err conftest.
$ac_ext
2373 # OK, works on sane cases. Now check whether non-existent headers
2374 # can be detected and how.
2375 cat >conftest.
$ac_ext <<_ACEOF
2378 cat confdefs.h
>>conftest.
$ac_ext
2379 cat >>conftest.
$ac_ext <<_ACEOF
2380 /* end confdefs.h. */
2381 #include <ac_nonexistent.h>
2383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2384 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2386 grep -v '^ *+' conftest.er1
>conftest.err
2388 cat conftest.err
>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); } >/dev
/null
; then
2391 if test -s conftest.err
; then
2392 ac_cpp_err
=$ac_c_preproc_warn_flag
2393 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2400 if test -z "$ac_cpp_err"; then
2401 # Broken: success on invalid input.
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.
$ac_ext >&5
2407 # Passes both tests.
2411 rm -f conftest.err conftest.
$ac_ext
2414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2415 rm -f conftest.err conftest.
$ac_ext
2416 if $ac_preproc_ok; then
2428 echo "$as_me:$LINENO: result: $CPP" >&5
2429 echo "${ECHO_T}$CPP" >&6
2431 for ac_c_preproc_warn_flag
in '' yes
2433 # Use a header file that comes with gcc, so configuring glibc
2434 # with a fresh cross-compiler works.
2435 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2436 # <limits.h> exists even on freestanding compilers.
2437 # On the NeXT, cc -E runs the code through the compiler's parser,
2438 # not just through cpp. "Syntax error" is here to catch this case.
2439 cat >conftest.
$ac_ext <<_ACEOF
2442 cat confdefs.h
>>conftest.
$ac_ext
2443 cat >>conftest.
$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2446 # include <limits.h>
2448 # include <assert.h>
2452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2455 grep -v '^ *+' conftest.er1
>conftest.err
2457 cat conftest.err
>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); } >/dev
/null
; then
2460 if test -s conftest.err
; then
2461 ac_cpp_err
=$ac_c_preproc_warn_flag
2462 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2469 if test -z "$ac_cpp_err"; then
2472 echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.
$ac_ext >&5
2475 # Broken: fails on valid input.
2478 rm -f conftest.err conftest.
$ac_ext
2480 # OK, works on sane cases. Now check whether non-existent headers
2481 # can be detected and how.
2482 cat >conftest.
$ac_ext <<_ACEOF
2485 cat confdefs.h
>>conftest.
$ac_ext
2486 cat >>conftest.
$ac_ext <<_ACEOF
2487 /* end confdefs.h. */
2488 #include <ac_nonexistent.h>
2490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2493 grep -v '^ *+' conftest.er1
>conftest.err
2495 cat conftest.err
>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); } >/dev
/null
; then
2498 if test -s conftest.err
; then
2499 ac_cpp_err
=$ac_c_preproc_warn_flag
2500 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2507 if test -z "$ac_cpp_err"; then
2508 # Broken: success on invalid input.
2511 echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.
$ac_ext >&5
2514 # Passes both tests.
2518 rm -f conftest.err conftest.
$ac_ext
2521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2522 rm -f conftest.err conftest.
$ac_ext
2523 if $ac_preproc_ok; then
2526 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2534 ac_cpp
='$CPP $CPPFLAGS'
2535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2540 echo "$as_me:$LINENO: checking for egrep" >&5
2541 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2542 if test "${ac_cv_prog_egrep+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2546 then ac_cv_prog_egrep
='grep -E'
2547 else ac_cv_prog_egrep
='egrep'
2550 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2551 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2552 EGREP
=$ac_cv_prog_egrep
2556 echo "$as_me:$LINENO: checking for AIX" >&5
2557 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2558 cat >conftest.
$ac_ext <<_ACEOF
2561 cat confdefs.h
>>conftest.
$ac_ext
2562 cat >>conftest.
$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2570 $EGREP "yes" >/dev
/null
2>&1; then
2571 echo "$as_me:$LINENO: result: yes" >&5
2572 echo "${ECHO_T}yes" >&6
2573 cat >>confdefs.h
<<\_ACEOF
2574 #define _ALL_SOURCE 1
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2584 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2585 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2586 if test "${ac_cv_search_strerror+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2589 ac_func_search_save_LIBS
=$LIBS
2590 ac_cv_search_strerror
=no
2591 cat >conftest.
$ac_ext <<_ACEOF
2594 cat confdefs.h
>>conftest.
$ac_ext
2595 cat >>conftest.
$ac_ext <<_ACEOF
2596 /* end confdefs.h. */
2598 /* Override any gcc2 internal prototype to avoid an error. */
2602 /* We use char because int might match the return type of a gcc2
2603 builtin and then its argument prototype would still apply. */
2613 rm -f conftest.
$ac_objext conftest
$ac_exeext
2614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2615 (eval $ac_link) 2>conftest.er1
2617 grep -v '^ *+' conftest.er1
>conftest.err
2619 cat conftest.err
>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } &&
2622 { ac_try
='test -z "$ac_c_werror_flag"
2623 || test ! -s conftest.err'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; } &&
2629 { ac_try
='test -s conftest$ac_exeext'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; }; then
2635 ac_cv_search_strerror
="none required"
2637 echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.
$ac_ext >&5
2641 rm -f conftest.err conftest.
$ac_objext \
2642 conftest
$ac_exeext conftest.
$ac_ext
2643 if test "$ac_cv_search_strerror" = no
; then
2644 for ac_lib
in cposix
; do
2645 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2646 cat >conftest.
$ac_ext <<_ACEOF
2649 cat confdefs.h
>>conftest.
$ac_ext
2650 cat >>conftest.
$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2653 /* Override any gcc2 internal prototype to avoid an error. */
2657 /* We use char because int might match the return type of a gcc2
2658 builtin and then its argument prototype would still apply. */
2668 rm -f conftest.
$ac_objext conftest
$ac_exeext
2669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2670 (eval $ac_link) 2>conftest.er1
2672 grep -v '^ *+' conftest.er1
>conftest.err
2674 cat conftest.err
>&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } &&
2677 { ac_try
='test -z "$ac_c_werror_flag"
2678 || test ! -s conftest.err'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; } &&
2684 { ac_try
='test -s conftest$ac_exeext'
2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2690 ac_cv_search_strerror
="-l$ac_lib"
2693 echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.
$ac_ext >&5
2697 rm -f conftest.err conftest.
$ac_objext \
2698 conftest
$ac_exeext conftest.
$ac_ext
2701 LIBS
=$ac_func_search_save_LIBS
2703 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2704 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2705 if test "$ac_cv_search_strerror" != no
; then
2706 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2713 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2714 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2715 if test "${am_cv_prog_cc_stdc+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 am_cv_prog_cc_stdc
=no
2720 # Don't try gcc -ansi; that turns off useful extensions and
2721 # breaks some systems' header files.
2722 # AIX -qlanglvl=ansi
2723 # Ultrix and OSF/1 -std1
2724 # HP-UX 10.20 and later -Ae
2725 # HP-UX older versions -Aa -D_HPUX_SOURCE
2726 # SVR4 -Xc -D__EXTENSIONS__
2727 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2729 CC
="$ac_save_CC $ac_arg"
2730 cat >conftest.
$ac_ext <<_ACEOF
2733 cat confdefs.h
>>conftest.
$ac_ext
2734 cat >>conftest.
$ac_ext <<_ACEOF
2735 /* end confdefs.h. */
2738 #include <sys/types.h>
2739 #include <sys/stat.h>
2740 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2741 struct buf { int x; };
2742 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2743 static char *e (p, i)
2749 static char *f (char * (*g) (char **, int), char **p, ...)
2754 s = g (p, va_arg (v,int));
2758 int test (int i, double x);
2759 struct s1 {int (*f) (int a);};
2760 struct s2 {int (*f) (double a);};
2761 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2775 rm -f conftest.
$ac_objext
2776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2777 (eval $ac_compile) 2>conftest.er1
2779 grep -v '^ *+' conftest.er1
>conftest.err
2781 cat conftest.err
>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } &&
2784 { ac_try
='test -z "$ac_c_werror_flag"
2785 || test ! -s conftest.err'
2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; } &&
2791 { ac_try
='test -s conftest.$ac_objext'
2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; }; then
2797 am_cv_prog_cc_stdc
="$ac_arg"; break
2799 echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.
$ac_ext >&5
2803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2809 if test -z "$am_cv_prog_cc_stdc"; then
2810 echo "$as_me:$LINENO: result: none needed" >&5
2811 echo "${ECHO_T}none needed" >&6
2813 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2814 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2816 case "x$am_cv_prog_cc_stdc" in
2818 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2823 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2824 if test -f $ac_dir/install-sh
; then
2826 ac_install_sh
="$ac_aux_dir/install-sh -c"
2828 elif test -f $ac_dir/install.sh
; then
2830 ac_install_sh
="$ac_aux_dir/install.sh -c"
2832 elif test -f $ac_dir/shtool
; then
2834 ac_install_sh
="$ac_aux_dir/shtool install -c"
2838 if test -z "$ac_aux_dir"; then
2839 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2840 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2841 { (exit 1); exit 1; }; }
2843 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2844 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2845 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2847 # Make sure we can run config.sub.
2848 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2849 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2850 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2851 { (exit 1); exit 1; }; }
2853 echo "$as_me:$LINENO: checking build system type" >&5
2854 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2855 if test "${ac_cv_build+set}" = set; then
2856 echo $ECHO_N "(cached) $ECHO_C" >&6
2858 ac_cv_build_alias
=$build_alias
2859 test -z "$ac_cv_build_alias" &&
2860 ac_cv_build_alias
=`$ac_config_guess`
2861 test -z "$ac_cv_build_alias" &&
2862 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2863 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2864 { (exit 1); exit 1; }; }
2865 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2866 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2867 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2868 { (exit 1); exit 1; }; }
2871 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2872 echo "${ECHO_T}$ac_cv_build" >&6
2874 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2875 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2876 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2879 echo "$as_me:$LINENO: checking host system type" >&5
2880 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2881 if test "${ac_cv_host+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 ac_cv_host_alias
=$host_alias
2885 test -z "$ac_cv_host_alias" &&
2886 ac_cv_host_alias
=$ac_cv_build_alias
2887 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2888 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2889 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2890 { (exit 1); exit 1; }; }
2893 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2894 echo "${ECHO_T}$ac_cv_host" >&6
2896 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2897 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2898 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2901 echo "$as_me:$LINENO: checking target system type" >&5
2902 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2903 if test "${ac_cv_target+set}" = set; then
2904 echo $ECHO_N "(cached) $ECHO_C" >&6
2906 ac_cv_target_alias
=$target_alias
2907 test "x$ac_cv_target_alias" = "x" &&
2908 ac_cv_target_alias
=$ac_cv_host_alias
2909 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2910 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2911 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2912 { (exit 1); exit 1; }; }
2915 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2916 echo "${ECHO_T}$ac_cv_target" >&6
2917 target
=$ac_cv_target
2918 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2919 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2920 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2923 # The aliases save the names the user supplied, while $host etc.
2924 # will get canonicalized.
2925 test -n "$target_alias" &&
2926 test "$program_prefix$program_suffix$program_transform_name" = \
2928 program_prefix
=${target_alias}-
2942 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2943 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2944 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2945 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2946 echo $ECHO_N "(cached) $ECHO_C" >&6
2948 cat >conftest.
make <<\_ACEOF
2950 @
echo 'ac_maketemp="$(MAKE)"'
2952 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2953 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2954 if test -n "$ac_maketemp"; then
2955 eval ac_cv_prog_make_
${ac_make}_set
=yes
2957 eval ac_cv_prog_make_
${ac_make}_set
=no
2961 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2962 echo "$as_me:$LINENO: result: yes" >&5
2963 echo "${ECHO_T}yes" >&6
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 SET_MAKE
="MAKE=${MAKE-make}"
2971 if test -n "$ac_tool_prefix"; then
2972 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2973 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2974 echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2976 if test "${ac_cv_prog_RANLIB+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 if test -n "$RANLIB"; then
2980 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir
=.
2987 for ac_exec_ext
in '' $ac_executable_extensions; do
2988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2989 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 RANLIB
=$ac_cv_prog_RANLIB
2999 if test -n "$RANLIB"; then
3000 echo "$as_me:$LINENO: result: $RANLIB" >&5
3001 echo "${ECHO_T}$RANLIB" >&6
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3008 if test -z "$ac_cv_prog_RANLIB"; then
3009 ac_ct_RANLIB
=$RANLIB
3010 # Extract the first word of "ranlib", so it can be a program name with args.
3011 set dummy ranlib
; ac_word
=$2
3012 echo "$as_me:$LINENO: checking for $ac_word" >&5
3013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3014 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3015 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 if test -n "$ac_ct_RANLIB"; then
3018 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir
=.
3025 for ac_exec_ext
in '' $ac_executable_extensions; do
3026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3037 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3038 if test -n "$ac_ct_RANLIB"; then
3039 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3040 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3042 echo "$as_me:$LINENO: result: no" >&5
3043 echo "${ECHO_T}no" >&6
3046 RANLIB
=$ac_ct_RANLIB
3048 RANLIB
="$ac_cv_prog_RANLIB"
3051 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3052 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3053 if test "${ac_cv_header_stdc+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 cat >conftest.
$ac_ext <<_ACEOF
3059 cat confdefs.h
>>conftest.
$ac_ext
3060 cat >>conftest.
$ac_ext <<_ACEOF
3061 /* end confdefs.h. */
3075 rm -f conftest.
$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3079 grep -v '^ *+' conftest.er1
>conftest.err
3081 cat conftest.err
>&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try
='test -z "$ac_c_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try
='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_cv_header_stdc
=yes
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.
$ac_ext >&5
3102 ac_cv_header_stdc
=no
3104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3106 if test $ac_cv_header_stdc = yes; then
3107 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3108 cat >conftest.
$ac_ext <<_ACEOF
3111 cat confdefs.h
>>conftest.
$ac_ext
3112 cat >>conftest.
$ac_ext <<_ACEOF
3113 /* end confdefs.h. */
3117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3118 $EGREP "memchr" >/dev
/null
2>&1; then
3121 ac_cv_header_stdc
=no
3127 if test $ac_cv_header_stdc = yes; then
3128 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3129 cat >conftest.
$ac_ext <<_ACEOF
3132 cat confdefs.h
>>conftest.
$ac_ext
3133 cat >>conftest.
$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3139 $EGREP "free" >/dev
/null
2>&1; then
3142 ac_cv_header_stdc
=no
3148 if test $ac_cv_header_stdc = yes; then
3149 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3150 if test "$cross_compiling" = yes; then
3153 cat >conftest.
$ac_ext <<_ACEOF
3156 cat confdefs.h
>>conftest.
$ac_ext
3157 cat >>conftest.
$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3160 #if ((' ' & 0x0FF) == 0x020)
3161 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3162 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3164 # define ISLOWER(c) \
3165 (('a' <= (c) && (c) <= 'i') \
3166 || ('j' <= (c) && (c) <= 'r') \
3167 || ('s' <= (c) && (c) <= 'z'))
3168 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3171 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3176 for (i = 0; i < 256; i++)
3177 if (XOR (islower (i), ISLOWER (i))
3178 || toupper (i) != TOUPPER (i))
3183 rm -f conftest
$ac_exeext
3184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3185 (eval $ac_link) 2>&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; }; then
3196 echo "$as_me: program exited with status $ac_status" >&5
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.
$ac_ext >&5
3201 ac_cv_header_stdc
=no
3203 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3207 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3208 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3209 if test $ac_cv_header_stdc = yes; then
3211 cat >>confdefs.h
<<\_ACEOF
3212 #define STDC_HEADERS 1
3217 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3218 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3219 if test "${ac_cv_c_const+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 cat >conftest.
$ac_ext <<_ACEOF
3225 cat confdefs.h
>>conftest.
$ac_ext
3226 cat >>conftest.
$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3232 /* FIXME: Include the comments suggested by Paul. */
3234 /* Ultrix mips cc rejects this. */
3235 typedef int charset[2];
3237 /* SunOS 4.1.1 cc rejects this. */
3238 char const *const *ccp;
3240 /* NEC SVR4.0.2 mips cc rejects this. */
3241 struct point {int x, y;};
3242 static struct point const zero = {0,0};
3243 /* AIX XL C 1.02.0.0 rejects this.
3244 It does not let you subtract one const X* pointer from another in
3245 an arm of an if-expression whose if-part is not a constant
3247 const char *g = "string";
3248 ccp = &g + (g ? g-g : 0);
3249 /* HPUX 7.0 cc rejects these. */
3252 ccp = (char const *const *) p;
3253 { /* SCO 3.2v4 cc rejects this. */
3255 char const *s = 0 ? (char *) 0 : (char const *) 0;
3259 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3261 const int *foo = &x[0];
3264 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3265 typedef const int *iptr;
3269 { /* AIX XL C 1.02.0.0 rejects this saying
3270 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3271 struct s { int j; const int *ap[3]; };
3272 struct s *b; b->j = 5;
3274 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3283 rm -f conftest.
$ac_objext
3284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3285 (eval $ac_compile) 2>conftest.er1
3287 grep -v '^ *+' conftest.er1
>conftest.err
3289 cat conftest.err
>&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); } &&
3292 { ac_try
='test -z "$ac_c_werror_flag"
3293 || test ! -s conftest.err'
3294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }; } &&
3299 { ac_try
='test -s conftest.$ac_objext'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3307 echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.
$ac_ext >&5
3312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3314 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3315 echo "${ECHO_T}$ac_cv_c_const" >&6
3316 if test $ac_cv_c_const = no
; then
3318 cat >>confdefs.h
<<\_ACEOF
3324 echo "$as_me:$LINENO: checking for inline" >&5
3325 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3326 if test "${ac_cv_c_inline+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 for ac_kw
in inline __inline__ __inline
; do
3331 cat >conftest.
$ac_ext <<_ACEOF
3334 cat confdefs.h
>>conftest.
$ac_ext
3335 cat >>conftest.
$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3339 static $ac_kw foo_t static_foo () {return 0; }
3340 $ac_kw foo_t foo () {return 0; }
3344 rm -f conftest.
$ac_objext
3345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3346 (eval $ac_compile) 2>conftest.er1
3348 grep -v '^ *+' conftest.er1
>conftest.err
3350 cat conftest.err
>&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } &&
3353 { ac_try
='test -z "$ac_c_werror_flag"
3354 || test ! -s conftest.err'
3355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; } &&
3360 { ac_try
='test -s conftest.$ac_objext'
3361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; }; then
3366 ac_cv_c_inline
=$ac_kw; break
3368 echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.
$ac_ext >&5
3372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3376 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3377 echo "${ECHO_T}$ac_cv_c_inline" >&6
3380 case $ac_cv_c_inline in
3383 case $ac_cv_c_inline in
3385 *) ac_val
=$ac_cv_c_inline;;
3387 cat >>confdefs.h
<<_ACEOF
3389 #define inline $ac_val
3395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3405 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3406 inttypes.h stdint.h unistd.h
3408 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3409 echo "$as_me:$LINENO: checking for $ac_header" >&5
3410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 cat >conftest.
$ac_ext <<_ACEOF
3417 cat confdefs.h
>>conftest.
$ac_ext
3418 cat >>conftest.
$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3420 $ac_includes_default
3422 #include <$ac_header>
3424 rm -f conftest.
$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1
>conftest.err
3430 cat conftest.err
>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try
='test -z "$ac_c_werror_flag"
3434 || test ! -s conftest.err'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; } &&
3440 { ac_try
='test -s conftest.$ac_objext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3446 eval "$as_ac_Header=yes"
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.
$ac_ext >&5
3451 eval "$as_ac_Header=no"
3453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3458 cat >>confdefs.h
<<_ACEOF
3459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3467 echo "$as_me:$LINENO: checking for off_t" >&5
3468 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3469 if test "${ac_cv_type_off_t+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 cat >conftest.
$ac_ext <<_ACEOF
3475 cat confdefs.h
>>conftest.
$ac_ext
3476 cat >>conftest.
$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3478 $ac_includes_default
3490 rm -f conftest.
$ac_objext
3491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3492 (eval $ac_compile) 2>conftest.er1
3494 grep -v '^ *+' conftest.er1
>conftest.err
3496 cat conftest.err
>&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } &&
3499 { ac_try
='test -z "$ac_c_werror_flag"
3500 || test ! -s conftest.err'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; } &&
3506 { ac_try
='test -s conftest.$ac_objext'
3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; }; then
3512 ac_cv_type_off_t
=yes
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.
$ac_ext >&5
3519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3521 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3522 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3523 if test $ac_cv_type_off_t = yes; then
3527 cat >>confdefs.h
<<_ACEOF
3533 echo "$as_me:$LINENO: checking for size_t" >&5
3534 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3535 if test "${ac_cv_type_size_t+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 cat >conftest.
$ac_ext <<_ACEOF
3541 cat confdefs.h
>>conftest.
$ac_ext
3542 cat >>conftest.
$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 $ac_includes_default
3550 if (sizeof (size_t))
3556 rm -f conftest.
$ac_objext
3557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3558 (eval $ac_compile) 2>conftest.er1
3560 grep -v '^ *+' conftest.er1
>conftest.err
3562 cat conftest.err
>&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); } &&
3565 { ac_try
='test -z "$ac_c_werror_flag"
3566 || test ! -s conftest.err'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; } &&
3572 { ac_try
='test -s conftest.$ac_objext'
3573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; }; then
3578 ac_cv_type_size_t
=yes
3580 echo "$as_me: failed program was:" >&5
3581 sed 's/^/| /' conftest.
$ac_ext >&5
3583 ac_cv_type_size_t
=no
3585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3587 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3588 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3589 if test $ac_cv_type_size_t = yes; then
3593 cat >>confdefs.h
<<_ACEOF
3594 #define size_t unsigned
3599 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3600 # for constant arguments. Useless!
3601 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3602 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3603 if test "${ac_cv_working_alloca_h+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 cat >conftest.
$ac_ext <<_ACEOF
3609 cat confdefs.h
>>conftest.
$ac_ext
3610 cat >>conftest.
$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3616 char *p = (char *) alloca (2 * sizeof (int));
3621 rm -f conftest.
$ac_objext conftest
$ac_exeext
3622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3623 (eval $ac_link) 2>conftest.er1
3625 grep -v '^ *+' conftest.er1
>conftest.err
3627 cat conftest.err
>&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } &&
3630 { ac_try
='test -z "$ac_c_werror_flag"
3631 || test ! -s conftest.err'
3632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); }; } &&
3637 { ac_try
='test -s conftest$ac_exeext'
3638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; }; then
3643 ac_cv_working_alloca_h
=yes
3645 echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.
$ac_ext >&5
3648 ac_cv_working_alloca_h
=no
3650 rm -f conftest.err conftest.
$ac_objext \
3651 conftest
$ac_exeext conftest.
$ac_ext
3653 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3654 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3655 if test $ac_cv_working_alloca_h = yes; then
3657 cat >>confdefs.h
<<\_ACEOF
3658 #define HAVE_ALLOCA_H 1
3663 echo "$as_me:$LINENO: checking for alloca" >&5
3664 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3665 if test "${ac_cv_func_alloca_works+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 cat >conftest.
$ac_ext <<_ACEOF
3671 cat confdefs.h
>>conftest.
$ac_ext
3672 cat >>conftest.
$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3675 # define alloca __builtin_alloca
3678 # include <malloc.h>
3679 # define alloca _alloca
3682 # include <alloca.h>
3687 # ifndef alloca /* predefined by HP cc +Olibcalls */
3698 char *p = (char *) alloca (1);
3703 rm -f conftest.
$ac_objext conftest
$ac_exeext
3704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3705 (eval $ac_link) 2>conftest.er1
3707 grep -v '^ *+' conftest.er1
>conftest.err
3709 cat conftest.err
>&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } &&
3712 { ac_try
='test -z "$ac_c_werror_flag"
3713 || test ! -s conftest.err'
3714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); }; } &&
3719 { ac_try
='test -s conftest$ac_exeext'
3720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); }; }; then
3725 ac_cv_func_alloca_works
=yes
3727 echo "$as_me: failed program was:" >&5
3728 sed 's/^/| /' conftest.
$ac_ext >&5
3730 ac_cv_func_alloca_works
=no
3732 rm -f conftest.err conftest.
$ac_objext \
3733 conftest
$ac_exeext conftest.
$ac_ext
3735 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3736 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3738 if test $ac_cv_func_alloca_works = yes; then
3740 cat >>confdefs.h
<<\_ACEOF
3741 #define HAVE_ALLOCA 1
3745 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3746 # that cause trouble. Some versions do not even contain alloca or
3747 # contain a buggy version. If you still want to use their alloca,
3748 # use ar to extract alloca.o from them instead of compiling alloca.c.
3750 ALLOCA
=alloca.
$ac_objext
3752 cat >>confdefs.h
<<\_ACEOF
3757 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3758 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3759 if test "${ac_cv_os_cray+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 cat >conftest.
$ac_ext <<_ACEOF
3765 cat confdefs.h
>>conftest.
$ac_ext
3766 cat >>conftest.
$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3768 #if defined(CRAY) && ! defined(CRAY2)
3775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3776 $EGREP "webecray" >/dev
/null
2>&1; then
3784 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3785 echo "${ECHO_T}$ac_cv_os_cray" >&6
3786 if test $ac_cv_os_cray = yes; then
3787 for ac_func
in _getb67 GETB67 getb67
; do
3788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3789 echo "$as_me:$LINENO: checking for $ac_func" >&5
3790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3791 if eval "test \"\${$as_ac_var+set}\" = set"; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3794 cat >conftest.
$ac_ext <<_ACEOF
3797 cat confdefs.h
>>conftest.
$ac_ext
3798 cat >>conftest.
$ac_ext <<_ACEOF
3799 /* end confdefs.h. */
3800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3802 #define $ac_func innocuous_$ac_func
3804 /* System header to define __stub macros and hopefully few prototypes,
3805 which can conflict with char $ac_func (); below.
3806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3807 <limits.h> exists even on freestanding compilers. */
3810 # include <limits.h>
3812 # include <assert.h>
3817 /* Override any gcc2 internal prototype to avoid an error. */
3822 /* We use char because int might match the return type of a gcc2
3823 builtin and then its argument prototype would still apply. */
3825 /* The GNU C library defines this for functions which it implements
3826 to always fail with ENOSYS. Some functions are actually named
3827 something starting with __ and the normal name is an alias. */
3828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3831 char (*f) () = $ac_func;
3840 return f != $ac_func;
3845 rm -f conftest.
$ac_objext conftest
$ac_exeext
3846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3847 (eval $ac_link) 2>conftest.er1
3849 grep -v '^ *+' conftest.er1
>conftest.err
3851 cat conftest.err
>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } &&
3854 { ac_try
='test -z "$ac_c_werror_flag"
3855 || test ! -s conftest.err'
3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }; } &&
3861 { ac_try
='test -s conftest$ac_exeext'
3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; }; then
3867 eval "$as_ac_var=yes"
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.
$ac_ext >&5
3872 eval "$as_ac_var=no"
3874 rm -f conftest.err conftest.
$ac_objext \
3875 conftest
$ac_exeext conftest.
$ac_ext
3877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3879 if test `eval echo '${'$as_ac_var'}'` = yes; then
3881 cat >>confdefs.h
<<_ACEOF
3882 #define CRAY_STACKSEG_END $ac_func
3891 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3892 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3893 if test "${ac_cv_c_stack_direction+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 if test "$cross_compiling" = yes; then
3897 ac_cv_c_stack_direction
=0
3899 cat >conftest.
$ac_ext <<_ACEOF
3902 cat confdefs.h
>>conftest.
$ac_ext
3903 cat >>conftest.
$ac_ext <<_ACEOF
3904 /* end confdefs.h. */
3906 find_stack_direction ()
3908 static char *addr = 0;
3913 return find_stack_direction ();
3916 return (&dummy > addr) ? 1 : -1;
3922 exit (find_stack_direction () < 0);
3925 rm -f conftest
$ac_exeext
3926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3927 (eval $ac_link) 2>&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3936 ac_cv_c_stack_direction
=1
3938 echo "$as_me: program exited with status $ac_status" >&5
3939 echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.
$ac_ext >&5
3943 ac_cv_c_stack_direction
=-1
3945 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3948 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3949 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3951 cat >>confdefs.h
<<_ACEOF
3952 #define STACK_DIRECTION $ac_cv_c_stack_direction
3960 for ac_header
in stdlib.h unistd.h
3962 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3964 echo "$as_me:$LINENO: checking for $ac_header" >&5
3965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3972 # Is the header compilable?
3973 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3975 cat >conftest.
$ac_ext <<_ACEOF
3978 cat confdefs.h
>>conftest.
$ac_ext
3979 cat >>conftest.
$ac_ext <<_ACEOF
3980 /* end confdefs.h. */
3981 $ac_includes_default
3982 #include <$ac_header>
3984 rm -f conftest.
$ac_objext
3985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3986 (eval $ac_compile) 2>conftest.er1
3988 grep -v '^ *+' conftest.er1
>conftest.err
3990 cat conftest.err
>&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } &&
3993 { ac_try
='test -z "$ac_c_werror_flag"
3994 || test ! -s conftest.err'
3995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); }; } &&
4000 { ac_try
='test -s conftest.$ac_objext'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; }; then
4006 ac_header_compiler
=yes
4008 echo "$as_me: failed program was:" >&5
4009 sed 's/^/| /' conftest.
$ac_ext >&5
4011 ac_header_compiler
=no
4013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4015 echo "${ECHO_T}$ac_header_compiler" >&6
4017 # Is the header present?
4018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4020 cat >conftest.
$ac_ext <<_ACEOF
4023 cat confdefs.h
>>conftest.
$ac_ext
4024 cat >>conftest.
$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4026 #include <$ac_header>
4028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4031 grep -v '^ *+' conftest.er1
>conftest.err
4033 cat conftest.err
>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } >/dev
/null
; then
4036 if test -s conftest.err
; then
4037 ac_cpp_err
=$ac_c_preproc_warn_flag
4038 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4045 if test -z "$ac_cpp_err"; then
4046 ac_header_preproc
=yes
4048 echo "$as_me: failed program was:" >&5
4049 sed 's/^/| /' conftest.
$ac_ext >&5
4051 ac_header_preproc
=no
4053 rm -f conftest.err conftest.
$ac_ext
4054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4055 echo "${ECHO_T}$ac_header_preproc" >&6
4057 # So? What about this header?
4058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4064 ac_header_preproc
=yes
4067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4081 ## ------------------------------------------ ##
4082 ## Report this to the AC_PACKAGE_NAME lists. ##
4083 ## ------------------------------------------ ##
4086 sed "s/^/$as_me: WARNING: /" >&2
4089 echo "$as_me:$LINENO: checking for $ac_header" >&5
4090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 eval "$as_ac_Header=\$ac_header_preproc"
4096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4101 cat >>confdefs.h
<<_ACEOF
4102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4110 for ac_func
in getpagesize
4112 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4113 echo "$as_me:$LINENO: checking for $ac_func" >&5
4114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4115 if eval "test \"\${$as_ac_var+set}\" = set"; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 cat >conftest.
$ac_ext <<_ACEOF
4121 cat confdefs.h
>>conftest.
$ac_ext
4122 cat >>conftest.
$ac_ext <<_ACEOF
4123 /* end confdefs.h. */
4124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4126 #define $ac_func innocuous_$ac_func
4128 /* System header to define __stub macros and hopefully few prototypes,
4129 which can conflict with char $ac_func (); below.
4130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4131 <limits.h> exists even on freestanding compilers. */
4134 # include <limits.h>
4136 # include <assert.h>
4141 /* Override any gcc2 internal prototype to avoid an error. */
4146 /* We use char because int might match the return type of a gcc2
4147 builtin and then its argument prototype would still apply. */
4149 /* The GNU C library defines this for functions which it implements
4150 to always fail with ENOSYS. Some functions are actually named
4151 something starting with __ and the normal name is an alias. */
4152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4155 char (*f) () = $ac_func;
4164 return f != $ac_func;
4169 rm -f conftest.
$ac_objext conftest
$ac_exeext
4170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4171 (eval $ac_link) 2>conftest.er1
4173 grep -v '^ *+' conftest.er1
>conftest.err
4175 cat conftest.err
>&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); } &&
4178 { ac_try
='test -z "$ac_c_werror_flag"
4179 || test ! -s conftest.err'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; } &&
4185 { ac_try
='test -s conftest$ac_exeext'
4186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; }; then
4191 eval "$as_ac_var=yes"
4193 echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.
$ac_ext >&5
4196 eval "$as_ac_var=no"
4198 rm -f conftest.err conftest.
$ac_objext \
4199 conftest
$ac_exeext conftest.
$ac_ext
4201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4203 if test `eval echo '${'$as_ac_var'}'` = yes; then
4204 cat >>confdefs.h
<<_ACEOF
4205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4211 echo "$as_me:$LINENO: checking for working mmap" >&5
4212 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4213 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 if test "$cross_compiling" = yes; then
4217 ac_cv_func_mmap_fixed_mapped
=no
4219 cat >conftest.
$ac_ext <<_ACEOF
4222 cat confdefs.h
>>conftest.
$ac_ext
4223 cat >>conftest.
$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4225 $ac_includes_default
4226 /* malloc might have been renamed as rpl_malloc. */
4229 /* Thanks to Mike Haertel and Jim Avera for this test.
4230 Here is a matrix of mmap possibilities:
4231 mmap private not fixed
4232 mmap private fixed at somewhere currently unmapped
4233 mmap private fixed at somewhere already mapped
4234 mmap shared not fixed
4235 mmap shared fixed at somewhere currently unmapped
4236 mmap shared fixed at somewhere already mapped
4237 For private mappings, we should verify that changes cannot be read()
4238 back from the file, nor mmap's back from the file at a different
4239 address. (There have been systems where private was not correctly
4240 implemented like the infamous i386 svr4.0, and systems where the
4241 VM page cache was not coherent with the file system buffer cache
4242 like early versions of FreeBSD and possibly contemporary NetBSD.)
4243 For shared mappings, we should conversely verify that changes get
4244 propagated back to all the places they're supposed to be.
4246 Grep wants private fixed already mapped.
4247 The main things grep needs to know about mmap are:
4248 * does it exist and is it safe to write into the mmap'd area
4249 * how to use it (BSD variants) */
4252 #include <sys/mman.h>
4254 #if !STDC_HEADERS && !HAVE_STDLIB_H
4258 /* This mess was copied from the GNU getpagesize.h. */
4259 #if !HAVE_GETPAGESIZE
4260 /* Assume that all systems that can run configure have sys/param.h. */
4261 # if !HAVE_SYS_PARAM_H
4262 # define HAVE_SYS_PARAM_H 1
4265 # ifdef _SC_PAGESIZE
4266 # define getpagesize() sysconf(_SC_PAGESIZE)
4267 # else /* no _SC_PAGESIZE */
4268 # if HAVE_SYS_PARAM_H
4269 # include <sys/param.h>
4270 # ifdef EXEC_PAGESIZE
4271 # define getpagesize() EXEC_PAGESIZE
4272 # else /* no EXEC_PAGESIZE */
4274 # define getpagesize() NBPG * CLSIZE
4277 # endif /* no CLSIZE */
4278 # else /* no NBPG */
4280 # define getpagesize() NBPC
4281 # else /* no NBPC */
4283 # define getpagesize() PAGESIZE
4284 # endif /* PAGESIZE */
4285 # endif /* no NBPC */
4286 # endif /* no NBPG */
4287 # endif /* no EXEC_PAGESIZE */
4288 # else /* no HAVE_SYS_PARAM_H */
4289 # define getpagesize() 8192 /* punt totally */
4290 # endif /* no HAVE_SYS_PARAM_H */
4291 # endif /* no _SC_PAGESIZE */
4293 #endif /* no HAVE_GETPAGESIZE */
4298 char *data, *data2, *data3;
4302 pagesize = getpagesize ();
4304 /* First, make a file with some known garbage in it. */
4305 data = (char *) malloc (pagesize);
4308 for (i = 0; i < pagesize; ++i)
4309 *(data + i) = rand ();
4311 fd = creat ("conftest.mmap", 0600);
4314 if (write (fd, data, pagesize) != pagesize)
4318 /* Next, try to mmap the file at a fixed address which already has
4319 something else allocated at it. If we can, also make sure that
4320 we see the same garbage. */
4321 fd = open ("conftest.mmap", O_RDWR);
4324 data2 = (char *) malloc (2 * pagesize);
4327 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4328 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4329 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4331 for (i = 0; i < pagesize; ++i)
4332 if (*(data + i) != *(data2 + i))
4335 /* Finally, make sure that changes to the mapped area do not
4336 percolate back to the file as seen by read(). (This is a bug on
4337 some variants of i386 svr4.0.) */
4338 for (i = 0; i < pagesize; ++i)
4339 *(data2 + i) = *(data2 + i) + 1;
4340 data3 = (char *) malloc (pagesize);
4343 if (read (fd, data3, pagesize) != pagesize)
4345 for (i = 0; i < pagesize; ++i)
4346 if (*(data + i) != *(data3 + i))
4352 rm -f conftest
$ac_exeext
4353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4354 (eval $ac_link) 2>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); }; }; then
4363 ac_cv_func_mmap_fixed_mapped
=yes
4365 echo "$as_me: program exited with status $ac_status" >&5
4366 echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.
$ac_ext >&5
4370 ac_cv_func_mmap_fixed_mapped
=no
4372 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4375 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4376 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4377 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4379 cat >>confdefs.h
<<\_ACEOF
4396 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4397 unistd.h values.h sys
/param.h
4399 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4401 echo "$as_me:$LINENO: checking for $ac_header" >&5
4402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4409 # Is the header compilable?
4410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4412 cat >conftest.
$ac_ext <<_ACEOF
4415 cat confdefs.h
>>conftest.
$ac_ext
4416 cat >>conftest.
$ac_ext <<_ACEOF
4417 /* end confdefs.h. */
4418 $ac_includes_default
4419 #include <$ac_header>
4421 rm -f conftest.
$ac_objext
4422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4423 (eval $ac_compile) 2>conftest.er1
4425 grep -v '^ *+' conftest.er1
>conftest.err
4427 cat conftest.err
>&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } &&
4430 { ac_try
='test -z "$ac_c_werror_flag"
4431 || test ! -s conftest.err'
4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; } &&
4437 { ac_try
='test -s conftest.$ac_objext'
4438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; }; then
4443 ac_header_compiler
=yes
4445 echo "$as_me: failed program was:" >&5
4446 sed 's/^/| /' conftest.
$ac_ext >&5
4448 ac_header_compiler
=no
4450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4452 echo "${ECHO_T}$ac_header_compiler" >&6
4454 # Is the header present?
4455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4457 cat >conftest.
$ac_ext <<_ACEOF
4460 cat confdefs.h
>>conftest.
$ac_ext
4461 cat >>conftest.
$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4463 #include <$ac_header>
4465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4468 grep -v '^ *+' conftest.er1
>conftest.err
4470 cat conftest.err
>&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); } >/dev
/null
; then
4473 if test -s conftest.err
; then
4474 ac_cpp_err
=$ac_c_preproc_warn_flag
4475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4482 if test -z "$ac_cpp_err"; then
4483 ac_header_preproc
=yes
4485 echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.
$ac_ext >&5
4488 ac_header_preproc
=no
4490 rm -f conftest.err conftest.
$ac_ext
4491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4492 echo "${ECHO_T}$ac_header_preproc" >&6
4494 # So? What about this header?
4495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4501 ac_header_preproc
=yes
4504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4518 ## ------------------------------------------ ##
4519 ## Report this to the AC_PACKAGE_NAME lists. ##
4520 ## ------------------------------------------ ##
4523 sed "s/^/$as_me: WARNING: /" >&2
4526 echo "$as_me:$LINENO: checking for $ac_header" >&5
4527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6
4531 eval "$as_ac_Header=\$ac_header_preproc"
4533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4538 cat >>confdefs.h
<<_ACEOF
4539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4556 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4557 __argz_count __argz_stringify __argz_next
4559 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4560 echo "$as_me:$LINENO: checking for $ac_func" >&5
4561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4562 if eval "test \"\${$as_ac_var+set}\" = set"; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 cat >conftest.
$ac_ext <<_ACEOF
4568 cat confdefs.h
>>conftest.
$ac_ext
4569 cat >>conftest.
$ac_ext <<_ACEOF
4570 /* end confdefs.h. */
4571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4573 #define $ac_func innocuous_$ac_func
4575 /* System header to define __stub macros and hopefully few prototypes,
4576 which can conflict with char $ac_func (); below.
4577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4578 <limits.h> exists even on freestanding compilers. */
4581 # include <limits.h>
4583 # include <assert.h>
4588 /* Override any gcc2 internal prototype to avoid an error. */
4593 /* We use char because int might match the return type of a gcc2
4594 builtin and then its argument prototype would still apply. */
4596 /* The GNU C library defines this for functions which it implements
4597 to always fail with ENOSYS. Some functions are actually named
4598 something starting with __ and the normal name is an alias. */
4599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4602 char (*f) () = $ac_func;
4611 return f != $ac_func;
4616 rm -f conftest.
$ac_objext conftest
$ac_exeext
4617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4618 (eval $ac_link) 2>conftest.er1
4620 grep -v '^ *+' conftest.er1
>conftest.err
4622 cat conftest.err
>&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); } &&
4625 { ac_try
='test -z "$ac_c_werror_flag"
4626 || test ! -s conftest.err'
4627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); }; } &&
4632 { ac_try
='test -s conftest$ac_exeext'
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; }; then
4638 eval "$as_ac_var=yes"
4640 echo "$as_me: failed program was:" >&5
4641 sed 's/^/| /' conftest.
$ac_ext >&5
4643 eval "$as_ac_var=no"
4645 rm -f conftest.err conftest.
$ac_objext \
4646 conftest
$ac_exeext conftest.
$ac_ext
4648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4650 if test `eval echo '${'$as_ac_var'}'` = yes; then
4651 cat >>confdefs.h
<<_ACEOF
4652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4659 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4661 for ac_func
in stpcpy
4663 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4664 echo "$as_me:$LINENO: checking for $ac_func" >&5
4665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4666 if eval "test \"\${$as_ac_var+set}\" = set"; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 cat >conftest.
$ac_ext <<_ACEOF
4672 cat confdefs.h
>>conftest.
$ac_ext
4673 cat >>conftest.
$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4677 #define $ac_func innocuous_$ac_func
4679 /* System header to define __stub macros and hopefully few prototypes,
4680 which can conflict with char $ac_func (); below.
4681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4682 <limits.h> exists even on freestanding compilers. */
4685 # include <limits.h>
4687 # include <assert.h>
4692 /* Override any gcc2 internal prototype to avoid an error. */
4697 /* We use char because int might match the return type of a gcc2
4698 builtin and then its argument prototype would still apply. */
4700 /* The GNU C library defines this for functions which it implements
4701 to always fail with ENOSYS. Some functions are actually named
4702 something starting with __ and the normal name is an alias. */
4703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4706 char (*f) () = $ac_func;
4715 return f != $ac_func;
4720 rm -f conftest.
$ac_objext conftest
$ac_exeext
4721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4722 (eval $ac_link) 2>conftest.er1
4724 grep -v '^ *+' conftest.er1
>conftest.err
4726 cat conftest.err
>&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } &&
4729 { ac_try
='test -z "$ac_c_werror_flag"
4730 || test ! -s conftest.err'
4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try
='test -s conftest$ac_exeext'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; }; then
4742 eval "$as_ac_var=yes"
4744 echo "$as_me: failed program was:" >&5
4745 sed 's/^/| /' conftest.
$ac_ext >&5
4747 eval "$as_ac_var=no"
4749 rm -f conftest.err conftest.
$ac_objext \
4750 conftest
$ac_exeext conftest.
$ac_ext
4752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4754 if test `eval echo '${'$as_ac_var'}'` = yes; then
4755 cat >>confdefs.h
<<_ACEOF
4756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4763 if test "${ac_cv_func_stpcpy}" = "yes"; then
4765 cat >>confdefs.h
<<\_ACEOF
4766 #define HAVE_STPCPY 1
4771 if test $ac_cv_header_locale_h = yes; then
4772 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4773 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4774 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 cat >conftest.
$ac_ext <<_ACEOF
4780 cat confdefs.h
>>conftest.
$ac_ext
4781 cat >>conftest.
$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4792 rm -f conftest.
$ac_objext conftest
$ac_exeext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4794 (eval $ac_link) 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try
='test -z "$ac_c_werror_flag"
4802 || test ! -s conftest.err'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; } &&
4808 { ac_try
='test -s conftest$ac_exeext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4814 am_cv_val_LC_MESSAGES
=yes
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4819 am_cv_val_LC_MESSAGES
=no
4821 rm -f conftest.err conftest.
$ac_objext \
4822 conftest
$ac_exeext conftest.
$ac_ext
4824 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4825 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4826 if test $am_cv_val_LC_MESSAGES = yes; then
4828 cat >>confdefs.h
<<\_ACEOF
4829 #define HAVE_LC_MESSAGES 1
4834 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4835 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4836 # Check whether --enable-nls or --disable-nls was given.
4837 if test "${enable_nls+set}" = set; then
4838 enableval
="$enable_nls"
4843 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4844 echo "${ECHO_T}$USE_NLS" >&6
4847 USE_INCLUDED_LIBINTL
=no
4849 if test "$USE_NLS" = "yes"; then
4850 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4851 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4853 # Check whether --with-included-gettext or --without-included-gettext was given.
4854 if test "${with_included_gettext+set}" = set; then
4855 withval
="$with_included_gettext"
4856 nls_cv_force_use_gnu_gettext
=$withval
4858 nls_cv_force_use_gnu_gettext
=no
4860 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4861 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4863 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4864 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4866 nls_cv_header_libgt
=
4869 if test "${ac_cv_header_libintl_h+set}" = set; then
4870 echo "$as_me:$LINENO: checking for libintl.h" >&5
4871 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4872 if test "${ac_cv_header_libintl_h+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4876 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4878 # Is the header compilable?
4879 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4880 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4881 cat >conftest.
$ac_ext <<_ACEOF
4884 cat confdefs.h
>>conftest.
$ac_ext
4885 cat >>conftest.
$ac_ext <<_ACEOF
4886 /* end confdefs.h. */
4887 $ac_includes_default
4888 #include <libintl.h>
4890 rm -f conftest.
$ac_objext
4891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4892 (eval $ac_compile) 2>conftest.er1
4894 grep -v '^ *+' conftest.er1
>conftest.err
4896 cat conftest.err
>&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); } &&
4899 { ac_try
='test -z "$ac_c_werror_flag"
4900 || test ! -s conftest.err'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; } &&
4906 { ac_try
='test -s conftest.$ac_objext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4912 ac_header_compiler
=yes
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.
$ac_ext >&5
4917 ac_header_compiler
=no
4919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4921 echo "${ECHO_T}$ac_header_compiler" >&6
4923 # Is the header present?
4924 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4925 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4926 cat >conftest.
$ac_ext <<_ACEOF
4929 cat confdefs.h
>>conftest.
$ac_ext
4930 cat >>conftest.
$ac_ext <<_ACEOF
4931 /* end confdefs.h. */
4932 #include <libintl.h>
4934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4937 grep -v '^ *+' conftest.er1
>conftest.err
4939 cat conftest.err
>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } >/dev
/null
; then
4942 if test -s conftest.err
; then
4943 ac_cpp_err
=$ac_c_preproc_warn_flag
4944 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4951 if test -z "$ac_cpp_err"; then
4952 ac_header_preproc
=yes
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.
$ac_ext >&5
4957 ac_header_preproc
=no
4959 rm -f conftest.err conftest.
$ac_ext
4960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4961 echo "${ECHO_T}$ac_header_preproc" >&6
4963 # So? What about this header?
4964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4966 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4967 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4968 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4969 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4970 ac_header_preproc
=yes
4973 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4974 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4975 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4976 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4977 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4978 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4979 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4980 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4981 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4982 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4983 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4984 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4987 ## ------------------------------------------ ##
4988 ## Report this to the AC_PACKAGE_NAME lists. ##
4989 ## ------------------------------------------ ##
4992 sed "s/^/$as_me: WARNING: /" >&2
4995 echo "$as_me:$LINENO: checking for libintl.h" >&5
4996 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4997 if test "${ac_cv_header_libintl_h+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 ac_cv_header_libintl_h
=$ac_header_preproc
5002 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5003 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
5006 if test $ac_cv_header_libintl_h = yes; then
5007 echo "$as_me:$LINENO: checking for gettext in libc" >&5
5008 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
5009 if test "${gt_cv_func_gettext_libc+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 cat >conftest.
$ac_ext <<_ACEOF
5015 cat confdefs.h
>>conftest.
$ac_ext
5016 cat >>conftest.
$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5018 #include <libintl.h>
5022 return (int) gettext ("")
5027 rm -f conftest.
$ac_objext conftest
$ac_exeext
5028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5029 (eval $ac_link) 2>conftest.er1
5031 grep -v '^ *+' conftest.er1
>conftest.err
5033 cat conftest.err
>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try
='test -z "$ac_c_werror_flag"
5037 || test ! -s conftest.err'
5038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); }; } &&
5043 { ac_try
='test -s conftest$ac_exeext'
5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; }; then
5049 gt_cv_func_gettext_libc
=yes
5051 echo "$as_me: failed program was:" >&5
5052 sed 's/^/| /' conftest.
$ac_ext >&5
5054 gt_cv_func_gettext_libc
=no
5056 rm -f conftest.err conftest.
$ac_objext \
5057 conftest
$ac_exeext conftest.
$ac_ext
5059 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
5060 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
5062 if test "$gt_cv_func_gettext_libc" != "yes"; then
5063 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5064 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
5065 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 ac_check_lib_save_LIBS
=$LIBS
5070 cat >conftest.
$ac_ext <<_ACEOF
5073 cat confdefs.h
>>conftest.
$ac_ext
5074 cat >>conftest.
$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5077 /* Override any gcc2 internal prototype to avoid an error. */
5081 /* We use char because int might match the return type of a gcc2
5082 builtin and then its argument prototype would still apply. */
5083 char bindtextdomain ();
5092 rm -f conftest.
$ac_objext conftest
$ac_exeext
5093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5094 (eval $ac_link) 2>conftest.er1
5096 grep -v '^ *+' conftest.er1
>conftest.err
5098 cat conftest.err
>&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } &&
5101 { ac_try
='test -z "$ac_c_werror_flag"
5102 || test ! -s conftest.err'
5103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); }; } &&
5108 { ac_try
='test -s conftest$ac_exeext'
5109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); }; }; then
5114 ac_cv_lib_intl_bindtextdomain
=yes
5116 echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.
$ac_ext >&5
5119 ac_cv_lib_intl_bindtextdomain
=no
5121 rm -f conftest.err conftest.
$ac_objext \
5122 conftest
$ac_exeext conftest.
$ac_ext
5123 LIBS
=$ac_check_lib_save_LIBS
5125 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5126 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5127 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5128 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5129 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5130 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5131 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 cat >conftest.
$ac_ext <<_ACEOF
5136 cat confdefs.h
>>conftest.
$ac_ext
5137 cat >>conftest.
$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5143 return (int) gettext ("")
5148 rm -f conftest.
$ac_objext conftest
$ac_exeext
5149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5150 (eval $ac_link) 2>conftest.er1
5152 grep -v '^ *+' conftest.er1
>conftest.err
5154 cat conftest.err
>&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); } &&
5157 { ac_try
='test -z "$ac_c_werror_flag"
5158 || test ! -s conftest.err'
5159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); }; } &&
5164 { ac_try
='test -s conftest$ac_exeext'
5165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); }; }; then
5170 gt_cv_func_gettext_libintl
=yes
5172 echo "$as_me: failed program was:" >&5
5173 sed 's/^/| /' conftest.
$ac_ext >&5
5175 gt_cv_func_gettext_libintl
=no
5177 rm -f conftest.err conftest.
$ac_objext \
5178 conftest
$ac_exeext conftest.
$ac_ext
5180 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5181 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5186 if test "$gt_cv_func_gettext_libc" = "yes" \
5187 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5189 cat >>confdefs.h
<<\_ACEOF
5190 #define HAVE_GETTEXT 1
5193 # Extract the first word of "msgfmt", so it can be a program name with args.
5194 set dummy msgfmt
; ac_word
=$2
5195 echo "$as_me:$LINENO: checking for $ac_word" >&5
5196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5197 if test "${ac_cv_path_MSGFMT+set}" = set; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5202 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5205 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5206 for ac_dir
in $PATH; do
5207 test -z "$ac_dir" && ac_dir
=.
5208 if test -f $ac_dir/$ac_word; then
5209 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5210 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5216 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5220 MSGFMT
="$ac_cv_path_MSGFMT"
5221 if test -n "$MSGFMT"; then
5222 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5223 echo "${ECHO_T}$MSGFMT" >&6
5225 echo "$as_me:$LINENO: result: no" >&5
5226 echo "${ECHO_T}no" >&6
5228 if test "$MSGFMT" != "no"; then
5230 for ac_func
in dcgettext
5232 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5233 echo "$as_me:$LINENO: checking for $ac_func" >&5
5234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5235 if eval "test \"\${$as_ac_var+set}\" = set"; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 cat >conftest.
$ac_ext <<_ACEOF
5241 cat confdefs.h
>>conftest.
$ac_ext
5242 cat >>conftest.
$ac_ext <<_ACEOF
5243 /* end confdefs.h. */
5244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5246 #define $ac_func innocuous_$ac_func
5248 /* System header to define __stub macros and hopefully few prototypes,
5249 which can conflict with char $ac_func (); below.
5250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5251 <limits.h> exists even on freestanding compilers. */
5254 # include <limits.h>
5256 # include <assert.h>
5261 /* Override any gcc2 internal prototype to avoid an error. */
5266 /* We use char because int might match the return type of a gcc2
5267 builtin and then its argument prototype would still apply. */
5269 /* The GNU C library defines this for functions which it implements
5270 to always fail with ENOSYS. Some functions are actually named
5271 something starting with __ and the normal name is an alias. */
5272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5275 char (*f) () = $ac_func;
5284 return f != $ac_func;
5289 rm -f conftest.
$ac_objext conftest
$ac_exeext
5290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5291 (eval $ac_link) 2>conftest.er1
5293 grep -v '^ *+' conftest.er1
>conftest.err
5295 cat conftest.err
>&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); } &&
5298 { ac_try
='test -z "$ac_c_werror_flag"
5299 || test ! -s conftest.err'
5300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); }; } &&
5305 { ac_try
='test -s conftest$ac_exeext'
5306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); }; }; then
5311 eval "$as_ac_var=yes"
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.
$ac_ext >&5
5316 eval "$as_ac_var=no"
5318 rm -f conftest.err conftest.
$ac_objext \
5319 conftest
$ac_exeext conftest.
$ac_ext
5321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5323 if test `eval echo '${'$as_ac_var'}'` = yes; then
5324 cat >>confdefs.h
<<_ACEOF
5325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5331 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5332 set dummy gmsgfmt
; ac_word
=$2
5333 echo "$as_me:$LINENO: checking for $ac_word" >&5
5334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5335 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir
=.
5348 for ac_exec_ext
in '' $ac_executable_extensions; do
5349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5350 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5361 GMSGFMT
=$ac_cv_path_GMSGFMT
5363 if test -n "$GMSGFMT"; then
5364 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5365 echo "${ECHO_T}$GMSGFMT" >&6
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5371 # Extract the first word of "xgettext", so it can be a program name with args.
5372 set dummy xgettext
; ac_word
=$2
5373 echo "$as_me:$LINENO: checking for $ac_word" >&5
5374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5375 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5380 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5383 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5384 for ac_dir
in $PATH; do
5385 test -z "$ac_dir" && ac_dir
=.
5386 if test -f $ac_dir/$ac_word; then
5387 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5388 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5394 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5398 XGETTEXT
="$ac_cv_path_XGETTEXT"
5399 if test -n "$XGETTEXT"; then
5400 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5401 echo "${ECHO_T}$XGETTEXT" >&6
5403 echo "$as_me:$LINENO: result: no" >&5
5404 echo "${ECHO_T}no" >&6
5407 cat >conftest.
$ac_ext <<_ACEOF
5410 cat confdefs.h
>>conftest.
$ac_ext
5411 cat >>conftest.
$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5417 extern int _nl_msg_cat_cntr;
5418 return _nl_msg_cat_cntr
5423 rm -f conftest.
$ac_objext conftest
$ac_exeext
5424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5425 (eval $ac_link) 2>conftest.er1
5427 grep -v '^ *+' conftest.er1
>conftest.err
5429 cat conftest.err
>&5
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); } &&
5432 { ac_try
='test -z "$ac_c_werror_flag"
5433 || test ! -s conftest.err'
5434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); }; } &&
5439 { ac_try
='test -s conftest$ac_exeext'
5440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; }; then
5448 echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.
$ac_ext >&5
5454 rm -f conftest.err conftest.
$ac_objext \
5455 conftest
$ac_exeext conftest.
$ac_ext
5465 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
5466 # Neither gettext nor catgets in included in the C library.
5467 # Fall back on GNU gettext library (assuming it is present).
5468 nls_cv_use_gnu_gettext
=yes
5472 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5473 INTLOBJS
="\$(GETTOBJS)"
5474 # Extract the first word of "msgfmt", so it can be a program name with args.
5475 set dummy msgfmt
; ac_word
=$2
5476 echo "$as_me:$LINENO: checking for $ac_word" >&5
5477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5478 if test "${ac_cv_path_MSGFMT+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5483 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5486 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5487 for ac_dir
in $PATH; do
5488 test -z "$ac_dir" && ac_dir
=.
5489 if test -f $ac_dir/$ac_word; then
5490 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5491 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5497 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5501 MSGFMT
="$ac_cv_path_MSGFMT"
5502 if test -n "$MSGFMT"; then
5503 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5504 echo "${ECHO_T}$MSGFMT" >&6
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5510 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5511 set dummy gmsgfmt
; ac_word
=$2
5512 echo "$as_me:$LINENO: checking for $ac_word" >&5
5513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5514 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5519 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir
=.
5527 for ac_exec_ext
in '' $ac_executable_extensions; do
5528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5540 GMSGFMT
=$ac_cv_path_GMSGFMT
5542 if test -n "$GMSGFMT"; then
5543 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5544 echo "${ECHO_T}$GMSGFMT" >&6
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5550 # Extract the first word of "xgettext", so it can be a program name with args.
5551 set dummy xgettext
; ac_word
=$2
5552 echo "$as_me:$LINENO: checking for $ac_word" >&5
5553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5554 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5559 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5562 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5563 for ac_dir
in $PATH; do
5564 test -z "$ac_dir" && ac_dir
=.
5565 if test -f $ac_dir/$ac_word; then
5566 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5567 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5573 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5577 XGETTEXT
="$ac_cv_path_XGETTEXT"
5578 if test -n "$XGETTEXT"; then
5579 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5580 echo "${ECHO_T}$XGETTEXT" >&6
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5587 USE_INCLUDED_LIBINTL
=yes
5591 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5593 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5594 nls_cv_header_intl
=libintl.h
5595 nls_cv_header_libgt
=libgettext.h
5598 if test "$XGETTEXT" != ":"; then
5599 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5602 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5603 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5608 # We need to process the po/ directory.
5612 nls_cv_header_intl
=libintl.h
5613 nls_cv_header_libgt
=libgettext.h
5616 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5617 # because some of the sources are only built for this goal.
5618 if test "$PACKAGE" = gettext; then
5620 USE_INCLUDED_LIBINTL
=yes
5623 for lang
in $ALL_LINGUAS; do
5624 GMOFILES
="$GMOFILES $lang.gmo"
5625 POFILES
="$POFILES $lang.po"
5639 if test "x$CATOBJEXT" != "x"; then
5641 cat >>confdefs.h
<<\_ACEOF
5642 #define ENABLE_NLS 1
5648 if test "x$CATOBJEXT" != "x"; then
5649 if test "x$ALL_LINGUAS" = "x"; then
5652 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5653 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5655 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5656 case "$ALL_LINGUAS" in
5657 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5660 LINGUAS
=$NEW_LINGUAS
5661 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5662 echo "${ECHO_T}$LINGUAS" >&6
5665 if test -n "$LINGUAS"; then
5666 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5670 if test $ac_cv_header_locale_h = yes; then
5671 INCLUDE_LOCALE_H
="#include <locale.h>"
5674 /* The system does not provide the header <locale.h>. Take care yourself. */"
5678 if test -f $srcdir/po2tbl.
sed.
in; then
5679 if test "$CATOBJEXT" = ".cat"; then
5680 if test "${ac_cv_header_linux_version_h+set}" = set; then
5681 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5682 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5683 if test "${ac_cv_header_linux_version_h+set}" = set; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5687 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5689 # Is the header compilable?
5690 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5691 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5692 cat >conftest.
$ac_ext <<_ACEOF
5695 cat confdefs.h
>>conftest.
$ac_ext
5696 cat >>conftest.
$ac_ext <<_ACEOF
5697 /* end confdefs.h. */
5698 $ac_includes_default
5699 #include <linux/version.h>
5701 rm -f conftest.
$ac_objext
5702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5703 (eval $ac_compile) 2>conftest.er1
5705 grep -v '^ *+' conftest.er1
>conftest.err
5707 cat conftest.err
>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); } &&
5710 { ac_try
='test -z "$ac_c_werror_flag"
5711 || test ! -s conftest.err'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; } &&
5717 { ac_try
='test -s conftest.$ac_objext'
5718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); }; }; then
5723 ac_header_compiler
=yes
5725 echo "$as_me: failed program was:" >&5
5726 sed 's/^/| /' conftest.
$ac_ext >&5
5728 ac_header_compiler
=no
5730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5732 echo "${ECHO_T}$ac_header_compiler" >&6
5734 # Is the header present?
5735 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5736 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5737 cat >conftest.
$ac_ext <<_ACEOF
5740 cat confdefs.h
>>conftest.
$ac_ext
5741 cat >>conftest.
$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5743 #include <linux/version.h>
5745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5746 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5748 grep -v '^ *+' conftest.er1
>conftest.err
5750 cat conftest.err
>&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); } >/dev
/null
; then
5753 if test -s conftest.err
; then
5754 ac_cpp_err
=$ac_c_preproc_warn_flag
5755 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5762 if test -z "$ac_cpp_err"; then
5763 ac_header_preproc
=yes
5765 echo "$as_me: failed program was:" >&5
5766 sed 's/^/| /' conftest.
$ac_ext >&5
5768 ac_header_preproc
=no
5770 rm -f conftest.err conftest.
$ac_ext
5771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5772 echo "${ECHO_T}$ac_header_preproc" >&6
5774 # So? What about this header?
5775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5777 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5778 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5779 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5780 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5781 ac_header_preproc
=yes
5784 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5785 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5786 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5787 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5788 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5789 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5790 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5791 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5792 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5793 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5794 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5795 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5798 ## ------------------------------------------ ##
5799 ## Report this to the AC_PACKAGE_NAME lists. ##
5800 ## ------------------------------------------ ##
5803 sed "s/^/$as_me: WARNING: /" >&2
5806 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5807 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5808 if test "${ac_cv_header_linux_version_h+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 ac_cv_header_linux_version_h
=$ac_header_preproc
5813 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5814 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5817 if test $ac_cv_header_linux_version_h = yes; then
5825 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5827 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5828 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5831 if test "$PACKAGE" = "gettext"; then
5841 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5847 if test -f $srcdir/po
/POTFILES.
in; then
5848 test -d po || mkdir po
5849 if test "x$srcdir" != "x."; then
5850 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5851 posrcprefix
="$srcdir/"
5853 posrcprefix
="../$srcdir/"
5859 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5860 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5864 localedir
='${datadir}/locale'
5867 if test "x$POSUB" != x
; then
5869 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5870 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5871 # Look for .po and .gmo files in the source directory.
5874 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5875 # If there aren't any .gmo files the shell will give us the
5876 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5878 case "$cat" in *\
**)
5881 # The quadruple backslash is collapsed to a double backslash
5882 # by the backticks, then collapsed again by the double quotes,
5883 # leaving us with one backslash in the sed expression (right
5884 # before the dot that mustn't act as a wildcard).
5885 cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"`
5886 lang
=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"`
5887 # The user is allowed to set LINGUAS to a list of languages to
5888 # install catalogs for. If it's empty that means "all of them."
5889 if test "x$LINGUAS" = x
; then
5890 CATALOGS
="$CATALOGS $cat"
5891 XLINGUAS
="$XLINGUAS $lang"
5893 case "$LINGUAS" in *$lang*)
5894 CATALOGS
="$CATALOGS $cat"
5895 XLINGUAS
="$XLINGUAS $lang"
5901 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5902 echo "${ECHO_T}$LINGUAS" >&6
5904 CONFIG_ALL
="$CONFIG_ALL all-po"
5905 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
5906 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
5907 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
5912 cat >>confdefs.h
<<_ACEOF
5913 #define PACKAGE "$PACKAGE"
5918 debugdir
=${libdir}/debug
5921 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
5922 if test "${with_separate_debug_dir+set}" = set; then
5923 withval
="$with_separate_debug_dir"
5924 debugdir
="${withval}"
5928 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
5929 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5930 ac_define_dir
=`eval echo $debugdir`
5931 ac_define_dir
=`eval echo $ac_define_dir`
5933 cat >>confdefs.h
<<_ACEOF
5934 #define DEBUGDIR "$ac_define_dir"
5938 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
5942 subdirs
="$subdirs doc testsuite"
5945 # Provide defaults for some variables set by the per-host and per-target
5947 gdb_host_obs
=posix-hdep.o
5949 .
$srcdir/configure.
host
5951 .
$srcdir/configure.tgt
5953 # Fetch the default architecture and default target vector from BFD.
5954 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
5956 # We only want the first architecture, so strip off the others if
5957 # there is more than one.
5958 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
5960 if test "x$targ_archs" != x
; then
5962 cat >>confdefs.h
<<_ACEOF
5963 #define DEFAULT_BFD_ARCH $targ_archs
5967 if test "x$targ_defvec" != x
; then
5969 cat >>confdefs.h
<<_ACEOF
5970 #define DEFAULT_BFD_VEC $targ_defvec
5975 test "$program_prefix" != NONE
&&
5976 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
5977 # Use a double $ so make ignores it.
5978 test "$program_suffix" != NONE
&&
5979 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
5980 # Double any \ or $. echo might interpret backslashes.
5981 # By default was `s,x,x', remove it if useless.
5982 cat <<\_ACEOF
>conftest.
sed
5983 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
5985 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
5989 # The CLI cannot be disabled yet, but may be in the future.
5992 # Check whether --enable-gdbcli or --disable-gdbcli was given.
5993 if test "${enable_gdbcli+set}" = set; then
5994 enableval
="$enable_gdbcli"
5999 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
6000 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
6001 { (exit 1); exit 1; }; } ;;
6003 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
6004 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
6005 { (exit 1); exit 1; }; } ;;
6010 if test x
"$enable_gdbcli" = xyes
; then
6011 if test -d $srcdir/cli
; then
6012 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
6013 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
6014 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
6015 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
6020 # Check whether --enable-gdbmi or --disable-gdbmi was given.
6021 if test "${enable_gdbmi+set}" = set; then
6022 enableval
="$enable_gdbmi"
6027 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
6028 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
6029 { (exit 1); exit 1; }; } ;;
6034 if test x
"$enable_gdbmi" = xyes
; then
6035 if test -d $srcdir/mi
; then
6036 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
6037 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
6038 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
6039 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
6044 # Check whether --enable-tui or --disable-tui was given.
6045 if test "${enable_tui+set}" = set; then
6046 enableval
="$enable_tui"
6051 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
6052 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
6053 { (exit 1); exit 1; }; } ;;
6060 # Check whether --enable-gdbtk or --disable-gdbtk was given.
6061 if test "${enable_gdbtk+set}" = set; then
6062 enableval
="$enable_gdbtk"
6067 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
6068 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
6069 { (exit 1); exit 1; }; } ;;
6072 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
6078 # We unconditionally disable gdbtk tests on selected platforms.
6081 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
6082 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
6086 # Libunwind support.
6088 # Check whether --with-libunwind or --without-libunwind was given.
6089 if test "${with_libunwind+set}" = set; then
6090 withval
="$with_libunwind"
6091 case "${withval}" in
6092 yes) enable_libunwind
=yes ;;
6093 no
) enable_libunwind
=no
;;
6094 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
6095 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
6096 { (exit 1); exit 1; }; } ;;
6101 for ac_header
in libunwind.h
6103 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6105 echo "$as_me:$LINENO: checking for $ac_header" >&5
6106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6108 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6113 # Is the header compilable?
6114 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6116 cat >conftest.
$ac_ext <<_ACEOF
6119 cat confdefs.h
>>conftest.
$ac_ext
6120 cat >>conftest.
$ac_ext <<_ACEOF
6121 /* end confdefs.h. */
6122 $ac_includes_default
6123 #include <$ac_header>
6125 rm -f conftest.
$ac_objext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6127 (eval $ac_compile) 2>conftest.er1
6129 grep -v '^ *+' conftest.er1
>conftest.err
6131 cat conftest.err
>&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } &&
6134 { ac_try
='test -z "$ac_c_werror_flag"
6135 || test ! -s conftest.err'
6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); }; } &&
6141 { ac_try
='test -s conftest.$ac_objext'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; }; then
6147 ac_header_compiler
=yes
6149 echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.
$ac_ext >&5
6152 ac_header_compiler
=no
6154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6156 echo "${ECHO_T}$ac_header_compiler" >&6
6158 # Is the header present?
6159 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6161 cat >conftest.
$ac_ext <<_ACEOF
6164 cat confdefs.h
>>conftest.
$ac_ext
6165 cat >>conftest.
$ac_ext <<_ACEOF
6166 /* end confdefs.h. */
6167 #include <$ac_header>
6169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6170 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6172 grep -v '^ *+' conftest.er1
>conftest.err
6174 cat conftest.err
>&5
6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); } >/dev
/null
; then
6177 if test -s conftest.err
; then
6178 ac_cpp_err
=$ac_c_preproc_warn_flag
6179 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6186 if test -z "$ac_cpp_err"; then
6187 ac_header_preproc
=yes
6189 echo "$as_me: failed program was:" >&5
6190 sed 's/^/| /' conftest.
$ac_ext >&5
6192 ac_header_preproc
=no
6194 rm -f conftest.err conftest.
$ac_ext
6195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6196 echo "${ECHO_T}$ac_header_preproc" >&6
6198 # So? What about this header?
6199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6201 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6202 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6204 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6205 ac_header_preproc
=yes
6208 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6209 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6210 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6211 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6212 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6213 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6214 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6215 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6218 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6219 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6222 ## ------------------------------------------ ##
6223 ## Report this to the AC_PACKAGE_NAME lists. ##
6224 ## ------------------------------------------ ##
6227 sed "s/^/$as_me: WARNING: /" >&2
6230 echo "$as_me:$LINENO: checking for $ac_header" >&5
6231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6233 echo $ECHO_N "(cached) $ECHO_C" >&6
6235 eval "$as_ac_Header=\$ac_header_preproc"
6237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6242 cat >>confdefs.h
<<_ACEOF
6243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6251 for ac_header
in libunwind-ia64.h
6253 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6255 echo "$as_me:$LINENO: checking for $ac_header" >&5
6256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6263 # Is the header compilable?
6264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6266 cat >conftest.
$ac_ext <<_ACEOF
6269 cat confdefs.h
>>conftest.
$ac_ext
6270 cat >>conftest.
$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6272 $ac_includes_default
6273 #include <$ac_header>
6275 rm -f conftest.
$ac_objext
6276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6277 (eval $ac_compile) 2>conftest.er1
6279 grep -v '^ *+' conftest.er1
>conftest.err
6281 cat conftest.err
>&5
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } &&
6284 { ac_try
='test -z "$ac_c_werror_flag"
6285 || test ! -s conftest.err'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; } &&
6291 { ac_try
='test -s conftest.$ac_objext'
6292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }; }; then
6297 ac_header_compiler
=yes
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.
$ac_ext >&5
6302 ac_header_compiler
=no
6304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6306 echo "${ECHO_T}$ac_header_compiler" >&6
6308 # Is the header present?
6309 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6311 cat >conftest.
$ac_ext <<_ACEOF
6314 cat confdefs.h
>>conftest.
$ac_ext
6315 cat >>conftest.
$ac_ext <<_ACEOF
6316 /* end confdefs.h. */
6317 #include <$ac_header>
6319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6322 grep -v '^ *+' conftest.er1
>conftest.err
6324 cat conftest.err
>&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } >/dev
/null
; then
6327 if test -s conftest.err
; then
6328 ac_cpp_err
=$ac_c_preproc_warn_flag
6329 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6336 if test -z "$ac_cpp_err"; then
6337 ac_header_preproc
=yes
6339 echo "$as_me: failed program was:" >&5
6340 sed 's/^/| /' conftest.
$ac_ext >&5
6342 ac_header_preproc
=no
6344 rm -f conftest.err conftest.
$ac_ext
6345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6346 echo "${ECHO_T}$ac_header_preproc" >&6
6348 # So? What about this header?
6349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6352 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6354 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6355 ac_header_preproc
=yes
6358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6362 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6363 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6364 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6365 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6369 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6372 ## ------------------------------------------ ##
6373 ## Report this to the AC_PACKAGE_NAME lists. ##
6374 ## ------------------------------------------ ##
6377 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
6387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6392 cat >>confdefs.h
<<_ACEOF
6393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6400 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
6401 enable_libunwind
=yes;
6406 if test x
"$enable_libunwind" = xyes
; then
6408 for ac_header
in libunwind.h
6410 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6412 echo "$as_me:$LINENO: checking for $ac_header" >&5
6413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6415 echo $ECHO_N "(cached) $ECHO_C" >&6
6417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6420 # Is the header compilable?
6421 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6422 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6423 cat >conftest.
$ac_ext <<_ACEOF
6426 cat confdefs.h
>>conftest.
$ac_ext
6427 cat >>conftest.
$ac_ext <<_ACEOF
6428 /* end confdefs.h. */
6429 $ac_includes_default
6430 #include <$ac_header>
6432 rm -f conftest.
$ac_objext
6433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6434 (eval $ac_compile) 2>conftest.er1
6436 grep -v '^ *+' conftest.er1
>conftest.err
6438 cat conftest.err
>&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } &&
6441 { ac_try
='test -z "$ac_c_werror_flag"
6442 || test ! -s conftest.err'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; } &&
6448 { ac_try
='test -s conftest.$ac_objext'
6449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; }; then
6454 ac_header_compiler
=yes
6456 echo "$as_me: failed program was:" >&5
6457 sed 's/^/| /' conftest.
$ac_ext >&5
6459 ac_header_compiler
=no
6461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6462 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6463 echo "${ECHO_T}$ac_header_compiler" >&6
6465 # Is the header present?
6466 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6467 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6468 cat >conftest.
$ac_ext <<_ACEOF
6471 cat confdefs.h
>>conftest.
$ac_ext
6472 cat >>conftest.
$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6474 #include <$ac_header>
6476 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6477 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6479 grep -v '^ *+' conftest.er1
>conftest.err
6481 cat conftest.err
>&5
6482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483 (exit $ac_status); } >/dev
/null
; then
6484 if test -s conftest.err
; then
6485 ac_cpp_err
=$ac_c_preproc_warn_flag
6486 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6493 if test -z "$ac_cpp_err"; then
6494 ac_header_preproc
=yes
6496 echo "$as_me: failed program was:" >&5
6497 sed 's/^/| /' conftest.
$ac_ext >&5
6499 ac_header_preproc
=no
6501 rm -f conftest.err conftest.
$ac_ext
6502 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6503 echo "${ECHO_T}$ac_header_preproc" >&6
6505 # So? What about this header?
6506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6508 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6509 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6511 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6512 ac_header_preproc
=yes
6515 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6516 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6517 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6518 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6519 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6520 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6521 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6522 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6524 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6525 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6526 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6529 ## ------------------------------------------ ##
6530 ## Report this to the AC_PACKAGE_NAME lists. ##
6531 ## ------------------------------------------ ##
6534 sed "s/^/$as_me: WARNING: /" >&2
6537 echo "$as_me:$LINENO: checking for $ac_header" >&5
6538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6540 echo $ECHO_N "(cached) $ECHO_C" >&6
6542 eval "$as_ac_Header=\$ac_header_preproc"
6544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6549 cat >>confdefs.h
<<_ACEOF
6550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6558 for ac_header
in libunwind-ia64.h
6560 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6562 echo "$as_me:$LINENO: checking for $ac_header" >&5
6563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6570 # Is the header compilable?
6571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6573 cat >conftest.
$ac_ext <<_ACEOF
6576 cat confdefs.h
>>conftest.
$ac_ext
6577 cat >>conftest.
$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6579 $ac_includes_default
6580 #include <$ac_header>
6582 rm -f conftest.
$ac_objext
6583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6584 (eval $ac_compile) 2>conftest.er1
6586 grep -v '^ *+' conftest.er1
>conftest.err
6588 cat conftest.err
>&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); } &&
6591 { ac_try
='test -z "$ac_c_werror_flag"
6592 || test ! -s conftest.err'
6593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); }; } &&
6598 { ac_try
='test -s conftest.$ac_objext'
6599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); }; }; then
6604 ac_header_compiler
=yes
6606 echo "$as_me: failed program was:" >&5
6607 sed 's/^/| /' conftest.
$ac_ext >&5
6609 ac_header_compiler
=no
6611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6613 echo "${ECHO_T}$ac_header_compiler" >&6
6615 # Is the header present?
6616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6618 cat >conftest.
$ac_ext <<_ACEOF
6621 cat confdefs.h
>>conftest.
$ac_ext
6622 cat >>conftest.
$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6624 #include <$ac_header>
6626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6629 grep -v '^ *+' conftest.er1
>conftest.err
6631 cat conftest.err
>&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); } >/dev
/null
; then
6634 if test -s conftest.err
; then
6635 ac_cpp_err
=$ac_c_preproc_warn_flag
6636 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6643 if test -z "$ac_cpp_err"; then
6644 ac_header_preproc
=yes
6646 echo "$as_me: failed program was:" >&5
6647 sed 's/^/| /' conftest.
$ac_ext >&5
6649 ac_header_preproc
=no
6651 rm -f conftest.err conftest.
$ac_ext
6652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6653 echo "${ECHO_T}$ac_header_preproc" >&6
6655 # So? What about this header?
6656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6662 ac_header_preproc
=yes
6665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6679 ## ------------------------------------------ ##
6680 ## Report this to the AC_PACKAGE_NAME lists. ##
6681 ## ------------------------------------------ ##
6684 sed "s/^/$as_me: WARNING: /" >&2
6687 echo "$as_me:$LINENO: checking for $ac_header" >&5
6688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6690 echo $ECHO_N "(cached) $ECHO_C" >&6
6692 eval "$as_ac_Header=\$ac_header_preproc"
6694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6699 cat >>confdefs.h
<<_ACEOF
6700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6708 cat >>confdefs.h
<<\_ACEOF
6709 #define HAVE_LIBUNWIND 1
6712 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
6713 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
6714 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
6717 # Profiling support.
6718 # Check whether --enable-profiling or --disable-profiling was given.
6719 if test "${enable_profiling+set}" = set; then
6720 enableval
="$enable_profiling"
6725 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
6726 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
6727 { (exit 1); exit 1; }; } ;;
6735 for ac_func
in monstartup _mcleanup
6737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6738 echo "$as_me:$LINENO: checking for $ac_func" >&5
6739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6740 if eval "test \"\${$as_ac_var+set}\" = set"; then
6741 echo $ECHO_N "(cached) $ECHO_C" >&6
6743 cat >conftest.
$ac_ext <<_ACEOF
6746 cat confdefs.h
>>conftest.
$ac_ext
6747 cat >>conftest.
$ac_ext <<_ACEOF
6748 /* end confdefs.h. */
6749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6751 #define $ac_func innocuous_$ac_func
6753 /* System header to define __stub macros and hopefully few prototypes,
6754 which can conflict with char $ac_func (); below.
6755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6756 <limits.h> exists even on freestanding compilers. */
6759 # include <limits.h>
6761 # include <assert.h>
6766 /* Override any gcc2 internal prototype to avoid an error. */
6771 /* We use char because int might match the return type of a gcc2
6772 builtin and then its argument prototype would still apply. */
6774 /* The GNU C library defines this for functions which it implements
6775 to always fail with ENOSYS. Some functions are actually named
6776 something starting with __ and the normal name is an alias. */
6777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6780 char (*f) () = $ac_func;
6789 return f != $ac_func;
6794 rm -f conftest.
$ac_objext conftest
$ac_exeext
6795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6796 (eval $ac_link) 2>conftest.er1
6798 grep -v '^ *+' conftest.er1
>conftest.err
6800 cat conftest.err
>&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); } &&
6803 { ac_try
='test -z "$ac_c_werror_flag"
6804 || test ! -s conftest.err'
6805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); }; } &&
6810 { ac_try
='test -s conftest$ac_exeext'
6811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); }; }; then
6816 eval "$as_ac_var=yes"
6818 echo "$as_me: failed program was:" >&5
6819 sed 's/^/| /' conftest.
$ac_ext >&5
6821 eval "$as_ac_var=no"
6823 rm -f conftest.err conftest.
$ac_objext \
6824 conftest
$ac_exeext conftest.
$ac_ext
6826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6828 if test `eval echo '${'$as_ac_var'}'` = yes; then
6829 cat >>confdefs.h
<<_ACEOF
6830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6836 echo "$as_me:$LINENO: checking for _etext" >&5
6837 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
6838 if test "${ac_cv_var__etext+set}" = set; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 cat >conftest.
$ac_ext <<_ACEOF
6844 cat confdefs.h
>>conftest.
$ac_ext
6845 cat >>conftest.
$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6858 rm -f conftest.
$ac_objext conftest
$ac_exeext
6859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6860 (eval $ac_link) 2>conftest.er1
6862 grep -v '^ *+' conftest.er1
>conftest.err
6864 cat conftest.err
>&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); } &&
6867 { ac_try
='test -z "$ac_c_werror_flag"
6868 || test ! -s conftest.err'
6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); }; } &&
6874 { ac_try
='test -s conftest$ac_exeext'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; }; then
6880 ac_cv_var__etext
=yes
6882 echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.
$ac_ext >&5
6887 rm -f conftest.err conftest.
$ac_objext \
6888 conftest
$ac_exeext conftest.
$ac_ext
6890 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
6891 echo "${ECHO_T}$ac_cv_var__etext" >&6
6892 if test $ac_cv_var__etext = yes; then
6894 cat >>confdefs.h
<<\_ACEOF
6895 #define HAVE__ETEXT 1
6899 if test "$enable_profiling" = yes ; then
6900 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
6901 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
6902 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
6903 { (exit 1); exit 1; }; }
6906 OLD_CFLAGS
="$CFLAGS"
6907 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
6909 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
6910 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
6911 if test "${ac_cv_cc_supports_pg+set}" = set; then
6912 echo $ECHO_N "(cached) $ECHO_C" >&6
6914 cat >conftest.
$ac_ext <<_ACEOF
6917 cat confdefs.h
>>conftest.
$ac_ext
6918 cat >>conftest.
$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6929 rm -f conftest.
$ac_objext
6930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6931 (eval $ac_compile) 2>conftest.er1
6933 grep -v '^ *+' conftest.er1
>conftest.err
6935 cat conftest.err
>&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } &&
6938 { ac_try
='test -z "$ac_c_werror_flag"
6939 || test ! -s conftest.err'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; } &&
6945 { ac_try
='test -s conftest.$ac_objext'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; }; then
6951 ac_cv_cc_supports_pg
=yes
6953 echo "$as_me: failed program was:" >&5
6954 sed 's/^/| /' conftest.
$ac_ext >&5
6956 ac_cv_cc_supports_pg
=no
6958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6960 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
6961 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
6963 if test $ac_cv_cc_supports_pg = no
; then
6964 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
6965 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
6966 { (exit 1); exit 1; }; }
6969 CFLAGS
="$OLD_CFLAGS"
6972 # --------------------- #
6973 # Checks for programs. #
6974 # --------------------- #
6976 for ac_prog
in gawk mawk nawk
awk
6978 # Extract the first word of "$ac_prog", so it can be a program name with args.
6979 set dummy
$ac_prog; ac_word
=$2
6980 echo "$as_me:$LINENO: checking for $ac_word" >&5
6981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6982 if test "${ac_cv_prog_AWK+set}" = set; then
6983 echo $ECHO_N "(cached) $ECHO_C" >&6
6985 if test -n "$AWK"; then
6986 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6992 test -z "$as_dir" && as_dir
=.
6993 for ac_exec_ext
in '' $ac_executable_extensions; do
6994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6995 ac_cv_prog_AWK
="$ac_prog"
6996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 if test -n "$AWK"; then
7006 echo "$as_me:$LINENO: result: $AWK" >&5
7007 echo "${ECHO_T}$AWK" >&6
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7013 test -n "$AWK" && break
7016 # Find a good install program. We prefer a C program (faster),
7017 # so one script is as good as another. But avoid the broken or
7018 # incompatible versions:
7019 # SysV /etc/install, /usr/sbin/install
7020 # SunOS /usr/etc/install
7021 # IRIX /sbin/install
7023 # AmigaOS /C/install, which installs bootblocks on floppy discs
7024 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7025 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7026 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7027 # OS/2's system install, which has a completely different semantic
7028 # ./install, which can be erroneously created by make from ./install.sh.
7029 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7030 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7031 if test -z "$INSTALL"; then
7032 if test "${ac_cv_path_install+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7039 test -z "$as_dir" && as_dir
=.
7040 # Account for people who put trailing slashes in PATH elements.
7042 .
/ | .
// |
/cC
/* | \
7043 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7044 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7047 # OSF1 and SCO ODT 3.0 have their own names for install.
7048 # Don't use installbsd from OSF since it installs stuff as root
7050 for ac_prog
in ginstall scoinst
install; do
7051 for ac_exec_ext
in '' $ac_executable_extensions; do
7052 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7053 if test $ac_prog = install &&
7054 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7055 # AIX install. It has an incompatible calling convention.
7057 elif test $ac_prog = install &&
7058 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7059 # program-specific install script used by HP pwplus--don't use.
7062 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7074 if test "${ac_cv_path_install+set}" = set; then
7075 INSTALL
=$ac_cv_path_install
7077 # As a last resort, use the slow shell script. We don't cache a
7078 # path for INSTALL within a source directory, because that will
7079 # break other packages using the cache if that directory is
7080 # removed, or if the path is relative.
7081 INSTALL
=$ac_install_sh
7084 echo "$as_me:$LINENO: result: $INSTALL" >&5
7085 echo "${ECHO_T}$INSTALL" >&6
7087 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7088 # It thinks the first close brace ends the variable substitution.
7089 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7091 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7093 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7095 echo "$as_me:$LINENO: checking whether ln -s works" >&5
7096 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7098 if test "$LN_S" = "ln -s"; then
7099 echo "$as_me:$LINENO: result: yes" >&5
7100 echo "${ECHO_T}yes" >&6
7102 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7103 echo "${ECHO_T}no, using $LN_S" >&6
7106 if test -n "$ac_tool_prefix"; then
7107 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7108 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7109 echo "$as_me:$LINENO: checking for $ac_word" >&5
7110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7111 if test "${ac_cv_prog_RANLIB+set}" = set; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7114 if test -n "$RANLIB"; then
7115 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7121 test -z "$as_dir" && as_dir
=.
7122 for ac_exec_ext
in '' $ac_executable_extensions; do
7123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7124 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7133 RANLIB
=$ac_cv_prog_RANLIB
7134 if test -n "$RANLIB"; then
7135 echo "$as_me:$LINENO: result: $RANLIB" >&5
7136 echo "${ECHO_T}$RANLIB" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7143 if test -z "$ac_cv_prog_RANLIB"; then
7144 ac_ct_RANLIB
=$RANLIB
7145 # Extract the first word of "ranlib", so it can be a program name with args.
7146 set dummy ranlib
; ac_word
=$2
7147 echo "$as_me:$LINENO: checking for $ac_word" >&5
7148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7149 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 if test -n "$ac_ct_RANLIB"; then
7153 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7159 test -z "$as_dir" && as_dir
=.
7160 for ac_exec_ext
in '' $ac_executable_extensions; do
7161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7169 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
7172 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7173 if test -n "$ac_ct_RANLIB"; then
7174 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7175 echo "${ECHO_T}$ac_ct_RANLIB" >&6
7177 echo "$as_me:$LINENO: result: no" >&5
7178 echo "${ECHO_T}no" >&6
7181 RANLIB
=$ac_ct_RANLIB
7183 RANLIB
="$ac_cv_prog_RANLIB"
7186 for ac_prog
in 'bison -y' byacc
7188 # Extract the first word of "$ac_prog", so it can be a program name with args.
7189 set dummy
$ac_prog; ac_word
=$2
7190 echo "$as_me:$LINENO: checking for $ac_word" >&5
7191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7192 if test "${ac_cv_prog_YACC+set}" = set; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 if test -n "$YACC"; then
7196 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
7198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir
=.
7203 for ac_exec_ext
in '' $ac_executable_extensions; do
7204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_YACC
="$ac_prog"
7206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 YACC
=$ac_cv_prog_YACC
7215 if test -n "$YACC"; then
7216 echo "$as_me:$LINENO: result: $YACC" >&5
7217 echo "${ECHO_T}$YACC" >&6
7219 echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6
7223 test -n "$YACC" && break
7225 test -n "$YACC" || YACC
="yacc"
7228 if test -n "$ac_tool_prefix"; then
7229 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7230 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7231 echo "$as_me:$LINENO: checking for $ac_word" >&5
7232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7233 if test "${ac_cv_prog_AR+set}" = set; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 if test -n "$AR"; then
7237 ac_cv_prog_AR
="$AR" # Let the user override the test.
7239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir
=.
7244 for ac_exec_ext
in '' $ac_executable_extensions; do
7245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 if test -n "$AR"; then
7257 echo "$as_me:$LINENO: result: $AR" >&5
7258 echo "${ECHO_T}$AR" >&6
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7265 if test -z "$ac_cv_prog_AR"; then
7267 # Extract the first word of "ar", so it can be a program name with args.
7268 set dummy
ar; ac_word
=$2
7269 echo "$as_me:$LINENO: checking for $ac_word" >&5
7270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7271 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7272 echo $ECHO_N "(cached) $ECHO_C" >&6
7274 if test -n "$ac_ct_AR"; then
7275 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7281 test -z "$as_dir" && as_dir
=.
7282 for ac_exec_ext
in '' $ac_executable_extensions; do
7283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7284 ac_cv_prog_ac_ct_AR
="ar"
7285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7293 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7294 if test -n "$ac_ct_AR"; then
7295 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7296 echo "${ECHO_T}$ac_ct_AR" >&6
7298 echo "$as_me:$LINENO: result: no" >&5
7299 echo "${ECHO_T}no" >&6
7307 if test -n "$ac_tool_prefix"; then
7308 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7309 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7310 echo "$as_me:$LINENO: checking for $ac_word" >&5
7311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7312 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7315 if test -n "$DLLTOOL"; then
7316 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7322 test -z "$as_dir" && as_dir
=.
7323 for ac_exec_ext
in '' $ac_executable_extensions; do
7324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7325 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 DLLTOOL
=$ac_cv_prog_DLLTOOL
7335 if test -n "$DLLTOOL"; then
7336 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7337 echo "${ECHO_T}$DLLTOOL" >&6
7339 echo "$as_me:$LINENO: result: no" >&5
7340 echo "${ECHO_T}no" >&6
7344 if test -z "$ac_cv_prog_DLLTOOL"; then
7345 ac_ct_DLLTOOL
=$DLLTOOL
7346 # Extract the first word of "dlltool", so it can be a program name with args.
7347 set dummy dlltool
; ac_word
=$2
7348 echo "$as_me:$LINENO: checking for $ac_word" >&5
7349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7350 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 if test -n "$ac_ct_DLLTOOL"; then
7354 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir
=.
7361 for ac_exec_ext
in '' $ac_executable_extensions; do
7362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7373 if test -n "$ac_ct_DLLTOOL"; then
7374 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7375 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
7377 echo "$as_me:$LINENO: result: no" >&5
7378 echo "${ECHO_T}no" >&6
7381 DLLTOOL
=$ac_ct_DLLTOOL
7383 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7386 if test -n "$ac_tool_prefix"; then
7387 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7388 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
7389 echo "$as_me:$LINENO: checking for $ac_word" >&5
7390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7391 if test "${ac_cv_prog_WINDRES+set}" = set; then
7392 echo $ECHO_N "(cached) $ECHO_C" >&6
7394 if test -n "$WINDRES"; then
7395 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
7397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir
=.
7402 for ac_exec_ext
in '' $ac_executable_extensions; do
7403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
7405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 WINDRES
=$ac_cv_prog_WINDRES
7414 if test -n "$WINDRES"; then
7415 echo "$as_me:$LINENO: result: $WINDRES" >&5
7416 echo "${ECHO_T}$WINDRES" >&6
7418 echo "$as_me:$LINENO: result: no" >&5
7419 echo "${ECHO_T}no" >&6
7423 if test -z "$ac_cv_prog_WINDRES"; then
7424 ac_ct_WINDRES
=$WINDRES
7425 # Extract the first word of "windres", so it can be a program name with args.
7426 set dummy windres
; ac_word
=$2
7427 echo "$as_me:$LINENO: checking for $ac_word" >&5
7428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7429 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 if test -n "$ac_ct_WINDRES"; then
7433 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
7435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7439 test -z "$as_dir" && as_dir
=.
7440 for ac_exec_ext
in '' $ac_executable_extensions; do
7441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7442 ac_cv_prog_ac_ct_WINDRES
="windres"
7443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7451 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
7452 if test -n "$ac_ct_WINDRES"; then
7453 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
7454 echo "${ECHO_T}$ac_ct_WINDRES" >&6
7456 echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6
7460 WINDRES
=$ac_ct_WINDRES
7462 WINDRES
="$ac_cv_prog_WINDRES"
7466 # Needed for GNU/Hurd.
7467 if test -n "$ac_tool_prefix"; then
7468 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
7469 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
7470 echo "$as_me:$LINENO: checking for $ac_word" >&5
7471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7472 if test "${ac_cv_prog_MIG+set}" = set; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 if test -n "$MIG"; then
7476 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
7478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7482 test -z "$as_dir" && as_dir
=.
7483 for ac_exec_ext
in '' $ac_executable_extensions; do
7484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
7486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7495 if test -n "$MIG"; then
7496 echo "$as_me:$LINENO: result: $MIG" >&5
7497 echo "${ECHO_T}$MIG" >&6
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7504 if test -z "$ac_cv_prog_MIG"; then
7506 # Extract the first word of "mig", so it can be a program name with args.
7507 set dummy mig
; ac_word
=$2
7508 echo "$as_me:$LINENO: checking for $ac_word" >&5
7509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7510 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7513 if test -n "$ac_ct_MIG"; then
7514 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
7516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir
=.
7521 for ac_exec_ext
in '' $ac_executable_extensions; do
7522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523 ac_cv_prog_ac_ct_MIG
="mig"
7524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
7533 if test -n "$ac_ct_MIG"; then
7534 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
7535 echo "${ECHO_T}$ac_ct_MIG" >&6
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7543 MIG
="$ac_cv_prog_MIG"
7547 # ---------------------- #
7548 # Checks for libraries. #
7549 # ---------------------- #
7551 # We might need to link with -lm; most simulators need it.
7553 echo "$as_me:$LINENO: checking for main in -lm" >&5
7554 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
7555 if test "${ac_cv_lib_m_main+set}" = set; then
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 ac_check_lib_save_LIBS
=$LIBS
7560 cat >conftest.
$ac_ext <<_ACEOF
7563 cat confdefs.h
>>conftest.
$ac_ext
7564 cat >>conftest.
$ac_ext <<_ACEOF
7565 /* end confdefs.h. */
7576 rm -f conftest.
$ac_objext conftest
$ac_exeext
7577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7578 (eval $ac_link) 2>conftest.er1
7580 grep -v '^ *+' conftest.er1
>conftest.err
7582 cat conftest.err
>&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); } &&
7585 { ac_try
='test -z "$ac_c_werror_flag"
7586 || test ! -s conftest.err'
7587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); }; } &&
7592 { ac_try
='test -s conftest$ac_exeext'
7593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); }; }; then
7598 ac_cv_lib_m_main
=yes
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.
$ac_ext >&5
7605 rm -f conftest.err conftest.
$ac_objext \
7606 conftest
$ac_exeext conftest.
$ac_ext
7607 LIBS
=$ac_check_lib_save_LIBS
7609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
7610 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
7611 if test $ac_cv_lib_m_main = yes; then
7612 cat >>confdefs.h
<<_ACEOF
7621 # We need to link with -lw to get `wctype' on Solaris before Solaris
7622 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
7623 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
7624 # is known to have this problem). Therefore we avoid libw if we can.
7625 echo "$as_me:$LINENO: checking for wctype" >&5
7626 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
7627 if test "${ac_cv_func_wctype+set}" = set; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 cat >conftest.
$ac_ext <<_ACEOF
7633 cat confdefs.h
>>conftest.
$ac_ext
7634 cat >>conftest.
$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7636 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
7637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7638 #define wctype innocuous_wctype
7640 /* System header to define __stub macros and hopefully few prototypes,
7641 which can conflict with char wctype (); below.
7642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7643 <limits.h> exists even on freestanding compilers. */
7646 # include <limits.h>
7648 # include <assert.h>
7653 /* Override any gcc2 internal prototype to avoid an error. */
7658 /* We use char because int might match the return type of a gcc2
7659 builtin and then its argument prototype would still apply. */
7661 /* The GNU C library defines this for functions which it implements
7662 to always fail with ENOSYS. Some functions are actually named
7663 something starting with __ and the normal name is an alias. */
7664 #if defined (__stub_wctype) || defined (__stub___wctype)
7667 char (*f) () = wctype;
7681 rm -f conftest.
$ac_objext conftest
$ac_exeext
7682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7683 (eval $ac_link) 2>conftest.er1
7685 grep -v '^ *+' conftest.er1
>conftest.err
7687 cat conftest.err
>&5
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); } &&
7690 { ac_try
='test -z "$ac_c_werror_flag"
7691 || test ! -s conftest.err'
7692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 (exit $ac_status); }; } &&
7697 { ac_try
='test -s conftest$ac_exeext'
7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); }; }; then
7703 ac_cv_func_wctype
=yes
7705 echo "$as_me: failed program was:" >&5
7706 sed 's/^/| /' conftest.
$ac_ext >&5
7708 ac_cv_func_wctype
=no
7710 rm -f conftest.err conftest.
$ac_objext \
7711 conftest
$ac_exeext conftest.
$ac_ext
7713 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
7714 echo "${ECHO_T}$ac_cv_func_wctype" >&6
7715 if test $ac_cv_func_wctype = yes; then
7719 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
7720 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
7721 if test "${ac_cv_lib_w_wctype+set}" = set; then
7722 echo $ECHO_N "(cached) $ECHO_C" >&6
7724 ac_check_lib_save_LIBS
=$LIBS
7726 cat >conftest.
$ac_ext <<_ACEOF
7729 cat confdefs.h
>>conftest.
$ac_ext
7730 cat >>conftest.
$ac_ext <<_ACEOF
7731 /* end confdefs.h. */
7733 /* Override any gcc2 internal prototype to avoid an error. */
7737 /* We use char because int might match the return type of a gcc2
7738 builtin and then its argument prototype would still apply. */
7748 rm -f conftest.
$ac_objext conftest
$ac_exeext
7749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7750 (eval $ac_link) 2>conftest.er1
7752 grep -v '^ *+' conftest.er1
>conftest.err
7754 cat conftest.err
>&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); } &&
7757 { ac_try
='test -z "$ac_c_werror_flag"
7758 || test ! -s conftest.err'
7759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); }; } &&
7764 { ac_try
='test -s conftest$ac_exeext'
7765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); }; }; then
7770 ac_cv_lib_w_wctype
=yes
7772 echo "$as_me: failed program was:" >&5
7773 sed 's/^/| /' conftest.
$ac_ext >&5
7775 ac_cv_lib_w_wctype
=no
7777 rm -f conftest.err conftest.
$ac_objext \
7778 conftest
$ac_exeext conftest.
$ac_ext
7779 LIBS
=$ac_check_lib_save_LIBS
7781 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
7782 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
7783 if test $ac_cv_lib_w_wctype = yes; then
7784 cat >>confdefs.h
<<_ACEOF
7795 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
7796 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
7797 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
7798 if test "${ac_cv_search_gethostbyname+set}" = set; then
7799 echo $ECHO_N "(cached) $ECHO_C" >&6
7801 ac_func_search_save_LIBS
=$LIBS
7802 ac_cv_search_gethostbyname
=no
7803 cat >conftest.
$ac_ext <<_ACEOF
7806 cat confdefs.h
>>conftest.
$ac_ext
7807 cat >>conftest.
$ac_ext <<_ACEOF
7808 /* end confdefs.h. */
7810 /* Override any gcc2 internal prototype to avoid an error. */
7814 /* We use char because int might match the return type of a gcc2
7815 builtin and then its argument prototype would still apply. */
7816 char gethostbyname ();
7825 rm -f conftest.
$ac_objext conftest
$ac_exeext
7826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7827 (eval $ac_link) 2>conftest.er1
7829 grep -v '^ *+' conftest.er1
>conftest.err
7831 cat conftest.err
>&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); } &&
7834 { ac_try
='test -z "$ac_c_werror_flag"
7835 || test ! -s conftest.err'
7836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; } &&
7841 { ac_try
='test -s conftest$ac_exeext'
7842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 (exit $ac_status); }; }; then
7847 ac_cv_search_gethostbyname
="none required"
7849 echo "$as_me: failed program was:" >&5
7850 sed 's/^/| /' conftest.
$ac_ext >&5
7853 rm -f conftest.err conftest.
$ac_objext \
7854 conftest
$ac_exeext conftest.
$ac_ext
7855 if test "$ac_cv_search_gethostbyname" = no
; then
7856 for ac_lib
in nsl
; do
7857 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7858 cat >conftest.
$ac_ext <<_ACEOF
7861 cat confdefs.h
>>conftest.
$ac_ext
7862 cat >>conftest.
$ac_ext <<_ACEOF
7863 /* end confdefs.h. */
7865 /* Override any gcc2 internal prototype to avoid an error. */
7869 /* We use char because int might match the return type of a gcc2
7870 builtin and then its argument prototype would still apply. */
7871 char gethostbyname ();
7880 rm -f conftest.
$ac_objext conftest
$ac_exeext
7881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7882 (eval $ac_link) 2>conftest.er1
7884 grep -v '^ *+' conftest.er1
>conftest.err
7886 cat conftest.err
>&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); } &&
7889 { ac_try
='test -z "$ac_c_werror_flag"
7890 || test ! -s conftest.err'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; } &&
7896 { ac_try
='test -s conftest$ac_exeext'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; }; then
7902 ac_cv_search_gethostbyname
="-l$ac_lib"
7905 echo "$as_me: failed program was:" >&5
7906 sed 's/^/| /' conftest.
$ac_ext >&5
7909 rm -f conftest.err conftest.
$ac_objext \
7910 conftest
$ac_exeext conftest.
$ac_ext
7913 LIBS
=$ac_func_search_save_LIBS
7915 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
7916 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
7917 if test "$ac_cv_search_gethostbyname" != no
; then
7918 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
7923 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
7924 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
7925 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
7926 if test "${ac_cv_search_socketpair+set}" = set; then
7927 echo $ECHO_N "(cached) $ECHO_C" >&6
7929 ac_func_search_save_LIBS
=$LIBS
7930 ac_cv_search_socketpair
=no
7931 cat >conftest.
$ac_ext <<_ACEOF
7934 cat confdefs.h
>>conftest.
$ac_ext
7935 cat >>conftest.
$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7938 /* Override any gcc2 internal prototype to avoid an error. */
7942 /* We use char because int might match the return type of a gcc2
7943 builtin and then its argument prototype would still apply. */
7953 rm -f conftest.
$ac_objext conftest
$ac_exeext
7954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7955 (eval $ac_link) 2>conftest.er1
7957 grep -v '^ *+' conftest.er1
>conftest.err
7959 cat conftest.err
>&5
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); } &&
7962 { ac_try
='test -z "$ac_c_werror_flag"
7963 || test ! -s conftest.err'
7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); }; } &&
7969 { ac_try
='test -s conftest$ac_exeext'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; }; then
7975 ac_cv_search_socketpair
="none required"
7977 echo "$as_me: failed program was:" >&5
7978 sed 's/^/| /' conftest.
$ac_ext >&5
7981 rm -f conftest.err conftest.
$ac_objext \
7982 conftest
$ac_exeext conftest.
$ac_ext
7983 if test "$ac_cv_search_socketpair" = no
; then
7984 for ac_lib
in socket
; do
7985 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7986 cat >conftest.
$ac_ext <<_ACEOF
7989 cat confdefs.h
>>conftest.
$ac_ext
7990 cat >>conftest.
$ac_ext <<_ACEOF
7991 /* end confdefs.h. */
7993 /* Override any gcc2 internal prototype to avoid an error. */
7997 /* We use char because int might match the return type of a gcc2
7998 builtin and then its argument prototype would still apply. */
8008 rm -f conftest.
$ac_objext conftest
$ac_exeext
8009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8010 (eval $ac_link) 2>conftest.er1
8012 grep -v '^ *+' conftest.er1
>conftest.err
8014 cat conftest.err
>&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); } &&
8017 { ac_try
='test -z "$ac_c_werror_flag"
8018 || test ! -s conftest.err'
8019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); }; } &&
8024 { ac_try
='test -s conftest$ac_exeext'
8025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); }; }; then
8030 ac_cv_search_socketpair
="-l$ac_lib"
8033 echo "$as_me: failed program was:" >&5
8034 sed 's/^/| /' conftest.
$ac_ext >&5
8037 rm -f conftest.err conftest.
$ac_objext \
8038 conftest
$ac_exeext conftest.
$ac_ext
8041 LIBS
=$ac_func_search_save_LIBS
8043 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
8044 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
8045 if test "$ac_cv_search_socketpair" != no
; then
8046 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
8051 # For the TUI, we need enhanced curses functionality.
8053 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
8054 # curses library because the latter might not provide all the
8055 # functionality we need. However, this leads to problems on systems
8056 # where the linker searches /usr/local/lib, but the compiler doesn't
8057 # search /usr/local/include, if ncurses is installed in /usr/local. A
8058 # default installation of ncurses on alpha*-dec-osf* will lead to such
8060 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
8061 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
8062 if test "${ac_cv_search_waddstr+set}" = set; then
8063 echo $ECHO_N "(cached) $ECHO_C" >&6
8065 ac_func_search_save_LIBS
=$LIBS
8066 ac_cv_search_waddstr
=no
8067 cat >conftest.
$ac_ext <<_ACEOF
8070 cat confdefs.h
>>conftest.
$ac_ext
8071 cat >>conftest.
$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8074 /* Override any gcc2 internal prototype to avoid an error. */
8078 /* We use char because int might match the return type of a gcc2
8079 builtin and then its argument prototype would still apply. */
8089 rm -f conftest.
$ac_objext conftest
$ac_exeext
8090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8091 (eval $ac_link) 2>conftest.er1
8093 grep -v '^ *+' conftest.er1
>conftest.err
8095 cat conftest.err
>&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); } &&
8098 { ac_try
='test -z "$ac_c_werror_flag"
8099 || test ! -s conftest.err'
8100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); }; } &&
8105 { ac_try
='test -s conftest$ac_exeext'
8106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); }; }; then
8111 ac_cv_search_waddstr
="none required"
8113 echo "$as_me: failed program was:" >&5
8114 sed 's/^/| /' conftest.
$ac_ext >&5
8117 rm -f conftest.err conftest.
$ac_objext \
8118 conftest
$ac_exeext conftest.
$ac_ext
8119 if test "$ac_cv_search_waddstr" = no
; then
8120 for ac_lib
in ncurses cursesX curses
; do
8121 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8122 cat >conftest.
$ac_ext <<_ACEOF
8125 cat confdefs.h
>>conftest.
$ac_ext
8126 cat >>conftest.
$ac_ext <<_ACEOF
8127 /* end confdefs.h. */
8129 /* Override any gcc2 internal prototype to avoid an error. */
8133 /* We use char because int might match the return type of a gcc2
8134 builtin and then its argument prototype would still apply. */
8144 rm -f conftest.
$ac_objext conftest
$ac_exeext
8145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8146 (eval $ac_link) 2>conftest.er1
8148 grep -v '^ *+' conftest.er1
>conftest.err
8150 cat conftest.err
>&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } &&
8153 { ac_try
='test -z "$ac_c_werror_flag"
8154 || test ! -s conftest.err'
8155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); }; } &&
8160 { ac_try
='test -s conftest$ac_exeext'
8161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; }; then
8166 ac_cv_search_waddstr
="-l$ac_lib"
8169 echo "$as_me: failed program was:" >&5
8170 sed 's/^/| /' conftest.
$ac_ext >&5
8173 rm -f conftest.err conftest.
$ac_objext \
8174 conftest
$ac_exeext conftest.
$ac_ext
8177 LIBS
=$ac_func_search_save_LIBS
8179 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
8180 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
8181 if test "$ac_cv_search_waddstr" != no
; then
8182 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
8187 # Since GDB uses Readline, we need termcap functionality. In many
8188 # cases this will be provided by the curses library, but some systems
8189 # have a seperate termcap library, or no curses library at all.
8193 if test -d $srcdir/libtermcap
; then
8194 LIBS
="../libtermcap/libtermcap.a $LIBS"
8195 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
8198 ac_cv_search_tgetent
="none required"
8201 ac_cv_search_tgetent
="none required"
8202 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
8206 # These are the libraries checked by Readline.
8207 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
8208 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
8209 if test "${ac_cv_search_tgetent+set}" = set; then
8210 echo $ECHO_N "(cached) $ECHO_C" >&6
8212 ac_func_search_save_LIBS
=$LIBS
8213 ac_cv_search_tgetent
=no
8214 cat >conftest.
$ac_ext <<_ACEOF
8217 cat confdefs.h
>>conftest.
$ac_ext
8218 cat >>conftest.
$ac_ext <<_ACEOF
8219 /* end confdefs.h. */
8221 /* Override any gcc2 internal prototype to avoid an error. */
8225 /* We use char because int might match the return type of a gcc2
8226 builtin and then its argument prototype would still apply. */
8236 rm -f conftest.
$ac_objext conftest
$ac_exeext
8237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8238 (eval $ac_link) 2>conftest.er1
8240 grep -v '^ *+' conftest.er1
>conftest.err
8242 cat conftest.err
>&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); } &&
8245 { ac_try
='test -z "$ac_c_werror_flag"
8246 || test ! -s conftest.err'
8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); }; } &&
8252 { ac_try
='test -s conftest$ac_exeext'
8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); }; }; then
8258 ac_cv_search_tgetent
="none required"
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.
$ac_ext >&5
8264 rm -f conftest.err conftest.
$ac_objext \
8265 conftest
$ac_exeext conftest.
$ac_ext
8266 if test "$ac_cv_search_tgetent" = no
; then
8267 for ac_lib
in termcap tinfo curses ncurses
; do
8268 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8269 cat >conftest.
$ac_ext <<_ACEOF
8272 cat confdefs.h
>>conftest.
$ac_ext
8273 cat >>conftest.
$ac_ext <<_ACEOF
8274 /* end confdefs.h. */
8276 /* Override any gcc2 internal prototype to avoid an error. */
8280 /* We use char because int might match the return type of a gcc2
8281 builtin and then its argument prototype would still apply. */
8291 rm -f conftest.
$ac_objext conftest
$ac_exeext
8292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8293 (eval $ac_link) 2>conftest.er1
8295 grep -v '^ *+' conftest.er1
>conftest.err
8297 cat conftest.err
>&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); } &&
8300 { ac_try
='test -z "$ac_c_werror_flag"
8301 || test ! -s conftest.err'
8302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }; } &&
8307 { ac_try
='test -s conftest$ac_exeext'
8308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); }; }; then
8313 ac_cv_search_tgetent
="-l$ac_lib"
8316 echo "$as_me: failed program was:" >&5
8317 sed 's/^/| /' conftest.
$ac_ext >&5
8320 rm -f conftest.err conftest.
$ac_objext \
8321 conftest
$ac_exeext conftest.
$ac_ext
8324 LIBS
=$ac_func_search_save_LIBS
8326 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
8327 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
8328 if test "$ac_cv_search_tgetent" != no
; then
8329 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
8334 if test "$ac_cv_search_tgetent" = no
; then
8335 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
8336 echo "$as_me: error: no termcap library found" >&2;}
8337 { (exit 1); exit 1; }; }
8340 # ------------------------- #
8341 # Checks for header files. #
8342 # ------------------------- #
8350 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8351 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8352 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8353 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 cat >conftest.
$ac_ext <<_ACEOF
8360 cat confdefs.h
>>conftest.
$ac_ext
8361 cat >>conftest.
$ac_ext <<_ACEOF
8362 /* end confdefs.h. */
8363 #include <sys/types.h>
8375 rm -f conftest.
$ac_objext
8376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8377 (eval $ac_compile) 2>conftest.er1
8379 grep -v '^ *+' conftest.er1
>conftest.err
8381 cat conftest.err
>&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } &&
8384 { ac_try
='test -z "$ac_c_werror_flag"
8385 || test ! -s conftest.err'
8386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; } &&
8391 { ac_try
='test -s conftest.$ac_objext'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; }; then
8397 eval "$as_ac_Header=yes"
8399 echo "$as_me: failed program was:" >&5
8400 sed 's/^/| /' conftest.
$ac_ext >&5
8402 eval "$as_ac_Header=no"
8404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8409 cat >>confdefs.h
<<_ACEOF
8410 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8413 ac_header_dirent
=$ac_hdr; break
8417 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8418 if test $ac_header_dirent = dirent.h
; then
8419 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8420 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8421 if test "${ac_cv_search_opendir+set}" = set; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8424 ac_func_search_save_LIBS
=$LIBS
8425 ac_cv_search_opendir
=no
8426 cat >conftest.
$ac_ext <<_ACEOF
8429 cat confdefs.h
>>conftest.
$ac_ext
8430 cat >>conftest.
$ac_ext <<_ACEOF
8431 /* end confdefs.h. */
8433 /* Override any gcc2 internal prototype to avoid an error. */
8437 /* We use char because int might match the return type of a gcc2
8438 builtin and then its argument prototype would still apply. */
8448 rm -f conftest.
$ac_objext conftest
$ac_exeext
8449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8450 (eval $ac_link) 2>conftest.er1
8452 grep -v '^ *+' conftest.er1
>conftest.err
8454 cat conftest.err
>&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); } &&
8457 { ac_try
='test -z "$ac_c_werror_flag"
8458 || test ! -s conftest.err'
8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; } &&
8464 { ac_try
='test -s conftest$ac_exeext'
8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; }; then
8470 ac_cv_search_opendir
="none required"
8472 echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.
$ac_ext >&5
8476 rm -f conftest.err conftest.
$ac_objext \
8477 conftest
$ac_exeext conftest.
$ac_ext
8478 if test "$ac_cv_search_opendir" = no
; then
8479 for ac_lib
in dir
; do
8480 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8481 cat >conftest.
$ac_ext <<_ACEOF
8484 cat confdefs.h
>>conftest.
$ac_ext
8485 cat >>conftest.
$ac_ext <<_ACEOF
8486 /* end confdefs.h. */
8488 /* Override any gcc2 internal prototype to avoid an error. */
8492 /* We use char because int might match the return type of a gcc2
8493 builtin and then its argument prototype would still apply. */
8503 rm -f conftest.
$ac_objext conftest
$ac_exeext
8504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8505 (eval $ac_link) 2>conftest.er1
8507 grep -v '^ *+' conftest.er1
>conftest.err
8509 cat conftest.err
>&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); } &&
8512 { ac_try
='test -z "$ac_c_werror_flag"
8513 || test ! -s conftest.err'
8514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 (exit $ac_status); }; } &&
8519 { ac_try
='test -s conftest$ac_exeext'
8520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); }; }; then
8525 ac_cv_search_opendir
="-l$ac_lib"
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.
$ac_ext >&5
8532 rm -f conftest.err conftest.
$ac_objext \
8533 conftest
$ac_exeext conftest.
$ac_ext
8536 LIBS
=$ac_func_search_save_LIBS
8538 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8539 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8540 if test "$ac_cv_search_opendir" != no
; then
8541 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8546 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8547 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8548 if test "${ac_cv_search_opendir+set}" = set; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8551 ac_func_search_save_LIBS
=$LIBS
8552 ac_cv_search_opendir
=no
8553 cat >conftest.
$ac_ext <<_ACEOF
8556 cat confdefs.h
>>conftest.
$ac_ext
8557 cat >>conftest.
$ac_ext <<_ACEOF
8558 /* end confdefs.h. */
8560 /* Override any gcc2 internal prototype to avoid an error. */
8564 /* We use char because int might match the return type of a gcc2
8565 builtin and then its argument prototype would still apply. */
8575 rm -f conftest.
$ac_objext conftest
$ac_exeext
8576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8577 (eval $ac_link) 2>conftest.er1
8579 grep -v '^ *+' conftest.er1
>conftest.err
8581 cat conftest.err
>&5
8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 (exit $ac_status); } &&
8584 { ac_try
='test -z "$ac_c_werror_flag"
8585 || test ! -s conftest.err'
8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); }; } &&
8591 { ac_try
='test -s conftest$ac_exeext'
8592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 (exit $ac_status); }; }; then
8597 ac_cv_search_opendir
="none required"
8599 echo "$as_me: failed program was:" >&5
8600 sed 's/^/| /' conftest.
$ac_ext >&5
8603 rm -f conftest.err conftest.
$ac_objext \
8604 conftest
$ac_exeext conftest.
$ac_ext
8605 if test "$ac_cv_search_opendir" = no
; then
8607 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8608 cat >conftest.
$ac_ext <<_ACEOF
8611 cat confdefs.h
>>conftest.
$ac_ext
8612 cat >>conftest.
$ac_ext <<_ACEOF
8613 /* end confdefs.h. */
8615 /* Override any gcc2 internal prototype to avoid an error. */
8619 /* We use char because int might match the return type of a gcc2
8620 builtin and then its argument prototype would still apply. */
8630 rm -f conftest.
$ac_objext conftest
$ac_exeext
8631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8632 (eval $ac_link) 2>conftest.er1
8634 grep -v '^ *+' conftest.er1
>conftest.err
8636 cat conftest.err
>&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); } &&
8639 { ac_try
='test -z "$ac_c_werror_flag"
8640 || test ! -s conftest.err'
8641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); }; } &&
8646 { ac_try
='test -s conftest$ac_exeext'
8647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); }; }; then
8652 ac_cv_search_opendir
="-l$ac_lib"
8655 echo "$as_me: failed program was:" >&5
8656 sed 's/^/| /' conftest.
$ac_ext >&5
8659 rm -f conftest.err conftest.
$ac_objext \
8660 conftest
$ac_exeext conftest.
$ac_ext
8663 LIBS
=$ac_func_search_save_LIBS
8665 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8666 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8667 if test "$ac_cv_search_opendir" != no
; then
8668 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8674 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8675 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
8676 if test "${ac_cv_header_stat_broken+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 cat >conftest.
$ac_ext <<_ACEOF
8682 cat confdefs.h
>>conftest.
$ac_ext
8683 cat >>conftest.
$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8685 #include <sys/types.h>
8686 #include <sys/stat.h>
8688 #if defined(S_ISBLK) && defined(S_IFDIR)
8689 # if S_ISBLK (S_IFDIR)
8694 #if defined(S_ISBLK) && defined(S_IFCHR)
8695 # if S_ISBLK (S_IFCHR)
8700 #if defined(S_ISLNK) && defined(S_IFREG)
8701 # if S_ISLNK (S_IFREG)
8706 #if defined(S_ISSOCK) && defined(S_IFREG)
8707 # if S_ISSOCK (S_IFREG)
8713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8714 $EGREP "You lose" >/dev
/null
2>&1; then
8715 ac_cv_header_stat_broken
=yes
8717 ac_cv_header_stat_broken
=no
8722 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8723 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
8724 if test $ac_cv_header_stat_broken = yes; then
8726 cat >>confdefs.h
<<\_ACEOF
8727 #define STAT_MACROS_BROKEN 1
8732 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8733 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8734 if test "${ac_cv_header_stdc+set}" = set; then
8735 echo $ECHO_N "(cached) $ECHO_C" >&6
8737 cat >conftest.
$ac_ext <<_ACEOF
8740 cat confdefs.h
>>conftest.
$ac_ext
8741 cat >>conftest.
$ac_ext <<_ACEOF
8742 /* end confdefs.h. */
8756 rm -f conftest.
$ac_objext
8757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8758 (eval $ac_compile) 2>conftest.er1
8760 grep -v '^ *+' conftest.er1
>conftest.err
8762 cat conftest.err
>&5
8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); } &&
8765 { ac_try
='test -z "$ac_c_werror_flag"
8766 || test ! -s conftest.err'
8767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); }; } &&
8772 { ac_try
='test -s conftest.$ac_objext'
8773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); }; }; then
8778 ac_cv_header_stdc
=yes
8780 echo "$as_me: failed program was:" >&5
8781 sed 's/^/| /' conftest.
$ac_ext >&5
8783 ac_cv_header_stdc
=no
8785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8787 if test $ac_cv_header_stdc = yes; then
8788 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8789 cat >conftest.
$ac_ext <<_ACEOF
8792 cat confdefs.h
>>conftest.
$ac_ext
8793 cat >>conftest.
$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8799 $EGREP "memchr" >/dev
/null
2>&1; then
8802 ac_cv_header_stdc
=no
8808 if test $ac_cv_header_stdc = yes; then
8809 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8810 cat >conftest.
$ac_ext <<_ACEOF
8813 cat confdefs.h
>>conftest.
$ac_ext
8814 cat >>conftest.
$ac_ext <<_ACEOF
8815 /* end confdefs.h. */
8819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8820 $EGREP "free" >/dev
/null
2>&1; then
8823 ac_cv_header_stdc
=no
8829 if test $ac_cv_header_stdc = yes; then
8830 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8831 if test "$cross_compiling" = yes; then
8834 cat >conftest.
$ac_ext <<_ACEOF
8837 cat confdefs.h
>>conftest.
$ac_ext
8838 cat >>conftest.
$ac_ext <<_ACEOF
8839 /* end confdefs.h. */
8841 #if ((' ' & 0x0FF) == 0x020)
8842 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8843 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8845 # define ISLOWER(c) \
8846 (('a' <= (c) && (c) <= 'i') \
8847 || ('j' <= (c) && (c) <= 'r') \
8848 || ('s' <= (c) && (c) <= 'z'))
8849 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8852 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8857 for (i = 0; i < 256; i++)
8858 if (XOR (islower (i), ISLOWER (i))
8859 || toupper (i) != TOUPPER (i))
8864 rm -f conftest
$ac_exeext
8865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8866 (eval $ac_link) 2>&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; }; then
8877 echo "$as_me: program exited with status $ac_status" >&5
8878 echo "$as_me: failed program was:" >&5
8879 sed 's/^/| /' conftest.
$ac_ext >&5
8882 ac_cv_header_stdc
=no
8884 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8888 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8889 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8890 if test $ac_cv_header_stdc = yes; then
8892 cat >>confdefs.h
<<\_ACEOF
8893 #define STDC_HEADERS 1
8899 for ac_header
in nlist.h
8901 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8903 echo "$as_me:$LINENO: checking for $ac_header" >&5
8904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8906 echo $ECHO_N "(cached) $ECHO_C" >&6
8908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8911 # Is the header compilable?
8912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8914 cat >conftest.
$ac_ext <<_ACEOF
8917 cat confdefs.h
>>conftest.
$ac_ext
8918 cat >>conftest.
$ac_ext <<_ACEOF
8919 /* end confdefs.h. */
8920 $ac_includes_default
8921 #include <$ac_header>
8923 rm -f conftest.
$ac_objext
8924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8925 (eval $ac_compile) 2>conftest.er1
8927 grep -v '^ *+' conftest.er1
>conftest.err
8929 cat conftest.err
>&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); } &&
8932 { ac_try
='test -z "$ac_c_werror_flag"
8933 || test ! -s conftest.err'
8934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); }; } &&
8939 { ac_try
='test -s conftest.$ac_objext'
8940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); }; }; then
8945 ac_header_compiler
=yes
8947 echo "$as_me: failed program was:" >&5
8948 sed 's/^/| /' conftest.
$ac_ext >&5
8950 ac_header_compiler
=no
8952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8954 echo "${ECHO_T}$ac_header_compiler" >&6
8956 # Is the header present?
8957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8959 cat >conftest.
$ac_ext <<_ACEOF
8962 cat confdefs.h
>>conftest.
$ac_ext
8963 cat >>conftest.
$ac_ext <<_ACEOF
8964 /* end confdefs.h. */
8965 #include <$ac_header>
8967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8968 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8970 grep -v '^ *+' conftest.er1
>conftest.err
8972 cat conftest.err
>&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } >/dev
/null
; then
8975 if test -s conftest.err
; then
8976 ac_cpp_err
=$ac_c_preproc_warn_flag
8977 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8984 if test -z "$ac_cpp_err"; then
8985 ac_header_preproc
=yes
8987 echo "$as_me: failed program was:" >&5
8988 sed 's/^/| /' conftest.
$ac_ext >&5
8990 ac_header_preproc
=no
8992 rm -f conftest.err conftest.
$ac_ext
8993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8994 echo "${ECHO_T}$ac_header_preproc" >&6
8996 # So? What about this header?
8997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9003 ac_header_preproc
=yes
9006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9020 ## ------------------------------------------ ##
9021 ## Report this to the AC_PACKAGE_NAME lists. ##
9022 ## ------------------------------------------ ##
9025 sed "s/^/$as_me: WARNING: /" >&2
9028 echo "$as_me:$LINENO: checking for $ac_header" >&5
9029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9031 echo $ECHO_N "(cached) $ECHO_C" >&6
9033 eval "$as_ac_Header=\$ac_header_preproc"
9035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9040 cat >>confdefs.h
<<_ACEOF
9041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9049 for ac_header
in link.h
9051 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9052 echo "$as_me:$LINENO: checking for $ac_header" >&5
9053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9055 echo $ECHO_N "(cached) $ECHO_C" >&6
9057 cat >conftest.
$ac_ext <<_ACEOF
9060 cat confdefs.h
>>conftest.
$ac_ext
9061 cat >>conftest.
$ac_ext <<_ACEOF
9062 /* end confdefs.h. */
9063 #if HAVE_SYS_TYPES_H
9064 # include <sys/types.h>
9071 #include <$ac_header>
9073 rm -f conftest.
$ac_objext
9074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9075 (eval $ac_compile) 2>conftest.er1
9077 grep -v '^ *+' conftest.er1
>conftest.err
9079 cat conftest.err
>&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); } &&
9082 { ac_try
='test -z "$ac_c_werror_flag"
9083 || test ! -s conftest.err'
9084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); }; } &&
9089 { ac_try
='test -s conftest.$ac_objext'
9090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); }; }; then
9095 eval "$as_ac_Header=yes"
9097 echo "$as_me: failed program was:" >&5
9098 sed 's/^/| /' conftest.
$ac_ext >&5
9100 eval "$as_ac_Header=no"
9102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9107 cat >>confdefs.h
<<_ACEOF
9108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9116 for ac_header
in machine
/reg.h
9118 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9120 echo "$as_me:$LINENO: checking for $ac_header" >&5
9121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9128 # Is the header compilable?
9129 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9130 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9131 cat >conftest.
$ac_ext <<_ACEOF
9134 cat confdefs.h
>>conftest.
$ac_ext
9135 cat >>conftest.
$ac_ext <<_ACEOF
9136 /* end confdefs.h. */
9137 $ac_includes_default
9138 #include <$ac_header>
9140 rm -f conftest.
$ac_objext
9141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9142 (eval $ac_compile) 2>conftest.er1
9144 grep -v '^ *+' conftest.er1
>conftest.err
9146 cat conftest.err
>&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); } &&
9149 { ac_try
='test -z "$ac_c_werror_flag"
9150 || test ! -s conftest.err'
9151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; } &&
9156 { ac_try
='test -s conftest.$ac_objext'
9157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); }; }; then
9162 ac_header_compiler
=yes
9164 echo "$as_me: failed program was:" >&5
9165 sed 's/^/| /' conftest.
$ac_ext >&5
9167 ac_header_compiler
=no
9169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9171 echo "${ECHO_T}$ac_header_compiler" >&6
9173 # Is the header present?
9174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9176 cat >conftest.
$ac_ext <<_ACEOF
9179 cat confdefs.h
>>conftest.
$ac_ext
9180 cat >>conftest.
$ac_ext <<_ACEOF
9181 /* end confdefs.h. */
9182 #include <$ac_header>
9184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9187 grep -v '^ *+' conftest.er1
>conftest.err
9189 cat conftest.err
>&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); } >/dev
/null
; then
9192 if test -s conftest.err
; then
9193 ac_cpp_err
=$ac_c_preproc_warn_flag
9194 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9201 if test -z "$ac_cpp_err"; then
9202 ac_header_preproc
=yes
9204 echo "$as_me: failed program was:" >&5
9205 sed 's/^/| /' conftest.
$ac_ext >&5
9207 ac_header_preproc
=no
9209 rm -f conftest.err conftest.
$ac_ext
9210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9211 echo "${ECHO_T}$ac_header_preproc" >&6
9213 # So? What about this header?
9214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9220 ac_header_preproc
=yes
9223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9237 ## ------------------------------------------ ##
9238 ## Report this to the AC_PACKAGE_NAME lists. ##
9239 ## ------------------------------------------ ##
9242 sed "s/^/$as_me: WARNING: /" >&2
9245 echo "$as_me:$LINENO: checking for $ac_header" >&5
9246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9248 echo $ECHO_N "(cached) $ECHO_C" >&6
9250 eval "$as_ac_Header=\$ac_header_preproc"
9252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9257 cat >>confdefs.h
<<_ACEOF
9258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9267 for ac_header
in poll.h sys
/poll.h
9269 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9271 echo "$as_me:$LINENO: checking for $ac_header" >&5
9272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9279 # Is the header compilable?
9280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9282 cat >conftest.
$ac_ext <<_ACEOF
9285 cat confdefs.h
>>conftest.
$ac_ext
9286 cat >>conftest.
$ac_ext <<_ACEOF
9287 /* end confdefs.h. */
9288 $ac_includes_default
9289 #include <$ac_header>
9291 rm -f conftest.
$ac_objext
9292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9293 (eval $ac_compile) 2>conftest.er1
9295 grep -v '^ *+' conftest.er1
>conftest.err
9297 cat conftest.err
>&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } &&
9300 { ac_try
='test -z "$ac_c_werror_flag"
9301 || test ! -s conftest.err'
9302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); }; } &&
9307 { ac_try
='test -s conftest.$ac_objext'
9308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; }; then
9313 ac_header_compiler
=yes
9315 echo "$as_me: failed program was:" >&5
9316 sed 's/^/| /' conftest.
$ac_ext >&5
9318 ac_header_compiler
=no
9320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9322 echo "${ECHO_T}$ac_header_compiler" >&6
9324 # Is the header present?
9325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9327 cat >conftest.
$ac_ext <<_ACEOF
9330 cat confdefs.h
>>conftest.
$ac_ext
9331 cat >>conftest.
$ac_ext <<_ACEOF
9332 /* end confdefs.h. */
9333 #include <$ac_header>
9335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9336 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9338 grep -v '^ *+' conftest.er1
>conftest.err
9340 cat conftest.err
>&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); } >/dev
/null
; then
9343 if test -s conftest.err
; then
9344 ac_cpp_err
=$ac_c_preproc_warn_flag
9345 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9352 if test -z "$ac_cpp_err"; then
9353 ac_header_preproc
=yes
9355 echo "$as_me: failed program was:" >&5
9356 sed 's/^/| /' conftest.
$ac_ext >&5
9358 ac_header_preproc
=no
9360 rm -f conftest.err conftest.
$ac_ext
9361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9362 echo "${ECHO_T}$ac_header_preproc" >&6
9364 # So? What about this header?
9365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9371 ac_header_preproc
=yes
9374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9388 ## ------------------------------------------ ##
9389 ## Report this to the AC_PACKAGE_NAME lists. ##
9390 ## ------------------------------------------ ##
9393 sed "s/^/$as_me: WARNING: /" >&2
9396 echo "$as_me:$LINENO: checking for $ac_header" >&5
9397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9399 echo $ECHO_N "(cached) $ECHO_C" >&6
9401 eval "$as_ac_Header=\$ac_header_preproc"
9403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9408 cat >>confdefs.h
<<_ACEOF
9409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9419 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
9421 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9423 echo "$as_me:$LINENO: checking for $ac_header" >&5
9424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9431 # Is the header compilable?
9432 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9434 cat >conftest.
$ac_ext <<_ACEOF
9437 cat confdefs.h
>>conftest.
$ac_ext
9438 cat >>conftest.
$ac_ext <<_ACEOF
9439 /* end confdefs.h. */
9440 $ac_includes_default
9441 #include <$ac_header>
9443 rm -f conftest.
$ac_objext
9444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9445 (eval $ac_compile) 2>conftest.er1
9447 grep -v '^ *+' conftest.er1
>conftest.err
9449 cat conftest.err
>&5
9450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); } &&
9452 { ac_try
='test -z "$ac_c_werror_flag"
9453 || test ! -s conftest.err'
9454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 (exit $ac_status); }; } &&
9459 { ac_try
='test -s conftest.$ac_objext'
9460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); }; }; then
9465 ac_header_compiler
=yes
9467 echo "$as_me: failed program was:" >&5
9468 sed 's/^/| /' conftest.
$ac_ext >&5
9470 ac_header_compiler
=no
9472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9473 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9474 echo "${ECHO_T}$ac_header_compiler" >&6
9476 # Is the header present?
9477 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9478 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9479 cat >conftest.
$ac_ext <<_ACEOF
9482 cat confdefs.h
>>conftest.
$ac_ext
9483 cat >>conftest.
$ac_ext <<_ACEOF
9484 /* end confdefs.h. */
9485 #include <$ac_header>
9487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9488 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9490 grep -v '^ *+' conftest.er1
>conftest.err
9492 cat conftest.err
>&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); } >/dev
/null
; then
9495 if test -s conftest.err
; then
9496 ac_cpp_err
=$ac_c_preproc_warn_flag
9497 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9504 if test -z "$ac_cpp_err"; then
9505 ac_header_preproc
=yes
9507 echo "$as_me: failed program was:" >&5
9508 sed 's/^/| /' conftest.
$ac_ext >&5
9510 ac_header_preproc
=no
9512 rm -f conftest.err conftest.
$ac_ext
9513 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9514 echo "${ECHO_T}$ac_header_preproc" >&6
9516 # So? What about this header?
9517 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9519 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9520 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9522 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9523 ac_header_preproc
=yes
9526 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9527 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9528 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9529 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9530 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9531 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9532 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9533 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9535 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9536 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9537 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9540 ## ------------------------------------------ ##
9541 ## Report this to the AC_PACKAGE_NAME lists. ##
9542 ## ------------------------------------------ ##
9545 sed "s/^/$as_me: WARNING: /" >&2
9548 echo "$as_me:$LINENO: checking for $ac_header" >&5
9549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9553 eval "$as_ac_Header=\$ac_header_preproc"
9555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9560 cat >>confdefs.h
<<_ACEOF
9561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9569 for ac_header
in stddef.h
9571 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9573 echo "$as_me:$LINENO: checking for $ac_header" >&5
9574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9581 # Is the header compilable?
9582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9584 cat >conftest.
$ac_ext <<_ACEOF
9587 cat confdefs.h
>>conftest.
$ac_ext
9588 cat >>conftest.
$ac_ext <<_ACEOF
9589 /* end confdefs.h. */
9590 $ac_includes_default
9591 #include <$ac_header>
9593 rm -f conftest.
$ac_objext
9594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9595 (eval $ac_compile) 2>conftest.er1
9597 grep -v '^ *+' conftest.er1
>conftest.err
9599 cat conftest.err
>&5
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); } &&
9602 { ac_try
='test -z "$ac_c_werror_flag"
9603 || test ! -s conftest.err'
9604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); }; } &&
9609 { ac_try
='test -s conftest.$ac_objext'
9610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); }; }; then
9615 ac_header_compiler
=yes
9617 echo "$as_me: failed program was:" >&5
9618 sed 's/^/| /' conftest.
$ac_ext >&5
9620 ac_header_compiler
=no
9622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9624 echo "${ECHO_T}$ac_header_compiler" >&6
9626 # Is the header present?
9627 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9629 cat >conftest.
$ac_ext <<_ACEOF
9632 cat confdefs.h
>>conftest.
$ac_ext
9633 cat >>conftest.
$ac_ext <<_ACEOF
9634 /* end confdefs.h. */
9635 #include <$ac_header>
9637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9638 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9640 grep -v '^ *+' conftest.er1
>conftest.err
9642 cat conftest.err
>&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); } >/dev
/null
; then
9645 if test -s conftest.err
; then
9646 ac_cpp_err
=$ac_c_preproc_warn_flag
9647 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9654 if test -z "$ac_cpp_err"; then
9655 ac_header_preproc
=yes
9657 echo "$as_me: failed program was:" >&5
9658 sed 's/^/| /' conftest.
$ac_ext >&5
9660 ac_header_preproc
=no
9662 rm -f conftest.err conftest.
$ac_ext
9663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9664 echo "${ECHO_T}$ac_header_preproc" >&6
9666 # So? What about this header?
9667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9672 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9673 ac_header_preproc
=yes
9676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9679 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9680 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9681 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9682 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9683 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9686 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9687 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9690 ## ------------------------------------------ ##
9691 ## Report this to the AC_PACKAGE_NAME lists. ##
9692 ## ------------------------------------------ ##
9695 sed "s/^/$as_me: WARNING: /" >&2
9698 echo "$as_me:$LINENO: checking for $ac_header" >&5
9699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9701 echo $ECHO_N "(cached) $ECHO_C" >&6
9703 eval "$as_ac_Header=\$ac_header_preproc"
9705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9710 cat >>confdefs.h
<<_ACEOF
9711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9719 for ac_header
in stdlib.h
9721 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9723 echo "$as_me:$LINENO: checking for $ac_header" >&5
9724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9726 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9731 # Is the header compilable?
9732 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9734 cat >conftest.
$ac_ext <<_ACEOF
9737 cat confdefs.h
>>conftest.
$ac_ext
9738 cat >>conftest.
$ac_ext <<_ACEOF
9739 /* end confdefs.h. */
9740 $ac_includes_default
9741 #include <$ac_header>
9743 rm -f conftest.
$ac_objext
9744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9745 (eval $ac_compile) 2>conftest.er1
9747 grep -v '^ *+' conftest.er1
>conftest.err
9749 cat conftest.err
>&5
9750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 (exit $ac_status); } &&
9752 { ac_try
='test -z "$ac_c_werror_flag"
9753 || test ! -s conftest.err'
9754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); }; } &&
9759 { ac_try
='test -s conftest.$ac_objext'
9760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); }; }; then
9765 ac_header_compiler
=yes
9767 echo "$as_me: failed program was:" >&5
9768 sed 's/^/| /' conftest.
$ac_ext >&5
9770 ac_header_compiler
=no
9772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9774 echo "${ECHO_T}$ac_header_compiler" >&6
9776 # Is the header present?
9777 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9779 cat >conftest.
$ac_ext <<_ACEOF
9782 cat confdefs.h
>>conftest.
$ac_ext
9783 cat >>conftest.
$ac_ext <<_ACEOF
9784 /* end confdefs.h. */
9785 #include <$ac_header>
9787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9788 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9790 grep -v '^ *+' conftest.er1
>conftest.err
9792 cat conftest.err
>&5
9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); } >/dev
/null
; then
9795 if test -s conftest.err
; then
9796 ac_cpp_err
=$ac_c_preproc_warn_flag
9797 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9804 if test -z "$ac_cpp_err"; then
9805 ac_header_preproc
=yes
9807 echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.
$ac_ext >&5
9810 ac_header_preproc
=no
9812 rm -f conftest.err conftest.
$ac_ext
9813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9814 echo "${ECHO_T}$ac_header_preproc" >&6
9816 # So? What about this header?
9817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9822 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9823 ac_header_preproc
=yes
9826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9829 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9831 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9833 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9837 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9840 ## ------------------------------------------ ##
9841 ## Report this to the AC_PACKAGE_NAME lists. ##
9842 ## ------------------------------------------ ##
9845 sed "s/^/$as_me: WARNING: /" >&2
9848 echo "$as_me:$LINENO: checking for $ac_header" >&5
9849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9851 echo $ECHO_N "(cached) $ECHO_C" >&6
9853 eval "$as_ac_Header=\$ac_header_preproc"
9855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9860 cat >>confdefs.h
<<_ACEOF
9861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9869 for ac_header
in stdint.h
9871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9873 echo "$as_me:$LINENO: checking for $ac_header" >&5
9874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9881 # Is the header compilable?
9882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9884 cat >conftest.
$ac_ext <<_ACEOF
9887 cat confdefs.h
>>conftest.
$ac_ext
9888 cat >>conftest.
$ac_ext <<_ACEOF
9889 /* end confdefs.h. */
9890 $ac_includes_default
9891 #include <$ac_header>
9893 rm -f conftest.
$ac_objext
9894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9895 (eval $ac_compile) 2>conftest.er1
9897 grep -v '^ *+' conftest.er1
>conftest.err
9899 cat conftest.err
>&5
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); } &&
9902 { ac_try
='test -z "$ac_c_werror_flag"
9903 || test ! -s conftest.err'
9904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); }; } &&
9909 { ac_try
='test -s conftest.$ac_objext'
9910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); }; }; then
9915 ac_header_compiler
=yes
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.
$ac_ext >&5
9920 ac_header_compiler
=no
9922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9924 echo "${ECHO_T}$ac_header_compiler" >&6
9926 # Is the header present?
9927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9929 cat >conftest.
$ac_ext <<_ACEOF
9932 cat confdefs.h
>>conftest.
$ac_ext
9933 cat >>conftest.
$ac_ext <<_ACEOF
9934 /* end confdefs.h. */
9935 #include <$ac_header>
9937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9940 grep -v '^ *+' conftest.er1
>conftest.err
9942 cat conftest.err
>&5
9943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); } >/dev
/null
; then
9945 if test -s conftest.err
; then
9946 ac_cpp_err
=$ac_c_preproc_warn_flag
9947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9954 if test -z "$ac_cpp_err"; then
9955 ac_header_preproc
=yes
9957 echo "$as_me: failed program was:" >&5
9958 sed 's/^/| /' conftest.
$ac_ext >&5
9960 ac_header_preproc
=no
9962 rm -f conftest.err conftest.
$ac_ext
9963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9964 echo "${ECHO_T}$ac_header_preproc" >&6
9966 # So? What about this header?
9967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9973 ac_header_preproc
=yes
9976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9990 ## ------------------------------------------ ##
9991 ## Report this to the AC_PACKAGE_NAME lists. ##
9992 ## ------------------------------------------ ##
9995 sed "s/^/$as_me: WARNING: /" >&2
9998 echo "$as_me:$LINENO: checking for $ac_header" >&5
9999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10001 echo $ECHO_N "(cached) $ECHO_C" >&6
10003 eval "$as_ac_Header=\$ac_header_preproc"
10005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10010 cat >>confdefs.h
<<_ACEOF
10011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10021 for ac_header
in string.h memory.h
strings.h
10023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10025 echo "$as_me:$LINENO: checking for $ac_header" >&5
10026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10028 echo $ECHO_N "(cached) $ECHO_C" >&6
10030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10033 # Is the header compilable?
10034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10036 cat >conftest.
$ac_ext <<_ACEOF
10039 cat confdefs.h
>>conftest.
$ac_ext
10040 cat >>conftest.
$ac_ext <<_ACEOF
10041 /* end confdefs.h. */
10042 $ac_includes_default
10043 #include <$ac_header>
10045 rm -f conftest.
$ac_objext
10046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10047 (eval $ac_compile) 2>conftest.er1
10049 grep -v '^ *+' conftest.er1
>conftest.err
10051 cat conftest.err
>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); } &&
10054 { ac_try
='test -z "$ac_c_werror_flag"
10055 || test ! -s conftest.err'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; } &&
10061 { ac_try
='test -s conftest.$ac_objext'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; }; then
10067 ac_header_compiler
=yes
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.
$ac_ext >&5
10072 ac_header_compiler
=no
10074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10076 echo "${ECHO_T}$ac_header_compiler" >&6
10078 # Is the header present?
10079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10081 cat >conftest.
$ac_ext <<_ACEOF
10084 cat confdefs.h
>>conftest.
$ac_ext
10085 cat >>conftest.
$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10087 #include <$ac_header>
10089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10092 grep -v '^ *+' conftest.er1
>conftest.err
10094 cat conftest.err
>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); } >/dev
/null
; then
10097 if test -s conftest.err
; then
10098 ac_cpp_err
=$ac_c_preproc_warn_flag
10099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10106 if test -z "$ac_cpp_err"; then
10107 ac_header_preproc
=yes
10109 echo "$as_me: failed program was:" >&5
10110 sed 's/^/| /' conftest.
$ac_ext >&5
10112 ac_header_preproc
=no
10114 rm -f conftest.err conftest.
$ac_ext
10115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10116 echo "${ECHO_T}$ac_header_preproc" >&6
10118 # So? What about this header?
10119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10125 ac_header_preproc
=yes
10128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10142 ## ------------------------------------------ ##
10143 ## Report this to the AC_PACKAGE_NAME lists. ##
10144 ## ------------------------------------------ ##
10147 sed "s/^/$as_me: WARNING: /" >&2
10150 echo "$as_me:$LINENO: checking for $ac_header" >&5
10151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10155 eval "$as_ac_Header=\$ac_header_preproc"
10157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10162 cat >>confdefs.h
<<_ACEOF
10163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10171 for ac_header
in sys
/fault.h
10173 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10175 echo "$as_me:$LINENO: checking for $ac_header" >&5
10176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10183 # Is the header compilable?
10184 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10186 cat >conftest.
$ac_ext <<_ACEOF
10189 cat confdefs.h
>>conftest.
$ac_ext
10190 cat >>conftest.
$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10192 $ac_includes_default
10193 #include <$ac_header>
10195 rm -f conftest.
$ac_objext
10196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10197 (eval $ac_compile) 2>conftest.er1
10199 grep -v '^ *+' conftest.er1
>conftest.err
10201 cat conftest.err
>&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } &&
10204 { ac_try
='test -z "$ac_c_werror_flag"
10205 || test ! -s conftest.err'
10206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); }; } &&
10211 { ac_try
='test -s conftest.$ac_objext'
10212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10213 (eval $ac_try) 2>&5
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); }; }; then
10217 ac_header_compiler
=yes
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.
$ac_ext >&5
10222 ac_header_compiler
=no
10224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10226 echo "${ECHO_T}$ac_header_compiler" >&6
10228 # Is the header present?
10229 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10230 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10231 cat >conftest.
$ac_ext <<_ACEOF
10234 cat confdefs.h
>>conftest.
$ac_ext
10235 cat >>conftest.
$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10237 #include <$ac_header>
10239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10242 grep -v '^ *+' conftest.er1
>conftest.err
10244 cat conftest.err
>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); } >/dev
/null
; then
10247 if test -s conftest.err
; then
10248 ac_cpp_err
=$ac_c_preproc_warn_flag
10249 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10256 if test -z "$ac_cpp_err"; then
10257 ac_header_preproc
=yes
10259 echo "$as_me: failed program was:" >&5
10260 sed 's/^/| /' conftest.
$ac_ext >&5
10262 ac_header_preproc
=no
10264 rm -f conftest.err conftest.
$ac_ext
10265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10266 echo "${ECHO_T}$ac_header_preproc" >&6
10268 # So? What about this header?
10269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10271 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10272 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10274 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10275 ac_header_preproc
=yes
10278 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10279 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10280 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10281 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10282 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10283 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10284 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10285 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10288 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10289 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10292 ## ------------------------------------------ ##
10293 ## Report this to the AC_PACKAGE_NAME lists. ##
10294 ## ------------------------------------------ ##
10297 sed "s/^/$as_me: WARNING: /" >&2
10300 echo "$as_me:$LINENO: checking for $ac_header" >&5
10301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10303 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 eval "$as_ac_Header=\$ac_header_preproc"
10307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10312 cat >>confdefs.h
<<_ACEOF
10313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10321 for ac_header
in sys
/file.h
10323 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10325 echo "$as_me:$LINENO: checking for $ac_header" >&5
10326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10328 echo $ECHO_N "(cached) $ECHO_C" >&6
10330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10333 # Is the header compilable?
10334 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10335 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10336 cat >conftest.
$ac_ext <<_ACEOF
10339 cat confdefs.h
>>conftest.
$ac_ext
10340 cat >>conftest.
$ac_ext <<_ACEOF
10341 /* end confdefs.h. */
10342 $ac_includes_default
10343 #include <$ac_header>
10345 rm -f conftest.
$ac_objext
10346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10347 (eval $ac_compile) 2>conftest.er1
10349 grep -v '^ *+' conftest.er1
>conftest.err
10351 cat conftest.err
>&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); } &&
10354 { ac_try
='test -z "$ac_c_werror_flag"
10355 || test ! -s conftest.err'
10356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10357 (eval $ac_try) 2>&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); }; } &&
10361 { ac_try
='test -s conftest.$ac_objext'
10362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10363 (eval $ac_try) 2>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); }; }; then
10367 ac_header_compiler
=yes
10369 echo "$as_me: failed program was:" >&5
10370 sed 's/^/| /' conftest.
$ac_ext >&5
10372 ac_header_compiler
=no
10374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10376 echo "${ECHO_T}$ac_header_compiler" >&6
10378 # Is the header present?
10379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10381 cat >conftest.
$ac_ext <<_ACEOF
10384 cat confdefs.h
>>conftest.
$ac_ext
10385 cat >>conftest.
$ac_ext <<_ACEOF
10386 /* end confdefs.h. */
10387 #include <$ac_header>
10389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10392 grep -v '^ *+' conftest.er1
>conftest.err
10394 cat conftest.err
>&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } >/dev
/null
; then
10397 if test -s conftest.err
; then
10398 ac_cpp_err
=$ac_c_preproc_warn_flag
10399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10406 if test -z "$ac_cpp_err"; then
10407 ac_header_preproc
=yes
10409 echo "$as_me: failed program was:" >&5
10410 sed 's/^/| /' conftest.
$ac_ext >&5
10412 ac_header_preproc
=no
10414 rm -f conftest.err conftest.
$ac_ext
10415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10416 echo "${ECHO_T}$ac_header_preproc" >&6
10418 # So? What about this header?
10419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10425 ac_header_preproc
=yes
10428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10442 ## ------------------------------------------ ##
10443 ## Report this to the AC_PACKAGE_NAME lists. ##
10444 ## ------------------------------------------ ##
10447 sed "s/^/$as_me: WARNING: /" >&2
10450 echo "$as_me:$LINENO: checking for $ac_header" >&5
10451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 eval "$as_ac_Header=\$ac_header_preproc"
10457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10462 cat >>confdefs.h
<<_ACEOF
10463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10471 for ac_header
in sys
/filio.h
10473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10475 echo "$as_me:$LINENO: checking for $ac_header" >&5
10476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10478 echo $ECHO_N "(cached) $ECHO_C" >&6
10480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10483 # Is the header compilable?
10484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10486 cat >conftest.
$ac_ext <<_ACEOF
10489 cat confdefs.h
>>conftest.
$ac_ext
10490 cat >>conftest.
$ac_ext <<_ACEOF
10491 /* end confdefs.h. */
10492 $ac_includes_default
10493 #include <$ac_header>
10495 rm -f conftest.
$ac_objext
10496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10497 (eval $ac_compile) 2>conftest.er1
10499 grep -v '^ *+' conftest.er1
>conftest.err
10501 cat conftest.err
>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); } &&
10504 { ac_try
='test -z "$ac_c_werror_flag"
10505 || test ! -s conftest.err'
10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507 (eval $ac_try) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; } &&
10511 { ac_try
='test -s conftest.$ac_objext'
10512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10513 (eval $ac_try) 2>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; }; then
10517 ac_header_compiler
=yes
10519 echo "$as_me: failed program was:" >&5
10520 sed 's/^/| /' conftest.
$ac_ext >&5
10522 ac_header_compiler
=no
10524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10526 echo "${ECHO_T}$ac_header_compiler" >&6
10528 # Is the header present?
10529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10531 cat >conftest.
$ac_ext <<_ACEOF
10534 cat confdefs.h
>>conftest.
$ac_ext
10535 cat >>conftest.
$ac_ext <<_ACEOF
10536 /* end confdefs.h. */
10537 #include <$ac_header>
10539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10542 grep -v '^ *+' conftest.er1
>conftest.err
10544 cat conftest.err
>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); } >/dev
/null
; then
10547 if test -s conftest.err
; then
10548 ac_cpp_err
=$ac_c_preproc_warn_flag
10549 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10556 if test -z "$ac_cpp_err"; then
10557 ac_header_preproc
=yes
10559 echo "$as_me: failed program was:" >&5
10560 sed 's/^/| /' conftest.
$ac_ext >&5
10562 ac_header_preproc
=no
10564 rm -f conftest.err conftest.
$ac_ext
10565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10566 echo "${ECHO_T}$ac_header_preproc" >&6
10568 # So? What about this header?
10569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10575 ac_header_preproc
=yes
10578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10592 ## ------------------------------------------ ##
10593 ## Report this to the AC_PACKAGE_NAME lists. ##
10594 ## ------------------------------------------ ##
10597 sed "s/^/$as_me: WARNING: /" >&2
10600 echo "$as_me:$LINENO: checking for $ac_header" >&5
10601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10603 echo $ECHO_N "(cached) $ECHO_C" >&6
10605 eval "$as_ac_Header=\$ac_header_preproc"
10607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10612 cat >>confdefs.h
<<_ACEOF
10613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10621 for ac_header
in sys
/ioctl.h
10623 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10625 echo "$as_me:$LINENO: checking for $ac_header" >&5
10626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10628 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10633 # Is the header compilable?
10634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10636 cat >conftest.
$ac_ext <<_ACEOF
10639 cat confdefs.h
>>conftest.
$ac_ext
10640 cat >>conftest.
$ac_ext <<_ACEOF
10641 /* end confdefs.h. */
10642 $ac_includes_default
10643 #include <$ac_header>
10645 rm -f conftest.
$ac_objext
10646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10647 (eval $ac_compile) 2>conftest.er1
10649 grep -v '^ *+' conftest.er1
>conftest.err
10651 cat conftest.err
>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); } &&
10654 { ac_try
='test -z "$ac_c_werror_flag"
10655 || test ! -s conftest.err'
10656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10657 (eval $ac_try) 2>&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); }; } &&
10661 { ac_try
='test -s conftest.$ac_objext'
10662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10663 (eval $ac_try) 2>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); }; }; then
10667 ac_header_compiler
=yes
10669 echo "$as_me: failed program was:" >&5
10670 sed 's/^/| /' conftest.
$ac_ext >&5
10672 ac_header_compiler
=no
10674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10676 echo "${ECHO_T}$ac_header_compiler" >&6
10678 # Is the header present?
10679 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10680 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10681 cat >conftest.
$ac_ext <<_ACEOF
10684 cat confdefs.h
>>conftest.
$ac_ext
10685 cat >>conftest.
$ac_ext <<_ACEOF
10686 /* end confdefs.h. */
10687 #include <$ac_header>
10689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10690 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10692 grep -v '^ *+' conftest.er1
>conftest.err
10694 cat conftest.err
>&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); } >/dev
/null
; then
10697 if test -s conftest.err
; then
10698 ac_cpp_err
=$ac_c_preproc_warn_flag
10699 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10706 if test -z "$ac_cpp_err"; then
10707 ac_header_preproc
=yes
10709 echo "$as_me: failed program was:" >&5
10710 sed 's/^/| /' conftest.
$ac_ext >&5
10712 ac_header_preproc
=no
10714 rm -f conftest.err conftest.
$ac_ext
10715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10716 echo "${ECHO_T}$ac_header_preproc" >&6
10718 # So? What about this header?
10719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10721 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10722 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10724 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10725 ac_header_preproc
=yes
10728 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10729 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10730 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10731 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10732 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10733 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10734 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10735 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10738 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10739 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10742 ## ------------------------------------------ ##
10743 ## Report this to the AC_PACKAGE_NAME lists. ##
10744 ## ------------------------------------------ ##
10747 sed "s/^/$as_me: WARNING: /" >&2
10750 echo "$as_me:$LINENO: checking for $ac_header" >&5
10751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10753 echo $ECHO_N "(cached) $ECHO_C" >&6
10755 eval "$as_ac_Header=\$ac_header_preproc"
10757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10762 cat >>confdefs.h
<<_ACEOF
10763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10771 for ac_header
in sys
/param.h
10773 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10775 echo "$as_me:$LINENO: checking for $ac_header" >&5
10776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10778 echo $ECHO_N "(cached) $ECHO_C" >&6
10780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10783 # Is the header compilable?
10784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10786 cat >conftest.
$ac_ext <<_ACEOF
10789 cat confdefs.h
>>conftest.
$ac_ext
10790 cat >>conftest.
$ac_ext <<_ACEOF
10791 /* end confdefs.h. */
10792 $ac_includes_default
10793 #include <$ac_header>
10795 rm -f conftest.
$ac_objext
10796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10797 (eval $ac_compile) 2>conftest.er1
10799 grep -v '^ *+' conftest.er1
>conftest.err
10801 cat conftest.err
>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } &&
10804 { ac_try
='test -z "$ac_c_werror_flag"
10805 || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; } &&
10811 { ac_try
='test -s conftest.$ac_objext'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then
10817 ac_header_compiler
=yes
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.
$ac_ext >&5
10822 ac_header_compiler
=no
10824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10826 echo "${ECHO_T}$ac_header_compiler" >&6
10828 # Is the header present?
10829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10831 cat >conftest.
$ac_ext <<_ACEOF
10834 cat confdefs.h
>>conftest.
$ac_ext
10835 cat >>conftest.
$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10837 #include <$ac_header>
10839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10840 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10842 grep -v '^ *+' conftest.er1
>conftest.err
10844 cat conftest.err
>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } >/dev
/null
; then
10847 if test -s conftest.err
; then
10848 ac_cpp_err
=$ac_c_preproc_warn_flag
10849 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10856 if test -z "$ac_cpp_err"; then
10857 ac_header_preproc
=yes
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10862 ac_header_preproc
=no
10864 rm -f conftest.err conftest.
$ac_ext
10865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10866 echo "${ECHO_T}$ac_header_preproc" >&6
10868 # So? What about this header?
10869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10874 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10875 ac_header_preproc
=yes
10878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10882 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10883 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10884 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10885 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10888 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10889 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10892 ## ------------------------------------------ ##
10893 ## Report this to the AC_PACKAGE_NAME lists. ##
10894 ## ------------------------------------------ ##
10897 sed "s/^/$as_me: WARNING: /" >&2
10900 echo "$as_me:$LINENO: checking for $ac_header" >&5
10901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 eval "$as_ac_Header=\$ac_header_preproc"
10907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10912 cat >>confdefs.h
<<_ACEOF
10913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10921 for ac_header
in sys
/proc.h
10923 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10924 echo "$as_me:$LINENO: checking for $ac_header" >&5
10925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10927 echo $ECHO_N "(cached) $ECHO_C" >&6
10929 cat >conftest.
$ac_ext <<_ACEOF
10932 cat confdefs.h
>>conftest.
$ac_ext
10933 cat >>conftest.
$ac_ext <<_ACEOF
10934 /* end confdefs.h. */
10935 #if HAVE_SYS_PARAM_H
10936 # include <sys/param.h>
10940 #include <$ac_header>
10942 rm -f conftest.
$ac_objext
10943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10944 (eval $ac_compile) 2>conftest.er1
10946 grep -v '^ *+' conftest.er1
>conftest.err
10948 cat conftest.err
>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); } &&
10951 { ac_try
='test -z "$ac_c_werror_flag"
10952 || test ! -s conftest.err'
10953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10954 (eval $ac_try) 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; } &&
10958 { ac_try
='test -s conftest.$ac_objext'
10959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10960 (eval $ac_try) 2>&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); }; }; then
10964 eval "$as_ac_Header=yes"
10966 echo "$as_me: failed program was:" >&5
10967 sed 's/^/| /' conftest.
$ac_ext >&5
10969 eval "$as_ac_Header=no"
10971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10976 cat >>confdefs.h
<<_ACEOF
10977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10985 for ac_header
in sys
/procfs.h
10987 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10989 echo "$as_me:$LINENO: checking for $ac_header" >&5
10990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10992 echo $ECHO_N "(cached) $ECHO_C" >&6
10994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10997 # Is the header compilable?
10998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11000 cat >conftest.
$ac_ext <<_ACEOF
11003 cat confdefs.h
>>conftest.
$ac_ext
11004 cat >>conftest.
$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11006 $ac_includes_default
11007 #include <$ac_header>
11009 rm -f conftest.
$ac_objext
11010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11011 (eval $ac_compile) 2>conftest.er1
11013 grep -v '^ *+' conftest.er1
>conftest.err
11015 cat conftest.err
>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); } &&
11018 { ac_try
='test -z "$ac_c_werror_flag"
11019 || test ! -s conftest.err'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; } &&
11025 { ac_try
='test -s conftest.$ac_objext'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; }; then
11031 ac_header_compiler
=yes
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.
$ac_ext >&5
11036 ac_header_compiler
=no
11038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11040 echo "${ECHO_T}$ac_header_compiler" >&6
11042 # Is the header present?
11043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11045 cat >conftest.
$ac_ext <<_ACEOF
11048 cat confdefs.h
>>conftest.
$ac_ext
11049 cat >>conftest.
$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11051 #include <$ac_header>
11053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11056 grep -v '^ *+' conftest.er1
>conftest.err
11058 cat conftest.err
>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); } >/dev
/null
; then
11061 if test -s conftest.err
; then
11062 ac_cpp_err
=$ac_c_preproc_warn_flag
11063 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11070 if test -z "$ac_cpp_err"; then
11071 ac_header_preproc
=yes
11073 echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.
$ac_ext >&5
11076 ac_header_preproc
=no
11078 rm -f conftest.err conftest.
$ac_ext
11079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11080 echo "${ECHO_T}$ac_header_preproc" >&6
11082 # So? What about this header?
11083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11089 ac_header_preproc
=yes
11092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11106 ## ------------------------------------------ ##
11107 ## Report this to the AC_PACKAGE_NAME lists. ##
11108 ## ------------------------------------------ ##
11111 sed "s/^/$as_me: WARNING: /" >&2
11114 echo "$as_me:$LINENO: checking for $ac_header" >&5
11115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 eval "$as_ac_Header=\$ac_header_preproc"
11121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11126 cat >>confdefs.h
<<_ACEOF
11127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11136 for ac_header
in sys
/ptrace.h ptrace.h
11138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11140 echo "$as_me:$LINENO: checking for $ac_header" >&5
11141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11148 # Is the header compilable?
11149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11151 cat >conftest.
$ac_ext <<_ACEOF
11154 cat confdefs.h
>>conftest.
$ac_ext
11155 cat >>conftest.
$ac_ext <<_ACEOF
11156 /* end confdefs.h. */
11157 $ac_includes_default
11158 #include <$ac_header>
11160 rm -f conftest.
$ac_objext
11161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11162 (eval $ac_compile) 2>conftest.er1
11164 grep -v '^ *+' conftest.er1
>conftest.err
11166 cat conftest.err
>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } &&
11169 { ac_try
='test -z "$ac_c_werror_flag"
11170 || test ! -s conftest.err'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; } &&
11176 { ac_try
='test -s conftest.$ac_objext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 ac_header_compiler
=yes
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.
$ac_ext >&5
11187 ac_header_compiler
=no
11189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11191 echo "${ECHO_T}$ac_header_compiler" >&6
11193 # Is the header present?
11194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11196 cat >conftest.
$ac_ext <<_ACEOF
11199 cat confdefs.h
>>conftest.
$ac_ext
11200 cat >>conftest.
$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11202 #include <$ac_header>
11204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11207 grep -v '^ *+' conftest.er1
>conftest.err
11209 cat conftest.err
>&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); } >/dev
/null
; then
11212 if test -s conftest.err
; then
11213 ac_cpp_err
=$ac_c_preproc_warn_flag
11214 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11221 if test -z "$ac_cpp_err"; then
11222 ac_header_preproc
=yes
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.
$ac_ext >&5
11227 ac_header_preproc
=no
11229 rm -f conftest.err conftest.
$ac_ext
11230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11231 echo "${ECHO_T}$ac_header_preproc" >&6
11233 # So? What about this header?
11234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11240 ac_header_preproc
=yes
11243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11257 ## ------------------------------------------ ##
11258 ## Report this to the AC_PACKAGE_NAME lists. ##
11259 ## ------------------------------------------ ##
11262 sed "s/^/$as_me: WARNING: /" >&2
11265 echo "$as_me:$LINENO: checking for $ac_header" >&5
11266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11268 echo $ECHO_N "(cached) $ECHO_C" >&6
11270 eval "$as_ac_Header=\$ac_header_preproc"
11272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11277 cat >>confdefs.h
<<_ACEOF
11278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11287 for ac_header
in sys
/reg.h sys
/debugreg.h
11289 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11291 echo "$as_me:$LINENO: checking for $ac_header" >&5
11292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11299 # Is the header compilable?
11300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11302 cat >conftest.
$ac_ext <<_ACEOF
11305 cat confdefs.h
>>conftest.
$ac_ext
11306 cat >>conftest.
$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11308 $ac_includes_default
11309 #include <$ac_header>
11311 rm -f conftest.
$ac_objext
11312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11313 (eval $ac_compile) 2>conftest.er1
11315 grep -v '^ *+' conftest.er1
>conftest.err
11317 cat conftest.err
>&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); } &&
11320 { ac_try
='test -z "$ac_c_werror_flag"
11321 || test ! -s conftest.err'
11322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323 (eval $ac_try) 2>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); }; } &&
11327 { ac_try
='test -s conftest.$ac_objext'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; }; then
11333 ac_header_compiler
=yes
11335 echo "$as_me: failed program was:" >&5
11336 sed 's/^/| /' conftest.
$ac_ext >&5
11338 ac_header_compiler
=no
11340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11342 echo "${ECHO_T}$ac_header_compiler" >&6
11344 # Is the header present?
11345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11347 cat >conftest.
$ac_ext <<_ACEOF
11350 cat confdefs.h
>>conftest.
$ac_ext
11351 cat >>conftest.
$ac_ext <<_ACEOF
11352 /* end confdefs.h. */
11353 #include <$ac_header>
11355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11358 grep -v '^ *+' conftest.er1
>conftest.err
11360 cat conftest.err
>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } >/dev
/null
; then
11363 if test -s conftest.err
; then
11364 ac_cpp_err
=$ac_c_preproc_warn_flag
11365 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11372 if test -z "$ac_cpp_err"; then
11373 ac_header_preproc
=yes
11375 echo "$as_me: failed program was:" >&5
11376 sed 's/^/| /' conftest.
$ac_ext >&5
11378 ac_header_preproc
=no
11380 rm -f conftest.err conftest.
$ac_ext
11381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11382 echo "${ECHO_T}$ac_header_preproc" >&6
11384 # So? What about this header?
11385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11391 ac_header_preproc
=yes
11394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11408 ## ------------------------------------------ ##
11409 ## Report this to the AC_PACKAGE_NAME lists. ##
11410 ## ------------------------------------------ ##
11413 sed "s/^/$as_me: WARNING: /" >&2
11416 echo "$as_me:$LINENO: checking for $ac_header" >&5
11417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 eval "$as_ac_Header=\$ac_header_preproc"
11423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11428 cat >>confdefs.h
<<_ACEOF
11429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11437 for ac_header
in sys
/select.h
11439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11441 echo "$as_me:$LINENO: checking for $ac_header" >&5
11442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11444 echo $ECHO_N "(cached) $ECHO_C" >&6
11446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11449 # Is the header compilable?
11450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11452 cat >conftest.
$ac_ext <<_ACEOF
11455 cat confdefs.h
>>conftest.
$ac_ext
11456 cat >>conftest.
$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11458 $ac_includes_default
11459 #include <$ac_header>
11461 rm -f conftest.
$ac_objext
11462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11463 (eval $ac_compile) 2>conftest.er1
11465 grep -v '^ *+' conftest.er1
>conftest.err
11467 cat conftest.err
>&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); } &&
11470 { ac_try
='test -z "$ac_c_werror_flag"
11471 || test ! -s conftest.err'
11472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473 (eval $ac_try) 2>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); }; } &&
11477 { ac_try
='test -s conftest.$ac_objext'
11478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11479 (eval $ac_try) 2>&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); }; }; then
11483 ac_header_compiler
=yes
11485 echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.
$ac_ext >&5
11488 ac_header_compiler
=no
11490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11492 echo "${ECHO_T}$ac_header_compiler" >&6
11494 # Is the header present?
11495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11497 cat >conftest.
$ac_ext <<_ACEOF
11500 cat confdefs.h
>>conftest.
$ac_ext
11501 cat >>conftest.
$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11503 #include <$ac_header>
11505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11506 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11508 grep -v '^ *+' conftest.er1
>conftest.err
11510 cat conftest.err
>&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } >/dev
/null
; then
11513 if test -s conftest.err
; then
11514 ac_cpp_err
=$ac_c_preproc_warn_flag
11515 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11522 if test -z "$ac_cpp_err"; then
11523 ac_header_preproc
=yes
11525 echo "$as_me: failed program was:" >&5
11526 sed 's/^/| /' conftest.
$ac_ext >&5
11528 ac_header_preproc
=no
11530 rm -f conftest.err conftest.
$ac_ext
11531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11532 echo "${ECHO_T}$ac_header_preproc" >&6
11534 # So? What about this header?
11535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11541 ac_header_preproc
=yes
11544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11548 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11550 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11551 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11554 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11558 ## ------------------------------------------ ##
11559 ## Report this to the AC_PACKAGE_NAME lists. ##
11560 ## ------------------------------------------ ##
11563 sed "s/^/$as_me: WARNING: /" >&2
11566 echo "$as_me:$LINENO: checking for $ac_header" >&5
11567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11569 echo $ECHO_N "(cached) $ECHO_C" >&6
11571 eval "$as_ac_Header=\$ac_header_preproc"
11573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11578 cat >>confdefs.h
<<_ACEOF
11579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11587 for ac_header
in sys
/syscall.h
11589 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11591 echo "$as_me:$LINENO: checking for $ac_header" >&5
11592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11599 # Is the header compilable?
11600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11602 cat >conftest.
$ac_ext <<_ACEOF
11605 cat confdefs.h
>>conftest.
$ac_ext
11606 cat >>conftest.
$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11608 $ac_includes_default
11609 #include <$ac_header>
11611 rm -f conftest.
$ac_objext
11612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11613 (eval $ac_compile) 2>conftest.er1
11615 grep -v '^ *+' conftest.er1
>conftest.err
11617 cat conftest.err
>&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); } &&
11620 { ac_try
='test -z "$ac_c_werror_flag"
11621 || test ! -s conftest.err'
11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; } &&
11627 { ac_try
='test -s conftest.$ac_objext'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; }; then
11633 ac_header_compiler
=yes
11635 echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.
$ac_ext >&5
11638 ac_header_compiler
=no
11640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11642 echo "${ECHO_T}$ac_header_compiler" >&6
11644 # Is the header present?
11645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11647 cat >conftest.
$ac_ext <<_ACEOF
11650 cat confdefs.h
>>conftest.
$ac_ext
11651 cat >>conftest.
$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11653 #include <$ac_header>
11655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11658 grep -v '^ *+' conftest.er1
>conftest.err
11660 cat conftest.err
>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); } >/dev
/null
; then
11663 if test -s conftest.err
; then
11664 ac_cpp_err
=$ac_c_preproc_warn_flag
11665 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11672 if test -z "$ac_cpp_err"; then
11673 ac_header_preproc
=yes
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.
$ac_ext >&5
11678 ac_header_preproc
=no
11680 rm -f conftest.err conftest.
$ac_ext
11681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11682 echo "${ECHO_T}$ac_header_preproc" >&6
11684 # So? What about this header?
11685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11691 ac_header_preproc
=yes
11694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11708 ## ------------------------------------------ ##
11709 ## Report this to the AC_PACKAGE_NAME lists. ##
11710 ## ------------------------------------------ ##
11713 sed "s/^/$as_me: WARNING: /" >&2
11716 echo "$as_me:$LINENO: checking for $ac_header" >&5
11717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11719 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 eval "$as_ac_Header=\$ac_header_preproc"
11723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11728 cat >>confdefs.h
<<_ACEOF
11729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11737 for ac_header
in sys
/types.h
11739 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11741 echo "$as_me:$LINENO: checking for $ac_header" >&5
11742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11744 echo $ECHO_N "(cached) $ECHO_C" >&6
11746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11749 # Is the header compilable?
11750 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11751 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11752 cat >conftest.
$ac_ext <<_ACEOF
11755 cat confdefs.h
>>conftest.
$ac_ext
11756 cat >>conftest.
$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11758 $ac_includes_default
11759 #include <$ac_header>
11761 rm -f conftest.
$ac_objext
11762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11763 (eval $ac_compile) 2>conftest.er1
11765 grep -v '^ *+' conftest.er1
>conftest.err
11767 cat conftest.err
>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try
='test -z "$ac_c_werror_flag"
11771 || test ! -s conftest.err'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; } &&
11777 { ac_try
='test -s conftest.$ac_objext'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; }; then
11783 ac_header_compiler
=yes
11785 echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.
$ac_ext >&5
11788 ac_header_compiler
=no
11790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11792 echo "${ECHO_T}$ac_header_compiler" >&6
11794 # Is the header present?
11795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11797 cat >conftest.
$ac_ext <<_ACEOF
11800 cat confdefs.h
>>conftest.
$ac_ext
11801 cat >>conftest.
$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11803 #include <$ac_header>
11805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11808 grep -v '^ *+' conftest.er1
>conftest.err
11810 cat conftest.err
>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); } >/dev
/null
; then
11813 if test -s conftest.err
; then
11814 ac_cpp_err
=$ac_c_preproc_warn_flag
11815 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11822 if test -z "$ac_cpp_err"; then
11823 ac_header_preproc
=yes
11825 echo "$as_me: failed program was:" >&5
11826 sed 's/^/| /' conftest.
$ac_ext >&5
11828 ac_header_preproc
=no
11830 rm -f conftest.err conftest.
$ac_ext
11831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11832 echo "${ECHO_T}$ac_header_preproc" >&6
11834 # So? What about this header?
11835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11840 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11841 ac_header_preproc
=yes
11844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11849 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11851 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11855 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11858 ## ------------------------------------------ ##
11859 ## Report this to the AC_PACKAGE_NAME lists. ##
11860 ## ------------------------------------------ ##
11863 sed "s/^/$as_me: WARNING: /" >&2
11866 echo "$as_me:$LINENO: checking for $ac_header" >&5
11867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11871 eval "$as_ac_Header=\$ac_header_preproc"
11873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11878 cat >>confdefs.h
<<_ACEOF
11879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11887 for ac_header
in sys
/user.h
11889 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11890 echo "$as_me:$LINENO: checking for $ac_header" >&5
11891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11893 echo $ECHO_N "(cached) $ECHO_C" >&6
11895 cat >conftest.
$ac_ext <<_ACEOF
11898 cat confdefs.h
>>conftest.
$ac_ext
11899 cat >>conftest.
$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11901 #if HAVE_SYS_PARAM_H
11902 # include <sys/param.h>
11906 #include <$ac_header>
11908 rm -f conftest.
$ac_objext
11909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11910 (eval $ac_compile) 2>conftest.er1
11912 grep -v '^ *+' conftest.er1
>conftest.err
11914 cat conftest.err
>&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); } &&
11917 { ac_try
='test -z "$ac_c_werror_flag"
11918 || test ! -s conftest.err'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; } &&
11924 { ac_try
='test -s conftest.$ac_objext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then
11930 eval "$as_ac_Header=yes"
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.
$ac_ext >&5
11935 eval "$as_ac_Header=no"
11937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11942 cat >>confdefs.h
<<_ACEOF
11943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11952 for ac_header
in sys
/wait.h
wait.h
11954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11956 echo "$as_me:$LINENO: checking for $ac_header" >&5
11957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11964 # Is the header compilable?
11965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11967 cat >conftest.
$ac_ext <<_ACEOF
11970 cat confdefs.h
>>conftest.
$ac_ext
11971 cat >>conftest.
$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11973 $ac_includes_default
11974 #include <$ac_header>
11976 rm -f conftest.
$ac_objext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11978 (eval $ac_compile) 2>conftest.er1
11980 grep -v '^ *+' conftest.er1
>conftest.err
11982 cat conftest.err
>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } &&
11985 { ac_try
='test -z "$ac_c_werror_flag"
11986 || test ! -s conftest.err'
11987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11988 (eval $ac_try) 2>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; } &&
11992 { ac_try
='test -s conftest.$ac_objext'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; }; then
11998 ac_header_compiler
=yes
12000 echo "$as_me: failed program was:" >&5
12001 sed 's/^/| /' conftest.
$ac_ext >&5
12003 ac_header_compiler
=no
12005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12007 echo "${ECHO_T}$ac_header_compiler" >&6
12009 # Is the header present?
12010 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12012 cat >conftest.
$ac_ext <<_ACEOF
12015 cat confdefs.h
>>conftest.
$ac_ext
12016 cat >>conftest.
$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12018 #include <$ac_header>
12020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12023 grep -v '^ *+' conftest.er1
>conftest.err
12025 cat conftest.err
>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } >/dev
/null
; then
12028 if test -s conftest.err
; then
12029 ac_cpp_err
=$ac_c_preproc_warn_flag
12030 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12037 if test -z "$ac_cpp_err"; then
12038 ac_header_preproc
=yes
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.
$ac_ext >&5
12043 ac_header_preproc
=no
12045 rm -f conftest.err conftest.
$ac_ext
12046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12047 echo "${ECHO_T}$ac_header_preproc" >&6
12049 # So? What about this header?
12050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12055 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12056 ac_header_preproc
=yes
12059 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12061 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12062 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12063 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12064 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12065 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12066 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12069 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12070 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12073 ## ------------------------------------------ ##
12074 ## Report this to the AC_PACKAGE_NAME lists. ##
12075 ## ------------------------------------------ ##
12078 sed "s/^/$as_me: WARNING: /" >&2
12081 echo "$as_me:$LINENO: checking for $ac_header" >&5
12082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 eval "$as_ac_Header=\$ac_header_preproc"
12088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12093 cat >>confdefs.h
<<_ACEOF
12094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12104 for ac_header
in termios.h termio.h sgtty.h
12106 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12108 echo "$as_me:$LINENO: checking for $ac_header" >&5
12109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12111 echo $ECHO_N "(cached) $ECHO_C" >&6
12113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12116 # Is the header compilable?
12117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12119 cat >conftest.
$ac_ext <<_ACEOF
12122 cat confdefs.h
>>conftest.
$ac_ext
12123 cat >>conftest.
$ac_ext <<_ACEOF
12124 /* end confdefs.h. */
12125 $ac_includes_default
12126 #include <$ac_header>
12128 rm -f conftest.
$ac_objext
12129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12130 (eval $ac_compile) 2>conftest.er1
12132 grep -v '^ *+' conftest.er1
>conftest.err
12134 cat conftest.err
>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } &&
12137 { ac_try
='test -z "$ac_c_werror_flag"
12138 || test ! -s conftest.err'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; } &&
12144 { ac_try
='test -s conftest.$ac_objext'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; }; then
12150 ac_header_compiler
=yes
12152 echo "$as_me: failed program was:" >&5
12153 sed 's/^/| /' conftest.
$ac_ext >&5
12155 ac_header_compiler
=no
12157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12159 echo "${ECHO_T}$ac_header_compiler" >&6
12161 # Is the header present?
12162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12164 cat >conftest.
$ac_ext <<_ACEOF
12167 cat confdefs.h
>>conftest.
$ac_ext
12168 cat >>conftest.
$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12170 #include <$ac_header>
12172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12173 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12175 grep -v '^ *+' conftest.er1
>conftest.err
12177 cat conftest.err
>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } >/dev
/null
; then
12180 if test -s conftest.err
; then
12181 ac_cpp_err
=$ac_c_preproc_warn_flag
12182 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12189 if test -z "$ac_cpp_err"; then
12190 ac_header_preproc
=yes
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.
$ac_ext >&5
12195 ac_header_preproc
=no
12197 rm -f conftest.err conftest.
$ac_ext
12198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12199 echo "${ECHO_T}$ac_header_preproc" >&6
12201 # So? What about this header?
12202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12208 ac_header_preproc
=yes
12211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12225 ## ------------------------------------------ ##
12226 ## Report this to the AC_PACKAGE_NAME lists. ##
12227 ## ------------------------------------------ ##
12230 sed "s/^/$as_me: WARNING: /" >&2
12233 echo "$as_me:$LINENO: checking for $ac_header" >&5
12234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 eval "$as_ac_Header=\$ac_header_preproc"
12240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12245 cat >>confdefs.h
<<_ACEOF
12246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12254 for ac_header
in unistd.h
12256 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12258 echo "$as_me:$LINENO: checking for $ac_header" >&5
12259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12266 # Is the header compilable?
12267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12269 cat >conftest.
$ac_ext <<_ACEOF
12272 cat confdefs.h
>>conftest.
$ac_ext
12273 cat >>conftest.
$ac_ext <<_ACEOF
12274 /* end confdefs.h. */
12275 $ac_includes_default
12276 #include <$ac_header>
12278 rm -f conftest.
$ac_objext
12279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12280 (eval $ac_compile) 2>conftest.er1
12282 grep -v '^ *+' conftest.er1
>conftest.err
12284 cat conftest.err
>&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); } &&
12287 { ac_try
='test -z "$ac_c_werror_flag"
12288 || test ! -s conftest.err'
12289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12290 (eval $ac_try) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; } &&
12294 { ac_try
='test -s conftest.$ac_objext'
12295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 (eval $ac_try) 2>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); }; }; then
12300 ac_header_compiler
=yes
12302 echo "$as_me: failed program was:" >&5
12303 sed 's/^/| /' conftest.
$ac_ext >&5
12305 ac_header_compiler
=no
12307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12309 echo "${ECHO_T}$ac_header_compiler" >&6
12311 # Is the header present?
12312 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12313 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12314 cat >conftest.
$ac_ext <<_ACEOF
12317 cat confdefs.h
>>conftest.
$ac_ext
12318 cat >>conftest.
$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320 #include <$ac_header>
12322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12323 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12325 grep -v '^ *+' conftest.er1
>conftest.err
12327 cat conftest.err
>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } >/dev
/null
; then
12330 if test -s conftest.err
; then
12331 ac_cpp_err
=$ac_c_preproc_warn_flag
12332 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12339 if test -z "$ac_cpp_err"; then
12340 ac_header_preproc
=yes
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.
$ac_ext >&5
12345 ac_header_preproc
=no
12347 rm -f conftest.err conftest.
$ac_ext
12348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12349 echo "${ECHO_T}$ac_header_preproc" >&6
12351 # So? What about this header?
12352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12354 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12355 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12357 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12358 ac_header_preproc
=yes
12361 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12363 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12365 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12366 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12367 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12368 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12371 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12372 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12375 ## ------------------------------------------ ##
12376 ## Report this to the AC_PACKAGE_NAME lists. ##
12377 ## ------------------------------------------ ##
12380 sed "s/^/$as_me: WARNING: /" >&2
12383 echo "$as_me:$LINENO: checking for $ac_header" >&5
12384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12386 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 eval "$as_ac_Header=\$ac_header_preproc"
12390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12395 cat >>confdefs.h
<<_ACEOF
12396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12404 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
12405 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
12406 # think that we don't have <curses.h> if we're using GCC.
12409 if test "$GCC" = yes; then
12411 cat >>confdefs.h
<<\_ACEOF
12412 #define _MSE_INT_H 1
12421 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
12423 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12425 echo "$as_me:$LINENO: checking for $ac_header" >&5
12426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12433 # Is the header compilable?
12434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12436 cat >conftest.
$ac_ext <<_ACEOF
12439 cat confdefs.h
>>conftest.
$ac_ext
12440 cat >>conftest.
$ac_ext <<_ACEOF
12441 /* end confdefs.h. */
12442 $ac_includes_default
12443 #include <$ac_header>
12445 rm -f conftest.
$ac_objext
12446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12447 (eval $ac_compile) 2>conftest.er1
12449 grep -v '^ *+' conftest.er1
>conftest.err
12451 cat conftest.err
>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); } &&
12454 { ac_try
='test -z "$ac_c_werror_flag"
12455 || test ! -s conftest.err'
12456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12457 (eval $ac_try) 2>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); }; } &&
12461 { ac_try
='test -s conftest.$ac_objext'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; }; then
12467 ac_header_compiler
=yes
12469 echo "$as_me: failed program was:" >&5
12470 sed 's/^/| /' conftest.
$ac_ext >&5
12472 ac_header_compiler
=no
12474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12476 echo "${ECHO_T}$ac_header_compiler" >&6
12478 # Is the header present?
12479 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12481 cat >conftest.
$ac_ext <<_ACEOF
12484 cat confdefs.h
>>conftest.
$ac_ext
12485 cat >>conftest.
$ac_ext <<_ACEOF
12486 /* end confdefs.h. */
12487 #include <$ac_header>
12489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12490 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12492 grep -v '^ *+' conftest.er1
>conftest.err
12494 cat conftest.err
>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } >/dev
/null
; then
12497 if test -s conftest.err
; then
12498 ac_cpp_err
=$ac_c_preproc_warn_flag
12499 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12506 if test -z "$ac_cpp_err"; then
12507 ac_header_preproc
=yes
12509 echo "$as_me: failed program was:" >&5
12510 sed 's/^/| /' conftest.
$ac_ext >&5
12512 ac_header_preproc
=no
12514 rm -f conftest.err conftest.
$ac_ext
12515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12516 echo "${ECHO_T}$ac_header_preproc" >&6
12518 # So? What about this header?
12519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12525 ac_header_preproc
=yes
12528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12542 ## ------------------------------------------ ##
12543 ## Report this to the AC_PACKAGE_NAME lists. ##
12544 ## ------------------------------------------ ##
12547 sed "s/^/$as_me: WARNING: /" >&2
12550 echo "$as_me:$LINENO: checking for $ac_header" >&5
12551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 eval "$as_ac_Header=\$ac_header_preproc"
12557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12562 cat >>confdefs.h
<<_ACEOF
12563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12571 for ac_header
in ncurses
/term.h
12573 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12575 echo "$as_me:$LINENO: checking for $ac_header" >&5
12576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12583 # Is the header compilable?
12584 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12585 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12586 cat >conftest.
$ac_ext <<_ACEOF
12589 cat confdefs.h
>>conftest.
$ac_ext
12590 cat >>conftest.
$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12592 $ac_includes_default
12593 #include <$ac_header>
12595 rm -f conftest.
$ac_objext
12596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12597 (eval $ac_compile) 2>conftest.er1
12599 grep -v '^ *+' conftest.er1
>conftest.err
12601 cat conftest.err
>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try
='test -z "$ac_c_werror_flag"
12605 || test ! -s conftest.err'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; } &&
12611 { ac_try
='test -s conftest.$ac_objext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; }; then
12617 ac_header_compiler
=yes
12619 echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.
$ac_ext >&5
12622 ac_header_compiler
=no
12624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12626 echo "${ECHO_T}$ac_header_compiler" >&6
12628 # Is the header present?
12629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12631 cat >conftest.
$ac_ext <<_ACEOF
12634 cat confdefs.h
>>conftest.
$ac_ext
12635 cat >>conftest.
$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 #include <$ac_header>
12639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12640 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12642 grep -v '^ *+' conftest.er1
>conftest.err
12644 cat conftest.err
>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } >/dev
/null
; then
12647 if test -s conftest.err
; then
12648 ac_cpp_err
=$ac_c_preproc_warn_flag
12649 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12656 if test -z "$ac_cpp_err"; then
12657 ac_header_preproc
=yes
12659 echo "$as_me: failed program was:" >&5
12660 sed 's/^/| /' conftest.
$ac_ext >&5
12662 ac_header_preproc
=no
12664 rm -f conftest.err conftest.
$ac_ext
12665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12666 echo "${ECHO_T}$ac_header_preproc" >&6
12668 # So? What about this header?
12669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12674 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12675 ac_header_preproc
=yes
12678 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12679 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12680 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12681 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12683 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12684 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12685 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12688 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12689 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12692 ## ------------------------------------------ ##
12693 ## Report this to the AC_PACKAGE_NAME lists. ##
12694 ## ------------------------------------------ ##
12697 sed "s/^/$as_me: WARNING: /" >&2
12700 echo "$as_me:$LINENO: checking for $ac_header" >&5
12701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12703 echo $ECHO_N "(cached) $ECHO_C" >&6
12705 eval "$as_ac_Header=\$ac_header_preproc"
12707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12712 cat >>confdefs.h
<<_ACEOF
12713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12721 for ac_header
in term.h
12723 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12724 echo "$as_me:$LINENO: checking for $ac_header" >&5
12725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12727 echo $ECHO_N "(cached) $ECHO_C" >&6
12729 cat >conftest.
$ac_ext <<_ACEOF
12732 cat confdefs.h
>>conftest.
$ac_ext
12733 cat >>conftest.
$ac_ext <<_ACEOF
12734 /* end confdefs.h. */
12736 # include <curses.h>
12740 #include <$ac_header>
12742 rm -f conftest.
$ac_objext
12743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12744 (eval $ac_compile) 2>conftest.er1
12746 grep -v '^ *+' conftest.er1
>conftest.err
12748 cat conftest.err
>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } &&
12751 { ac_try
='test -z "$ac_c_werror_flag"
12752 || test ! -s conftest.err'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; } &&
12758 { ac_try
='test -s conftest.$ac_objext'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; }; then
12764 eval "$as_ac_Header=yes"
12766 echo "$as_me: failed program was:" >&5
12767 sed 's/^/| /' conftest.
$ac_ext >&5
12769 eval "$as_ac_Header=no"
12771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12776 cat >>confdefs.h
<<_ACEOF
12777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12785 # FIXME: kettenis/20030102: In most cases we include these
12786 # unconditionally, so what's the point in checking these?
12789 for ac_header
in ctype.h
time.h
12791 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12793 echo "$as_me:$LINENO: checking for $ac_header" >&5
12794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12796 echo $ECHO_N "(cached) $ECHO_C" >&6
12798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12801 # Is the header compilable?
12802 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12803 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12804 cat >conftest.
$ac_ext <<_ACEOF
12807 cat confdefs.h
>>conftest.
$ac_ext
12808 cat >>conftest.
$ac_ext <<_ACEOF
12809 /* end confdefs.h. */
12810 $ac_includes_default
12811 #include <$ac_header>
12813 rm -f conftest.
$ac_objext
12814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12815 (eval $ac_compile) 2>conftest.er1
12817 grep -v '^ *+' conftest.er1
>conftest.err
12819 cat conftest.err
>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); } &&
12822 { ac_try
='test -z "$ac_c_werror_flag"
12823 || test ! -s conftest.err'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; } &&
12829 { ac_try
='test -s conftest.$ac_objext'
12830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12831 (eval $ac_try) 2>&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); }; }; then
12835 ac_header_compiler
=yes
12837 echo "$as_me: failed program was:" >&5
12838 sed 's/^/| /' conftest.
$ac_ext >&5
12840 ac_header_compiler
=no
12842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12844 echo "${ECHO_T}$ac_header_compiler" >&6
12846 # Is the header present?
12847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12849 cat >conftest.
$ac_ext <<_ACEOF
12852 cat confdefs.h
>>conftest.
$ac_ext
12853 cat >>conftest.
$ac_ext <<_ACEOF
12854 /* end confdefs.h. */
12855 #include <$ac_header>
12857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12860 grep -v '^ *+' conftest.er1
>conftest.err
12862 cat conftest.err
>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } >/dev
/null
; then
12865 if test -s conftest.err
; then
12866 ac_cpp_err
=$ac_c_preproc_warn_flag
12867 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12874 if test -z "$ac_cpp_err"; then
12875 ac_header_preproc
=yes
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.
$ac_ext >&5
12880 ac_header_preproc
=no
12882 rm -f conftest.err conftest.
$ac_ext
12883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12884 echo "${ECHO_T}$ac_header_preproc" >&6
12886 # So? What about this header?
12887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12889 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12892 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12893 ac_header_preproc
=yes
12896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12897 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12899 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12900 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12901 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12902 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12903 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12907 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12910 ## ------------------------------------------ ##
12911 ## Report this to the AC_PACKAGE_NAME lists. ##
12912 ## ------------------------------------------ ##
12915 sed "s/^/$as_me: WARNING: /" >&2
12918 echo "$as_me:$LINENO: checking for $ac_header" >&5
12919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 eval "$as_ac_Header=\$ac_header_preproc"
12925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12930 cat >>confdefs.h
<<_ACEOF
12931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12939 # ------------------------- #
12940 # Checks for declarations. #
12941 # ------------------------- #
12943 echo "$as_me:$LINENO: checking whether free is declared" >&5
12944 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
12945 if test "${ac_cv_have_decl_free+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 cat >conftest.
$ac_ext <<_ACEOF
12951 cat confdefs.h
>>conftest.
$ac_ext
12952 cat >>conftest.
$ac_ext <<_ACEOF
12953 /* end confdefs.h. */
12954 $ac_includes_default
12959 char *p = (char *) free;
12966 rm -f conftest.
$ac_objext
12967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12968 (eval $ac_compile) 2>conftest.er1
12970 grep -v '^ *+' conftest.er1
>conftest.err
12972 cat conftest.err
>&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } &&
12975 { ac_try
='test -z "$ac_c_werror_flag"
12976 || test ! -s conftest.err'
12977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12978 (eval $ac_try) 2>&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); }; } &&
12982 { ac_try
='test -s conftest.$ac_objext'
12983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12984 (eval $ac_try) 2>&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); }; }; then
12988 ac_cv_have_decl_free
=yes
12990 echo "$as_me: failed program was:" >&5
12991 sed 's/^/| /' conftest.
$ac_ext >&5
12993 ac_cv_have_decl_free
=no
12995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12997 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
12998 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
12999 if test $ac_cv_have_decl_free = yes; then
13001 cat >>confdefs.h
<<_ACEOF
13002 #define HAVE_DECL_FREE 1
13007 cat >>confdefs.h
<<_ACEOF
13008 #define HAVE_DECL_FREE 0
13013 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
13014 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
13015 if test "${ac_cv_have_decl_malloc+set}" = set; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13018 cat >conftest.
$ac_ext <<_ACEOF
13021 cat confdefs.h
>>conftest.
$ac_ext
13022 cat >>conftest.
$ac_ext <<_ACEOF
13023 /* end confdefs.h. */
13024 $ac_includes_default
13029 char *p = (char *) malloc;
13036 rm -f conftest.
$ac_objext
13037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13038 (eval $ac_compile) 2>conftest.er1
13040 grep -v '^ *+' conftest.er1
>conftest.err
13042 cat conftest.err
>&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); } &&
13045 { ac_try
='test -z "$ac_c_werror_flag"
13046 || test ! -s conftest.err'
13047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13048 (eval $ac_try) 2>&5
13050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 (exit $ac_status); }; } &&
13052 { ac_try
='test -s conftest.$ac_objext'
13053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13054 (eval $ac_try) 2>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); }; }; then
13058 ac_cv_have_decl_malloc
=yes
13060 echo "$as_me: failed program was:" >&5
13061 sed 's/^/| /' conftest.
$ac_ext >&5
13063 ac_cv_have_decl_malloc
=no
13065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13067 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
13068 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
13069 if test $ac_cv_have_decl_malloc = yes; then
13071 cat >>confdefs.h
<<_ACEOF
13072 #define HAVE_DECL_MALLOC 1
13077 cat >>confdefs.h
<<_ACEOF
13078 #define HAVE_DECL_MALLOC 0
13083 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
13084 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
13085 if test "${ac_cv_have_decl_realloc+set}" = set; then
13086 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 cat >conftest.
$ac_ext <<_ACEOF
13091 cat confdefs.h
>>conftest.
$ac_ext
13092 cat >>conftest.
$ac_ext <<_ACEOF
13093 /* end confdefs.h. */
13094 $ac_includes_default
13099 char *p = (char *) realloc;
13106 rm -f conftest.
$ac_objext
13107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13108 (eval $ac_compile) 2>conftest.er1
13110 grep -v '^ *+' conftest.er1
>conftest.err
13112 cat conftest.err
>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } &&
13115 { ac_try
='test -z "$ac_c_werror_flag"
13116 || test ! -s conftest.err'
13117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13118 (eval $ac_try) 2>&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); }; } &&
13122 { ac_try
='test -s conftest.$ac_objext'
13123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13124 (eval $ac_try) 2>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }; }; then
13128 ac_cv_have_decl_realloc
=yes
13130 echo "$as_me: failed program was:" >&5
13131 sed 's/^/| /' conftest.
$ac_ext >&5
13133 ac_cv_have_decl_realloc
=no
13135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13137 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
13138 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
13139 if test $ac_cv_have_decl_realloc = yes; then
13141 cat >>confdefs.h
<<_ACEOF
13142 #define HAVE_DECL_REALLOC 1
13147 cat >>confdefs.h
<<_ACEOF
13148 #define HAVE_DECL_REALLOC 0
13155 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
13156 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
13157 if test "${ac_cv_have_decl_strerror+set}" = set; then
13158 echo $ECHO_N "(cached) $ECHO_C" >&6
13160 cat >conftest.
$ac_ext <<_ACEOF
13163 cat confdefs.h
>>conftest.
$ac_ext
13164 cat >>conftest.
$ac_ext <<_ACEOF
13165 /* end confdefs.h. */
13166 $ac_includes_default
13171 char *p = (char *) strerror;
13178 rm -f conftest.
$ac_objext
13179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13180 (eval $ac_compile) 2>conftest.er1
13182 grep -v '^ *+' conftest.er1
>conftest.err
13184 cat conftest.err
>&5
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); } &&
13187 { ac_try
='test -z "$ac_c_werror_flag"
13188 || test ! -s conftest.err'
13189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13190 (eval $ac_try) 2>&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); }; } &&
13194 { ac_try
='test -s conftest.$ac_objext'
13195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196 (eval $ac_try) 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; }; then
13200 ac_cv_have_decl_strerror
=yes
13202 echo "$as_me: failed program was:" >&5
13203 sed 's/^/| /' conftest.
$ac_ext >&5
13205 ac_cv_have_decl_strerror
=no
13207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13209 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
13210 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
13211 if test $ac_cv_have_decl_strerror = yes; then
13213 cat >>confdefs.h
<<_ACEOF
13214 #define HAVE_DECL_STRERROR 1
13219 cat >>confdefs.h
<<_ACEOF
13220 #define HAVE_DECL_STRERROR 0
13225 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
13226 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
13227 if test "${ac_cv_have_decl_strstr+set}" = set; then
13228 echo $ECHO_N "(cached) $ECHO_C" >&6
13230 cat >conftest.
$ac_ext <<_ACEOF
13233 cat confdefs.h
>>conftest.
$ac_ext
13234 cat >>conftest.
$ac_ext <<_ACEOF
13235 /* end confdefs.h. */
13236 $ac_includes_default
13241 char *p = (char *) strstr;
13248 rm -f conftest.
$ac_objext
13249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13250 (eval $ac_compile) 2>conftest.er1
13252 grep -v '^ *+' conftest.er1
>conftest.err
13254 cat conftest.err
>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); } &&
13257 { ac_try
='test -z "$ac_c_werror_flag"
13258 || test ! -s conftest.err'
13259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13260 (eval $ac_try) 2>&5
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); }; } &&
13264 { ac_try
='test -s conftest.$ac_objext'
13265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13266 (eval $ac_try) 2>&5
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }; }; then
13270 ac_cv_have_decl_strstr
=yes
13272 echo "$as_me: failed program was:" >&5
13273 sed 's/^/| /' conftest.
$ac_ext >&5
13275 ac_cv_have_decl_strstr
=no
13277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13279 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
13280 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
13281 if test $ac_cv_have_decl_strstr = yes; then
13283 cat >>confdefs.h
<<_ACEOF
13284 #define HAVE_DECL_STRSTR 1
13289 cat >>confdefs.h
<<_ACEOF
13290 #define HAVE_DECL_STRSTR 0
13297 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
13298 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
13299 if test "${ac_cv_have_decl_getopt+set}" = set; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 cat >conftest.
$ac_ext <<_ACEOF
13305 cat confdefs.h
>>conftest.
$ac_ext
13306 cat >>conftest.
$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13308 $ac_includes_default
13313 char *p = (char *) getopt;
13320 rm -f conftest.
$ac_objext
13321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13322 (eval $ac_compile) 2>conftest.er1
13324 grep -v '^ *+' conftest.er1
>conftest.err
13326 cat conftest.err
>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try
='test -z "$ac_c_werror_flag"
13330 || test ! -s conftest.err'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; } &&
13336 { ac_try
='test -s conftest.$ac_objext'
13337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13338 (eval $ac_try) 2>&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; }; then
13342 ac_cv_have_decl_getopt
=yes
13344 echo "$as_me: failed program was:" >&5
13345 sed 's/^/| /' conftest.
$ac_ext >&5
13347 ac_cv_have_decl_getopt
=no
13349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13351 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
13352 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
13353 if test $ac_cv_have_decl_getopt = yes; then
13355 cat >>confdefs.h
<<_ACEOF
13356 #define HAVE_DECL_GETOPT 1
13361 cat >>confdefs.h
<<_ACEOF
13362 #define HAVE_DECL_GETOPT 0
13367 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
13368 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
13369 if test "${ac_cv_have_decl_snprintf+set}" = set; then
13370 echo $ECHO_N "(cached) $ECHO_C" >&6
13372 cat >conftest.
$ac_ext <<_ACEOF
13375 cat confdefs.h
>>conftest.
$ac_ext
13376 cat >>conftest.
$ac_ext <<_ACEOF
13377 /* end confdefs.h. */
13378 $ac_includes_default
13383 char *p = (char *) snprintf;
13390 rm -f conftest.
$ac_objext
13391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13392 (eval $ac_compile) 2>conftest.er1
13394 grep -v '^ *+' conftest.er1
>conftest.err
13396 cat conftest.err
>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); } &&
13399 { ac_try
='test -z "$ac_c_werror_flag"
13400 || test ! -s conftest.err'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; } &&
13406 { ac_try
='test -s conftest.$ac_objext'
13407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13408 (eval $ac_try) 2>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); }; }; then
13412 ac_cv_have_decl_snprintf
=yes
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.
$ac_ext >&5
13417 ac_cv_have_decl_snprintf
=no
13419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13421 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
13422 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
13423 if test $ac_cv_have_decl_snprintf = yes; then
13425 cat >>confdefs.h
<<_ACEOF
13426 #define HAVE_DECL_SNPRINTF 1
13431 cat >>confdefs.h
<<_ACEOF
13432 #define HAVE_DECL_SNPRINTF 0
13437 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
13438 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
13439 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13442 cat >conftest.
$ac_ext <<_ACEOF
13445 cat confdefs.h
>>conftest.
$ac_ext
13446 cat >>conftest.
$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13448 $ac_includes_default
13453 char *p = (char *) vsnprintf;
13460 rm -f conftest.
$ac_objext
13461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13462 (eval $ac_compile) 2>conftest.er1
13464 grep -v '^ *+' conftest.er1
>conftest.err
13466 cat conftest.err
>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try
='test -z "$ac_c_werror_flag"
13470 || test ! -s conftest.err'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try
='test -s conftest.$ac_objext'
13477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 (eval $ac_try) 2>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }; }; then
13482 ac_cv_have_decl_vsnprintf
=yes
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.
$ac_ext >&5
13487 ac_cv_have_decl_vsnprintf
=no
13489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13491 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
13492 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
13493 if test $ac_cv_have_decl_vsnprintf = yes; then
13495 cat >>confdefs.h
<<_ACEOF
13496 #define HAVE_DECL_VSNPRINTF 1
13501 cat >>confdefs.h
<<_ACEOF
13502 #define HAVE_DECL_VSNPRINTF 0
13510 # ----------------------- #
13511 # Checks for structures. #
13512 # ----------------------- #
13514 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
13515 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
13516 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
13517 echo $ECHO_N "(cached) $ECHO_C" >&6
13519 cat >conftest.
$ac_ext <<_ACEOF
13522 cat confdefs.h
>>conftest.
$ac_ext
13523 cat >>conftest.
$ac_ext <<_ACEOF
13524 /* end confdefs.h. */
13525 $ac_includes_default
13529 static struct stat ac_aggr;
13530 if (ac_aggr.st_blocks)
13536 rm -f conftest.
$ac_objext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13538 (eval $ac_compile) 2>conftest.er1
13540 grep -v '^ *+' conftest.er1
>conftest.err
13542 cat conftest.err
>&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); } &&
13545 { ac_try
='test -z "$ac_c_werror_flag"
13546 || test ! -s conftest.err'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; } &&
13552 { ac_try
='test -s conftest.$ac_objext'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; }; then
13558 ac_cv_member_struct_stat_st_blocks
=yes
13560 echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.
$ac_ext >&5
13563 cat >conftest.
$ac_ext <<_ACEOF
13566 cat confdefs.h
>>conftest.
$ac_ext
13567 cat >>conftest.
$ac_ext <<_ACEOF
13568 /* end confdefs.h. */
13569 $ac_includes_default
13573 static struct stat ac_aggr;
13574 if (sizeof ac_aggr.st_blocks)
13580 rm -f conftest.
$ac_objext
13581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13582 (eval $ac_compile) 2>conftest.er1
13584 grep -v '^ *+' conftest.er1
>conftest.err
13586 cat conftest.err
>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); } &&
13589 { ac_try
='test -z "$ac_c_werror_flag"
13590 || test ! -s conftest.err'
13591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13592 (eval $ac_try) 2>&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); }; } &&
13596 { ac_try
='test -s conftest.$ac_objext'
13597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13598 (eval $ac_try) 2>&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); }; }; then
13602 ac_cv_member_struct_stat_st_blocks
=yes
13604 echo "$as_me: failed program was:" >&5
13605 sed 's/^/| /' conftest.
$ac_ext >&5
13607 ac_cv_member_struct_stat_st_blocks
=no
13609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13613 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
13614 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
13615 if test $ac_cv_member_struct_stat_st_blocks = yes; then
13617 cat >>confdefs.h
<<_ACEOF
13618 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13624 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
13625 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
13626 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
13627 echo $ECHO_N "(cached) $ECHO_C" >&6
13629 cat >conftest.
$ac_ext <<_ACEOF
13632 cat confdefs.h
>>conftest.
$ac_ext
13633 cat >>conftest.
$ac_ext <<_ACEOF
13634 /* end confdefs.h. */
13635 $ac_includes_default
13639 static struct stat ac_aggr;
13640 if (ac_aggr.st_blksize)
13646 rm -f conftest.
$ac_objext
13647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13648 (eval $ac_compile) 2>conftest.er1
13650 grep -v '^ *+' conftest.er1
>conftest.err
13652 cat conftest.err
>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); } &&
13655 { ac_try
='test -z "$ac_c_werror_flag"
13656 || test ! -s conftest.err'
13657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13658 (eval $ac_try) 2>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); }; } &&
13662 { ac_try
='test -s conftest.$ac_objext'
13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13664 (eval $ac_try) 2>&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; }; then
13668 ac_cv_member_struct_stat_st_blksize
=yes
13670 echo "$as_me: failed program was:" >&5
13671 sed 's/^/| /' conftest.
$ac_ext >&5
13673 cat >conftest.
$ac_ext <<_ACEOF
13676 cat confdefs.h
>>conftest.
$ac_ext
13677 cat >>conftest.
$ac_ext <<_ACEOF
13678 /* end confdefs.h. */
13679 $ac_includes_default
13683 static struct stat ac_aggr;
13684 if (sizeof ac_aggr.st_blksize)
13690 rm -f conftest.
$ac_objext
13691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13692 (eval $ac_compile) 2>conftest.er1
13694 grep -v '^ *+' conftest.er1
>conftest.err
13696 cat conftest.err
>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } &&
13699 { ac_try
='test -z "$ac_c_werror_flag"
13700 || test ! -s conftest.err'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; } &&
13706 { ac_try
='test -s conftest.$ac_objext'
13707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; }; then
13712 ac_cv_member_struct_stat_st_blksize
=yes
13714 echo "$as_me: failed program was:" >&5
13715 sed 's/^/| /' conftest.
$ac_ext >&5
13717 ac_cv_member_struct_stat_st_blksize
=no
13719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13723 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
13724 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
13725 if test $ac_cv_member_struct_stat_st_blksize = yes; then
13727 cat >>confdefs.h
<<_ACEOF
13728 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
13735 # ------------------ #
13736 # Checks for types. #
13737 # ------------------ #
13739 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13740 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
13741 if test "${ac_cv_type_signal+set}" = set; then
13742 echo $ECHO_N "(cached) $ECHO_C" >&6
13744 cat >conftest.
$ac_ext <<_ACEOF
13747 cat confdefs.h
>>conftest.
$ac_ext
13748 cat >>conftest.
$ac_ext <<_ACEOF
13749 /* end confdefs.h. */
13750 #include <sys/types.h>
13751 #include <signal.h>
13756 extern "C" void (*signal (int, void (*)(int)))(int);
13758 void (*signal ()) ();
13769 rm -f conftest.
$ac_objext
13770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13771 (eval $ac_compile) 2>conftest.er1
13773 grep -v '^ *+' conftest.er1
>conftest.err
13775 cat conftest.err
>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); } &&
13778 { ac_try
='test -z "$ac_c_werror_flag"
13779 || test ! -s conftest.err'
13780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13781 (eval $ac_try) 2>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; } &&
13785 { ac_try
='test -s conftest.$ac_objext'
13786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13787 (eval $ac_try) 2>&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); }; }; then
13791 ac_cv_type_signal
=void
13793 echo "$as_me: failed program was:" >&5
13794 sed 's/^/| /' conftest.
$ac_ext >&5
13796 ac_cv_type_signal
=int
13798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13800 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13801 echo "${ECHO_T}$ac_cv_type_signal" >&6
13803 cat >>confdefs.h
<<_ACEOF
13804 #define RETSIGTYPE $ac_cv_type_signal
13808 echo "$as_me:$LINENO: checking for socklen_t" >&5
13809 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
13810 if test "${ac_cv_type_socklen_t+set}" = set; then
13811 echo $ECHO_N "(cached) $ECHO_C" >&6
13813 cat >conftest.
$ac_ext <<_ACEOF
13816 cat confdefs.h
>>conftest.
$ac_ext
13817 cat >>conftest.
$ac_ext <<_ACEOF
13818 /* end confdefs.h. */
13819 #include <sys/types.h>
13820 #include <sys/socket.h>
13826 if ((socklen_t *) 0)
13828 if (sizeof (socklen_t))
13834 rm -f conftest.
$ac_objext
13835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13836 (eval $ac_compile) 2>conftest.er1
13838 grep -v '^ *+' conftest.er1
>conftest.err
13840 cat conftest.err
>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } &&
13843 { ac_try
='test -z "$ac_c_werror_flag"
13844 || test ! -s conftest.err'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; } &&
13850 { ac_try
='test -s conftest.$ac_objext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 ac_cv_type_socklen_t
=yes
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.
$ac_ext >&5
13861 ac_cv_type_socklen_t
=no
13863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13865 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
13866 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
13867 if test $ac_cv_type_socklen_t = yes; then
13869 cat >>confdefs.h
<<_ACEOF
13870 #define HAVE_SOCKLEN_T 1
13876 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13877 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13878 if test "${ac_cv_type_uintptr_t+set}" = set; then
13879 echo $ECHO_N "(cached) $ECHO_C" >&6
13881 cat >conftest.
$ac_ext <<_ACEOF
13884 cat confdefs.h
>>conftest.
$ac_ext
13885 cat >>conftest.
$ac_ext <<_ACEOF
13886 /* end confdefs.h. */
13887 #include <stdint.h>
13892 if ((uintptr_t *) 0)
13894 if (sizeof (uintptr_t))
13900 rm -f conftest.
$ac_objext
13901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13902 (eval $ac_compile) 2>conftest.er1
13904 grep -v '^ *+' conftest.er1
>conftest.err
13906 cat conftest.err
>&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); } &&
13909 { ac_try
='test -z "$ac_c_werror_flag"
13910 || test ! -s conftest.err'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; } &&
13916 { ac_try
='test -s conftest.$ac_objext'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; }; then
13922 ac_cv_type_uintptr_t
=yes
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.
$ac_ext >&5
13927 ac_cv_type_uintptr_t
=no
13929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13931 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13932 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13933 if test $ac_cv_type_uintptr_t = yes; then
13935 cat >>confdefs.h
<<_ACEOF
13936 #define HAVE_UINTPTR_T 1
13943 # ------------------------------------- #
13944 # Checks for compiler characteristics. #
13945 # ------------------------------------- #
13947 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13948 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13949 if test "${ac_cv_c_const+set}" = set; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13952 cat >conftest.
$ac_ext <<_ACEOF
13955 cat confdefs.h
>>conftest.
$ac_ext
13956 cat >>conftest.
$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13962 /* FIXME: Include the comments suggested by Paul. */
13963 #ifndef __cplusplus
13964 /* Ultrix mips cc rejects this. */
13965 typedef int charset[2];
13967 /* SunOS 4.1.1 cc rejects this. */
13968 char const *const *ccp;
13970 /* NEC SVR4.0.2 mips cc rejects this. */
13971 struct point {int x, y;};
13972 static struct point const zero = {0,0};
13973 /* AIX XL C 1.02.0.0 rejects this.
13974 It does not let you subtract one const X* pointer from another in
13975 an arm of an if-expression whose if-part is not a constant
13977 const char *g = "string";
13978 ccp = &g + (g ? g-g : 0);
13979 /* HPUX 7.0 cc rejects these. */
13982 ccp = (char const *const *) p;
13983 { /* SCO 3.2v4 cc rejects this. */
13985 char const *s = 0 ? (char *) 0 : (char const *) 0;
13989 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13990 int x[] = {25, 17};
13991 const int *foo = &x[0];
13994 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13995 typedef const int *iptr;
13999 { /* AIX XL C 1.02.0.0 rejects this saying
14000 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14001 struct s { int j; const int *ap[3]; };
14002 struct s *b; b->j = 5;
14004 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14005 const int foo = 10;
14013 rm -f conftest.
$ac_objext
14014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14015 (eval $ac_compile) 2>conftest.er1
14017 grep -v '^ *+' conftest.er1
>conftest.err
14019 cat conftest.err
>&5
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); } &&
14022 { ac_try
='test -z "$ac_c_werror_flag"
14023 || test ! -s conftest.err'
14024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14025 (eval $ac_try) 2>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); }; } &&
14029 { ac_try
='test -s conftest.$ac_objext'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; }; then
14037 echo "$as_me: failed program was:" >&5
14038 sed 's/^/| /' conftest.
$ac_ext >&5
14042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14044 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14045 echo "${ECHO_T}$ac_cv_c_const" >&6
14046 if test $ac_cv_c_const = no
; then
14048 cat >>confdefs.h
<<\_ACEOF
14054 echo "$as_me:$LINENO: checking for inline" >&5
14055 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14056 if test "${ac_cv_c_inline+set}" = set; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14060 for ac_kw
in inline __inline__ __inline
; do
14061 cat >conftest.
$ac_ext <<_ACEOF
14064 cat confdefs.h
>>conftest.
$ac_ext
14065 cat >>conftest.
$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067 #ifndef __cplusplus
14069 static $ac_kw foo_t static_foo () {return 0; }
14070 $ac_kw foo_t foo () {return 0; }
14074 rm -f conftest.
$ac_objext
14075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14076 (eval $ac_compile) 2>conftest.er1
14078 grep -v '^ *+' conftest.er1
>conftest.err
14080 cat conftest.err
>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } &&
14083 { ac_try
='test -z "$ac_c_werror_flag"
14084 || test ! -s conftest.err'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; } &&
14090 { ac_try
='test -s conftest.$ac_objext'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; }; then
14096 ac_cv_c_inline
=$ac_kw; break
14098 echo "$as_me: failed program was:" >&5
14099 sed 's/^/| /' conftest.
$ac_ext >&5
14102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14106 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14107 echo "${ECHO_T}$ac_cv_c_inline" >&6
14110 case $ac_cv_c_inline in
14113 case $ac_cv_c_inline in
14115 *) ac_val
=$ac_cv_c_inline;;
14117 cat >>confdefs.h
<<_ACEOF
14118 #ifndef __cplusplus
14119 #define inline $ac_val
14126 # ------------------------------ #
14127 # Checks for library functions. #
14128 # ------------------------------ #
14130 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14131 # for constant arguments. Useless!
14132 echo "$as_me:$LINENO: checking for working alloca.h" >&5
14133 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
14134 if test "${ac_cv_working_alloca_h+set}" = set; then
14135 echo $ECHO_N "(cached) $ECHO_C" >&6
14137 cat >conftest.
$ac_ext <<_ACEOF
14140 cat confdefs.h
>>conftest.
$ac_ext
14141 cat >>conftest.
$ac_ext <<_ACEOF
14142 /* end confdefs.h. */
14143 #include <alloca.h>
14147 char *p = (char *) alloca (2 * sizeof (int));
14152 rm -f conftest.
$ac_objext conftest
$ac_exeext
14153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14154 (eval $ac_link) 2>conftest.er1
14156 grep -v '^ *+' conftest.er1
>conftest.err
14158 cat conftest.err
>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); } &&
14161 { ac_try
='test -z "$ac_c_werror_flag"
14162 || test ! -s conftest.err'
14163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 (eval $ac_try) 2>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }; } &&
14168 { ac_try
='test -s conftest$ac_exeext'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; }; then
14174 ac_cv_working_alloca_h
=yes
14176 echo "$as_me: failed program was:" >&5
14177 sed 's/^/| /' conftest.
$ac_ext >&5
14179 ac_cv_working_alloca_h
=no
14181 rm -f conftest.err conftest.
$ac_objext \
14182 conftest
$ac_exeext conftest.
$ac_ext
14184 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
14185 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
14186 if test $ac_cv_working_alloca_h = yes; then
14188 cat >>confdefs.h
<<\_ACEOF
14189 #define HAVE_ALLOCA_H 1
14194 echo "$as_me:$LINENO: checking for alloca" >&5
14195 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
14196 if test "${ac_cv_func_alloca_works+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14199 cat >conftest.
$ac_ext <<_ACEOF
14202 cat confdefs.h
>>conftest.
$ac_ext
14203 cat >>conftest.
$ac_ext <<_ACEOF
14204 /* end confdefs.h. */
14206 # define alloca __builtin_alloca
14209 # include <malloc.h>
14210 # define alloca _alloca
14213 # include <alloca.h>
14218 # ifndef alloca /* predefined by HP cc +Olibcalls */
14229 char *p = (char *) alloca (1);
14234 rm -f conftest.
$ac_objext conftest
$ac_exeext
14235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14236 (eval $ac_link) 2>conftest.er1
14238 grep -v '^ *+' conftest.er1
>conftest.err
14240 cat conftest.err
>&5
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); } &&
14243 { ac_try
='test -z "$ac_c_werror_flag"
14244 || test ! -s conftest.err'
14245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246 (eval $ac_try) 2>&5
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; } &&
14250 { ac_try
='test -s conftest$ac_exeext'
14251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14252 (eval $ac_try) 2>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); }; }; then
14256 ac_cv_func_alloca_works
=yes
14258 echo "$as_me: failed program was:" >&5
14259 sed 's/^/| /' conftest.
$ac_ext >&5
14261 ac_cv_func_alloca_works
=no
14263 rm -f conftest.err conftest.
$ac_objext \
14264 conftest
$ac_exeext conftest.
$ac_ext
14266 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
14267 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
14269 if test $ac_cv_func_alloca_works = yes; then
14271 cat >>confdefs.h
<<\_ACEOF
14272 #define HAVE_ALLOCA 1
14276 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14277 # that cause trouble. Some versions do not even contain alloca or
14278 # contain a buggy version. If you still want to use their alloca,
14279 # use ar to extract alloca.o from them instead of compiling alloca.c.
14281 ALLOCA
=alloca.
$ac_objext
14283 cat >>confdefs.h
<<\_ACEOF
14288 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
14289 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
14290 if test "${ac_cv_os_cray+set}" = set; then
14291 echo $ECHO_N "(cached) $ECHO_C" >&6
14293 cat >conftest.
$ac_ext <<_ACEOF
14296 cat confdefs.h
>>conftest.
$ac_ext
14297 cat >>conftest.
$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 #if defined(CRAY) && ! defined(CRAY2)
14306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14307 $EGREP "webecray" >/dev
/null
2>&1; then
14315 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
14316 echo "${ECHO_T}$ac_cv_os_cray" >&6
14317 if test $ac_cv_os_cray = yes; then
14318 for ac_func
in _getb67 GETB67 getb67
; do
14319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14320 echo "$as_me:$LINENO: checking for $ac_func" >&5
14321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14322 if eval "test \"\${$as_ac_var+set}\" = set"; then
14323 echo $ECHO_N "(cached) $ECHO_C" >&6
14325 cat >conftest.
$ac_ext <<_ACEOF
14328 cat confdefs.h
>>conftest.
$ac_ext
14329 cat >>conftest.
$ac_ext <<_ACEOF
14330 /* end confdefs.h. */
14331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14333 #define $ac_func innocuous_$ac_func
14335 /* System header to define __stub macros and hopefully few prototypes,
14336 which can conflict with char $ac_func (); below.
14337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14338 <limits.h> exists even on freestanding compilers. */
14341 # include <limits.h>
14343 # include <assert.h>
14348 /* Override any gcc2 internal prototype to avoid an error. */
14353 /* We use char because int might match the return type of a gcc2
14354 builtin and then its argument prototype would still apply. */
14356 /* The GNU C library defines this for functions which it implements
14357 to always fail with ENOSYS. Some functions are actually named
14358 something starting with __ and the normal name is an alias. */
14359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14362 char (*f) () = $ac_func;
14371 return f != $ac_func;
14376 rm -f conftest.
$ac_objext conftest
$ac_exeext
14377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14378 (eval $ac_link) 2>conftest.er1
14380 grep -v '^ *+' conftest.er1
>conftest.err
14382 cat conftest.err
>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } &&
14385 { ac_try
='test -z "$ac_c_werror_flag"
14386 || test ! -s conftest.err'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; } &&
14392 { ac_try
='test -s conftest$ac_exeext'
14393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14394 (eval $ac_try) 2>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }; }; then
14398 eval "$as_ac_var=yes"
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.
$ac_ext >&5
14403 eval "$as_ac_var=no"
14405 rm -f conftest.err conftest.
$ac_objext \
14406 conftest
$ac_exeext conftest.
$ac_ext
14408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14410 if test `eval echo '${'$as_ac_var'}'` = yes; then
14412 cat >>confdefs.h
<<_ACEOF
14413 #define CRAY_STACKSEG_END $ac_func
14422 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
14423 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
14424 if test "${ac_cv_c_stack_direction+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 if test "$cross_compiling" = yes; then
14428 ac_cv_c_stack_direction
=0
14430 cat >conftest.
$ac_ext <<_ACEOF
14433 cat confdefs.h
>>conftest.
$ac_ext
14434 cat >>conftest.
$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14437 find_stack_direction ()
14439 static char *addr = 0;
14444 return find_stack_direction ();
14447 return (&dummy > addr) ? 1 : -1;
14453 exit (find_stack_direction () < 0);
14456 rm -f conftest
$ac_exeext
14457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14458 (eval $ac_link) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14463 (eval $ac_try) 2>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }; }; then
14467 ac_cv_c_stack_direction
=1
14469 echo "$as_me: program exited with status $ac_status" >&5
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.
$ac_ext >&5
14473 ( exit $ac_status )
14474 ac_cv_c_stack_direction
=-1
14476 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14479 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
14480 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
14482 cat >>confdefs.h
<<_ACEOF
14483 #define STACK_DIRECTION $ac_cv_c_stack_direction
14491 for ac_header
in stdlib.h unistd.h
14493 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14495 echo "$as_me:$LINENO: checking for $ac_header" >&5
14496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14498 echo $ECHO_N "(cached) $ECHO_C" >&6
14500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14503 # Is the header compilable?
14504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14506 cat >conftest.
$ac_ext <<_ACEOF
14509 cat confdefs.h
>>conftest.
$ac_ext
14510 cat >>conftest.
$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14512 $ac_includes_default
14513 #include <$ac_header>
14515 rm -f conftest.
$ac_objext
14516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14517 (eval $ac_compile) 2>conftest.er1
14519 grep -v '^ *+' conftest.er1
>conftest.err
14521 cat conftest.err
>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); } &&
14524 { ac_try
='test -z "$ac_c_werror_flag"
14525 || test ! -s conftest.err'
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527 (eval $ac_try) 2>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; } &&
14531 { ac_try
='test -s conftest.$ac_objext'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; }; then
14537 ac_header_compiler
=yes
14539 echo "$as_me: failed program was:" >&5
14540 sed 's/^/| /' conftest.
$ac_ext >&5
14542 ac_header_compiler
=no
14544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14546 echo "${ECHO_T}$ac_header_compiler" >&6
14548 # Is the header present?
14549 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14551 cat >conftest.
$ac_ext <<_ACEOF
14554 cat confdefs.h
>>conftest.
$ac_ext
14555 cat >>conftest.
$ac_ext <<_ACEOF
14556 /* end confdefs.h. */
14557 #include <$ac_header>
14559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14560 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14562 grep -v '^ *+' conftest.er1
>conftest.err
14564 cat conftest.err
>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } >/dev
/null
; then
14567 if test -s conftest.err
; then
14568 ac_cpp_err
=$ac_c_preproc_warn_flag
14569 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14576 if test -z "$ac_cpp_err"; then
14577 ac_header_preproc
=yes
14579 echo "$as_me: failed program was:" >&5
14580 sed 's/^/| /' conftest.
$ac_ext >&5
14582 ac_header_preproc
=no
14584 rm -f conftest.err conftest.
$ac_ext
14585 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14586 echo "${ECHO_T}$ac_header_preproc" >&6
14588 # So? What about this header?
14589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14591 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14592 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14594 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14595 ac_header_preproc
=yes
14598 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14599 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14600 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14601 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14602 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14603 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14604 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14605 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14608 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14609 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14612 ## ------------------------------------------ ##
14613 ## Report this to the AC_PACKAGE_NAME lists. ##
14614 ## ------------------------------------------ ##
14617 sed "s/^/$as_me: WARNING: /" >&2
14620 echo "$as_me:$LINENO: checking for $ac_header" >&5
14621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14623 echo $ECHO_N "(cached) $ECHO_C" >&6
14625 eval "$as_ac_Header=\$ac_header_preproc"
14627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14632 cat >>confdefs.h
<<_ACEOF
14633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14641 for ac_func
in getpagesize
14643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14644 echo "$as_me:$LINENO: checking for $ac_func" >&5
14645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14646 if eval "test \"\${$as_ac_var+set}\" = set"; then
14647 echo $ECHO_N "(cached) $ECHO_C" >&6
14649 cat >conftest.
$ac_ext <<_ACEOF
14652 cat confdefs.h
>>conftest.
$ac_ext
14653 cat >>conftest.
$ac_ext <<_ACEOF
14654 /* end confdefs.h. */
14655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14657 #define $ac_func innocuous_$ac_func
14659 /* System header to define __stub macros and hopefully few prototypes,
14660 which can conflict with char $ac_func (); below.
14661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14662 <limits.h> exists even on freestanding compilers. */
14665 # include <limits.h>
14667 # include <assert.h>
14672 /* Override any gcc2 internal prototype to avoid an error. */
14677 /* We use char because int might match the return type of a gcc2
14678 builtin and then its argument prototype would still apply. */
14680 /* The GNU C library defines this for functions which it implements
14681 to always fail with ENOSYS. Some functions are actually named
14682 something starting with __ and the normal name is an alias. */
14683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14686 char (*f) () = $ac_func;
14695 return f != $ac_func;
14700 rm -f conftest.
$ac_objext conftest
$ac_exeext
14701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14702 (eval $ac_link) 2>conftest.er1
14704 grep -v '^ *+' conftest.er1
>conftest.err
14706 cat conftest.err
>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); } &&
14709 { ac_try
='test -z "$ac_c_werror_flag"
14710 || test ! -s conftest.err'
14711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14712 (eval $ac_try) 2>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); }; } &&
14716 { ac_try
='test -s conftest$ac_exeext'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; }; then
14722 eval "$as_ac_var=yes"
14724 echo "$as_me: failed program was:" >&5
14725 sed 's/^/| /' conftest.
$ac_ext >&5
14727 eval "$as_ac_var=no"
14729 rm -f conftest.err conftest.
$ac_objext \
14730 conftest
$ac_exeext conftest.
$ac_ext
14732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14734 if test `eval echo '${'$as_ac_var'}'` = yes; then
14735 cat >>confdefs.h
<<_ACEOF
14736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14742 echo "$as_me:$LINENO: checking for working mmap" >&5
14743 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14744 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 if test "$cross_compiling" = yes; then
14748 ac_cv_func_mmap_fixed_mapped
=no
14750 cat >conftest.
$ac_ext <<_ACEOF
14753 cat confdefs.h
>>conftest.
$ac_ext
14754 cat >>conftest.
$ac_ext <<_ACEOF
14755 /* end confdefs.h. */
14756 $ac_includes_default
14757 /* malloc might have been renamed as rpl_malloc. */
14760 /* Thanks to Mike Haertel and Jim Avera for this test.
14761 Here is a matrix of mmap possibilities:
14762 mmap private not fixed
14763 mmap private fixed at somewhere currently unmapped
14764 mmap private fixed at somewhere already mapped
14765 mmap shared not fixed
14766 mmap shared fixed at somewhere currently unmapped
14767 mmap shared fixed at somewhere already mapped
14768 For private mappings, we should verify that changes cannot be read()
14769 back from the file, nor mmap's back from the file at a different
14770 address. (There have been systems where private was not correctly
14771 implemented like the infamous i386 svr4.0, and systems where the
14772 VM page cache was not coherent with the file system buffer cache
14773 like early versions of FreeBSD and possibly contemporary NetBSD.)
14774 For shared mappings, we should conversely verify that changes get
14775 propagated back to all the places they're supposed to be.
14777 Grep wants private fixed already mapped.
14778 The main things grep needs to know about mmap are:
14779 * does it exist and is it safe to write into the mmap'd area
14780 * how to use it (BSD variants) */
14783 #include <sys/mman.h>
14785 #if !STDC_HEADERS && !HAVE_STDLIB_H
14789 /* This mess was copied from the GNU getpagesize.h. */
14790 #if !HAVE_GETPAGESIZE
14791 /* Assume that all systems that can run configure have sys/param.h. */
14792 # if !HAVE_SYS_PARAM_H
14793 # define HAVE_SYS_PARAM_H 1
14796 # ifdef _SC_PAGESIZE
14797 # define getpagesize() sysconf(_SC_PAGESIZE)
14798 # else /* no _SC_PAGESIZE */
14799 # if HAVE_SYS_PARAM_H
14800 # include <sys/param.h>
14801 # ifdef EXEC_PAGESIZE
14802 # define getpagesize() EXEC_PAGESIZE
14803 # else /* no EXEC_PAGESIZE */
14805 # define getpagesize() NBPG * CLSIZE
14808 # endif /* no CLSIZE */
14809 # else /* no NBPG */
14811 # define getpagesize() NBPC
14812 # else /* no NBPC */
14814 # define getpagesize() PAGESIZE
14815 # endif /* PAGESIZE */
14816 # endif /* no NBPC */
14817 # endif /* no NBPG */
14818 # endif /* no EXEC_PAGESIZE */
14819 # else /* no HAVE_SYS_PARAM_H */
14820 # define getpagesize() 8192 /* punt totally */
14821 # endif /* no HAVE_SYS_PARAM_H */
14822 # endif /* no _SC_PAGESIZE */
14824 #endif /* no HAVE_GETPAGESIZE */
14829 char *data, *data2, *data3;
14833 pagesize = getpagesize ();
14835 /* First, make a file with some known garbage in it. */
14836 data = (char *) malloc (pagesize);
14839 for (i = 0; i < pagesize; ++i)
14840 *(data + i) = rand ();
14842 fd = creat ("conftest.mmap", 0600);
14845 if (write (fd, data, pagesize) != pagesize)
14849 /* Next, try to mmap the file at a fixed address which already has
14850 something else allocated at it. If we can, also make sure that
14851 we see the same garbage. */
14852 fd = open ("conftest.mmap", O_RDWR);
14855 data2 = (char *) malloc (2 * pagesize);
14858 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14859 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14860 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14862 for (i = 0; i < pagesize; ++i)
14863 if (*(data + i) != *(data2 + i))
14866 /* Finally, make sure that changes to the mapped area do not
14867 percolate back to the file as seen by read(). (This is a bug on
14868 some variants of i386 svr4.0.) */
14869 for (i = 0; i < pagesize; ++i)
14870 *(data2 + i) = *(data2 + i) + 1;
14871 data3 = (char *) malloc (pagesize);
14874 if (read (fd, data3, pagesize) != pagesize)
14876 for (i = 0; i < pagesize; ++i)
14877 if (*(data + i) != *(data3 + i))
14883 rm -f conftest
$ac_exeext
14884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14885 (eval $ac_link) 2>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14890 (eval $ac_try) 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; }; then
14894 ac_cv_func_mmap_fixed_mapped
=yes
14896 echo "$as_me: program exited with status $ac_status" >&5
14897 echo "$as_me: failed program was:" >&5
14898 sed 's/^/| /' conftest.
$ac_ext >&5
14900 ( exit $ac_status )
14901 ac_cv_func_mmap_fixed_mapped
=no
14903 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14906 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14907 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14908 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14910 cat >>confdefs.h
<<\_ACEOF
14911 #define HAVE_MMAP 1
14915 rm -f conftest.mmap
14917 echo "$as_me:$LINENO: checking for pid_t" >&5
14918 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14919 if test "${ac_cv_type_pid_t+set}" = set; then
14920 echo $ECHO_N "(cached) $ECHO_C" >&6
14922 cat >conftest.
$ac_ext <<_ACEOF
14925 cat confdefs.h
>>conftest.
$ac_ext
14926 cat >>conftest.
$ac_ext <<_ACEOF
14927 /* end confdefs.h. */
14928 $ac_includes_default
14934 if (sizeof (pid_t))
14940 rm -f conftest.
$ac_objext
14941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14942 (eval $ac_compile) 2>conftest.er1
14944 grep -v '^ *+' conftest.er1
>conftest.err
14946 cat conftest.err
>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); } &&
14949 { ac_try
='test -z "$ac_c_werror_flag"
14950 || test ! -s conftest.err'
14951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14952 (eval $ac_try) 2>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); }; } &&
14956 { ac_try
='test -s conftest.$ac_objext'
14957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958 (eval $ac_try) 2>&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; }; then
14962 ac_cv_type_pid_t
=yes
14964 echo "$as_me: failed program was:" >&5
14965 sed 's/^/| /' conftest.
$ac_ext >&5
14967 ac_cv_type_pid_t
=no
14969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14971 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
14972 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
14973 if test $ac_cv_type_pid_t = yes; then
14977 cat >>confdefs.h
<<_ACEOF
14985 for ac_header
in unistd.h vfork.h
14987 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14989 echo "$as_me:$LINENO: checking for $ac_header" >&5
14990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14992 echo $ECHO_N "(cached) $ECHO_C" >&6
14994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14997 # Is the header compilable?
14998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15000 cat >conftest.
$ac_ext <<_ACEOF
15003 cat confdefs.h
>>conftest.
$ac_ext
15004 cat >>conftest.
$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15006 $ac_includes_default
15007 #include <$ac_header>
15009 rm -f conftest.
$ac_objext
15010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15011 (eval $ac_compile) 2>conftest.er1
15013 grep -v '^ *+' conftest.er1
>conftest.err
15015 cat conftest.err
>&5
15016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017 (exit $ac_status); } &&
15018 { ac_try
='test -z "$ac_c_werror_flag"
15019 || test ! -s conftest.err'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; } &&
15025 { ac_try
='test -s conftest.$ac_objext'
15026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15027 (eval $ac_try) 2>&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); }; }; then
15031 ac_header_compiler
=yes
15033 echo "$as_me: failed program was:" >&5
15034 sed 's/^/| /' conftest.
$ac_ext >&5
15036 ac_header_compiler
=no
15038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15040 echo "${ECHO_T}$ac_header_compiler" >&6
15042 # Is the header present?
15043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15045 cat >conftest.
$ac_ext <<_ACEOF
15048 cat confdefs.h
>>conftest.
$ac_ext
15049 cat >>conftest.
$ac_ext <<_ACEOF
15050 /* end confdefs.h. */
15051 #include <$ac_header>
15053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15056 grep -v '^ *+' conftest.er1
>conftest.err
15058 cat conftest.err
>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } >/dev
/null
; then
15061 if test -s conftest.err
; then
15062 ac_cpp_err
=$ac_c_preproc_warn_flag
15063 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15070 if test -z "$ac_cpp_err"; then
15071 ac_header_preproc
=yes
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.
$ac_ext >&5
15076 ac_header_preproc
=no
15078 rm -f conftest.err conftest.
$ac_ext
15079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15080 echo "${ECHO_T}$ac_header_preproc" >&6
15082 # So? What about this header?
15083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15089 ac_header_preproc
=yes
15092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15106 ## ------------------------------------------ ##
15107 ## Report this to the AC_PACKAGE_NAME lists. ##
15108 ## ------------------------------------------ ##
15111 sed "s/^/$as_me: WARNING: /" >&2
15114 echo "$as_me:$LINENO: checking for $ac_header" >&5
15115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 eval "$as_ac_Header=\$ac_header_preproc"
15121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15126 cat >>confdefs.h
<<_ACEOF
15127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15136 for ac_func
in fork vfork
15138 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15139 echo "$as_me:$LINENO: checking for $ac_func" >&5
15140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15141 if eval "test \"\${$as_ac_var+set}\" = set"; then
15142 echo $ECHO_N "(cached) $ECHO_C" >&6
15144 cat >conftest.
$ac_ext <<_ACEOF
15147 cat confdefs.h
>>conftest.
$ac_ext
15148 cat >>conftest.
$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15152 #define $ac_func innocuous_$ac_func
15154 /* System header to define __stub macros and hopefully few prototypes,
15155 which can conflict with char $ac_func (); below.
15156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15157 <limits.h> exists even on freestanding compilers. */
15160 # include <limits.h>
15162 # include <assert.h>
15167 /* Override any gcc2 internal prototype to avoid an error. */
15172 /* We use char because int might match the return type of a gcc2
15173 builtin and then its argument prototype would still apply. */
15175 /* The GNU C library defines this for functions which it implements
15176 to always fail with ENOSYS. Some functions are actually named
15177 something starting with __ and the normal name is an alias. */
15178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15181 char (*f) () = $ac_func;
15190 return f != $ac_func;
15195 rm -f conftest.
$ac_objext conftest
$ac_exeext
15196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15197 (eval $ac_link) 2>conftest.er1
15199 grep -v '^ *+' conftest.er1
>conftest.err
15201 cat conftest.err
>&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); } &&
15204 { ac_try
='test -z "$ac_c_werror_flag"
15205 || test ! -s conftest.err'
15206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15207 (eval $ac_try) 2>&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); }; } &&
15211 { ac_try
='test -s conftest$ac_exeext'
15212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15213 (eval $ac_try) 2>&5
15215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15216 (exit $ac_status); }; }; then
15217 eval "$as_ac_var=yes"
15219 echo "$as_me: failed program was:" >&5
15220 sed 's/^/| /' conftest.
$ac_ext >&5
15222 eval "$as_ac_var=no"
15224 rm -f conftest.err conftest.
$ac_objext \
15225 conftest
$ac_exeext conftest.
$ac_ext
15227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15229 if test `eval echo '${'$as_ac_var'}'` = yes; then
15230 cat >>confdefs.h
<<_ACEOF
15231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15237 if test "x$ac_cv_func_fork" = xyes
; then
15238 echo "$as_me:$LINENO: checking for working fork" >&5
15239 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
15240 if test "${ac_cv_func_fork_works+set}" = set; then
15241 echo $ECHO_N "(cached) $ECHO_C" >&6
15243 if test "$cross_compiling" = yes; then
15244 ac_cv_func_fork_works
=cross
15246 cat >conftest.
$ac_ext <<_ACEOF
15247 /* By Ruediger Kuhlmann. */
15248 #include <sys/types.h>
15250 # include <unistd.h>
15252 /* Some systems only have a dummy stub for fork() */
15260 rm -f conftest
$ac_exeext
15261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15262 (eval $ac_link) 2>&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15267 (eval $ac_try) 2>&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); }; }; then
15271 ac_cv_func_fork_works
=yes
15273 echo "$as_me: program exited with status $ac_status" >&5
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.
$ac_ext >&5
15277 ( exit $ac_status )
15278 ac_cv_func_fork_works
=no
15280 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15283 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
15284 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
15287 ac_cv_func_fork_works
=$ac_cv_func_fork
15289 if test "x$ac_cv_func_fork_works" = xcross
; then
15291 *-*-amigaos* |
*-*-msdosdjgpp*)
15292 # Override, as these systems have only a dummy fork() stub
15293 ac_cv_func_fork_works
=no
15296 ac_cv_func_fork_works
=yes
15299 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
15300 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
15302 ac_cv_func_vfork_works
=$ac_cv_func_vfork
15303 if test "x$ac_cv_func_vfork" = xyes
; then
15304 echo "$as_me:$LINENO: checking for working vfork" >&5
15305 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
15306 if test "${ac_cv_func_vfork_works+set}" = set; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15309 if test "$cross_compiling" = yes; then
15310 ac_cv_func_vfork_works
=cross
15312 cat >conftest.
$ac_ext <<_ACEOF
15315 cat confdefs.h
>>conftest.
$ac_ext
15316 cat >>conftest.
$ac_ext <<_ACEOF
15317 /* end confdefs.h. */
15318 /* Thanks to Paul Eggert for this test. */
15320 #include <stdlib.h>
15321 #include <sys/types.h>
15322 #include <sys/stat.h>
15323 #include <sys/wait.h>
15325 # include <unistd.h>
15328 # include <vfork.h>
15330 /* On some sparc systems, changes by the child to local and incoming
15331 argument registers are propagated back to the parent. The compiler
15332 is told about this with #include <vfork.h>, but some compilers
15333 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
15334 static variable whose address is put into a register that is
15335 clobbered by the vfork. */
15338 sparc_address_test (int arg)
15340 sparc_address_test (arg) int arg;
15343 static pid_t child;
15361 pid_t parent = getpid ();
15364 sparc_address_test (0);
15369 /* Here is another test for sparc vfork register problems. This
15370 test uses lots of local variables, at least as many local
15371 variables as main has allocated so far including compiler
15372 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
15373 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
15374 reuse the register of parent for one of the local variables,
15375 since it will think that parent can't possibly be used any more
15376 in this routine. Assigning to the local variable will thus
15377 munge parent in the parent process. */
15379 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
15380 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
15381 /* Convince the compiler that p..p7 are live; otherwise, it might
15382 use the same hardware register for all 8 local variables. */
15383 if (p != p1 || p != p2 || p != p3 || p != p4
15384 || p != p5 || p != p6 || p != p7)
15387 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
15388 from child file descriptors. If the child closes a descriptor
15389 before it execs or exits, this munges the parent's descriptor
15390 as well. Test for this by closing stdout in the child. */
15391 _exit(close(fileno(stdout)) != 0);
15396 while (wait(&status) != child)
15399 /* Was there some problem with vforking? */
15402 /* Did the child fail? (This shouldn't happen.) */
15405 /* Did the vfork/compiler bug occur? */
15406 || parent != getpid()
15408 /* Did the file descriptor bug occur? */
15409 || fstat(fileno(stdout), &st) != 0
15414 rm -f conftest
$ac_exeext
15415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15416 (eval $ac_link) 2>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; }; then
15425 ac_cv_func_vfork_works
=yes
15427 echo "$as_me: program exited with status $ac_status" >&5
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.
$ac_ext >&5
15431 ( exit $ac_status )
15432 ac_cv_func_vfork_works
=no
15434 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15437 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
15438 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
15441 if test "x$ac_cv_func_fork_works" = xcross
; then
15442 ac_cv_func_vfork_works
=$ac_cv_func_vfork
15443 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
15444 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
15447 if test "x$ac_cv_func_vfork_works" = xyes
; then
15449 cat >>confdefs.h
<<\_ACEOF
15450 #define HAVE_WORKING_VFORK 1
15455 cat >>confdefs.h
<<\_ACEOF
15460 if test "x$ac_cv_func_fork_works" = xyes
; then
15462 cat >>confdefs.h
<<\_ACEOF
15463 #define HAVE_WORKING_FORK 1
15470 for ac_func
in canonicalize_file_name realpath
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"
15539 || test ! -s conftest.err'
15540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15541 (eval $ac_try) 2>&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); }; } &&
15545 { ac_try
='test -s conftest$ac_exeext'
15546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15547 (eval $ac_try) 2>&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); }; }; then
15551 eval "$as_ac_var=yes"
15553 echo "$as_me: failed program was:" >&5
15554 sed 's/^/| /' conftest.
$ac_ext >&5
15556 eval "$as_ac_var=no"
15558 rm -f conftest.err conftest.
$ac_objext \
15559 conftest
$ac_exeext conftest.
$ac_ext
15561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15563 if test `eval echo '${'$as_ac_var'}'` = yes; then
15564 cat >>confdefs.h
<<_ACEOF
15565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15573 for ac_func
in getuid getgid
15575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15576 echo "$as_me:$LINENO: checking for $ac_func" >&5
15577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15578 if eval "test \"\${$as_ac_var+set}\" = set"; then
15579 echo $ECHO_N "(cached) $ECHO_C" >&6
15581 cat >conftest.
$ac_ext <<_ACEOF
15584 cat confdefs.h
>>conftest.
$ac_ext
15585 cat >>conftest.
$ac_ext <<_ACEOF
15586 /* end confdefs.h. */
15587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15589 #define $ac_func innocuous_$ac_func
15591 /* System header to define __stub macros and hopefully few prototypes,
15592 which can conflict with char $ac_func (); below.
15593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15594 <limits.h> exists even on freestanding compilers. */
15597 # include <limits.h>
15599 # include <assert.h>
15604 /* Override any gcc2 internal prototype to avoid an error. */
15609 /* We use char because int might match the return type of a gcc2
15610 builtin and then its argument prototype would still apply. */
15612 /* The GNU C library defines this for functions which it implements
15613 to always fail with ENOSYS. Some functions are actually named
15614 something starting with __ and the normal name is an alias. */
15615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15618 char (*f) () = $ac_func;
15627 return f != $ac_func;
15632 rm -f conftest.
$ac_objext conftest
$ac_exeext
15633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15634 (eval $ac_link) 2>conftest.er1
15636 grep -v '^ *+' conftest.er1
>conftest.err
15638 cat conftest.err
>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } &&
15641 { ac_try
='test -z "$ac_c_werror_flag"
15642 || test ! -s conftest.err'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } &&
15648 { ac_try
='test -s conftest$ac_exeext'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; }; then
15654 eval "$as_ac_var=yes"
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.
$ac_ext >&5
15659 eval "$as_ac_var=no"
15661 rm -f conftest.err conftest.
$ac_objext \
15662 conftest
$ac_exeext conftest.
$ac_ext
15664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15666 if test `eval echo '${'$as_ac_var'}'` = yes; then
15667 cat >>confdefs.h
<<_ACEOF
15668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15675 for ac_func
in poll
15677 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15678 echo "$as_me:$LINENO: checking for $ac_func" >&5
15679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15680 if eval "test \"\${$as_ac_var+set}\" = set"; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15683 cat >conftest.
$ac_ext <<_ACEOF
15686 cat confdefs.h
>>conftest.
$ac_ext
15687 cat >>conftest.
$ac_ext <<_ACEOF
15688 /* end confdefs.h. */
15689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15691 #define $ac_func innocuous_$ac_func
15693 /* System header to define __stub macros and hopefully few prototypes,
15694 which can conflict with char $ac_func (); below.
15695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15696 <limits.h> exists even on freestanding compilers. */
15699 # include <limits.h>
15701 # include <assert.h>
15706 /* Override any gcc2 internal prototype to avoid an error. */
15711 /* We use char because int might match the return type of a gcc2
15712 builtin and then its argument prototype would still apply. */
15714 /* The GNU C library defines this for functions which it implements
15715 to always fail with ENOSYS. Some functions are actually named
15716 something starting with __ and the normal name is an alias. */
15717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15720 char (*f) () = $ac_func;
15729 return f != $ac_func;
15734 rm -f conftest.
$ac_objext conftest
$ac_exeext
15735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15736 (eval $ac_link) 2>conftest.er1
15738 grep -v '^ *+' conftest.er1
>conftest.err
15740 cat conftest.err
>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); } &&
15743 { ac_try
='test -z "$ac_c_werror_flag"
15744 || test ! -s conftest.err'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; } &&
15750 { ac_try
='test -s conftest$ac_exeext'
15751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 (eval $ac_try) 2>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; }; then
15756 eval "$as_ac_var=yes"
15758 echo "$as_me: failed program was:" >&5
15759 sed 's/^/| /' conftest.
$ac_ext >&5
15761 eval "$as_ac_var=no"
15763 rm -f conftest.err conftest.
$ac_objext \
15764 conftest
$ac_exeext conftest.
$ac_ext
15766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15768 if test `eval echo '${'$as_ac_var'}'` = yes; then
15769 cat >>confdefs.h
<<_ACEOF
15770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15777 for ac_func
in pread64
15779 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15780 echo "$as_me:$LINENO: checking for $ac_func" >&5
15781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15782 if eval "test \"\${$as_ac_var+set}\" = set"; then
15783 echo $ECHO_N "(cached) $ECHO_C" >&6
15785 cat >conftest.
$ac_ext <<_ACEOF
15788 cat confdefs.h
>>conftest.
$ac_ext
15789 cat >>conftest.
$ac_ext <<_ACEOF
15790 /* end confdefs.h. */
15791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15793 #define $ac_func innocuous_$ac_func
15795 /* System header to define __stub macros and hopefully few prototypes,
15796 which can conflict with char $ac_func (); below.
15797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15798 <limits.h> exists even on freestanding compilers. */
15801 # include <limits.h>
15803 # include <assert.h>
15808 /* Override any gcc2 internal prototype to avoid an error. */
15813 /* We use char because int might match the return type of a gcc2
15814 builtin and then its argument prototype would still apply. */
15816 /* The GNU C library defines this for functions which it implements
15817 to always fail with ENOSYS. Some functions are actually named
15818 something starting with __ and the normal name is an alias. */
15819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15822 char (*f) () = $ac_func;
15831 return f != $ac_func;
15836 rm -f conftest.
$ac_objext conftest
$ac_exeext
15837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15838 (eval $ac_link) 2>conftest.er1
15840 grep -v '^ *+' conftest.er1
>conftest.err
15842 cat conftest.err
>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); } &&
15845 { ac_try
='test -z "$ac_c_werror_flag"
15846 || test ! -s conftest.err'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; } &&
15852 { ac_try
='test -s conftest$ac_exeext'
15853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15854 (eval $ac_try) 2>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); }; }; then
15858 eval "$as_ac_var=yes"
15860 echo "$as_me: failed program was:" >&5
15861 sed 's/^/| /' conftest.
$ac_ext >&5
15863 eval "$as_ac_var=no"
15865 rm -f conftest.err conftest.
$ac_objext \
15866 conftest
$ac_exeext conftest.
$ac_ext
15868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15870 if test `eval echo '${'$as_ac_var'}'` = yes; then
15871 cat >>confdefs.h
<<_ACEOF
15872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15879 for ac_func
in sbrk
15881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15882 echo "$as_me:$LINENO: checking for $ac_func" >&5
15883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15884 if eval "test \"\${$as_ac_var+set}\" = set"; then
15885 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 cat >conftest.
$ac_ext <<_ACEOF
15890 cat confdefs.h
>>conftest.
$ac_ext
15891 cat >>conftest.
$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15895 #define $ac_func innocuous_$ac_func
15897 /* System header to define __stub macros and hopefully few prototypes,
15898 which can conflict with char $ac_func (); below.
15899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15900 <limits.h> exists even on freestanding compilers. */
15903 # include <limits.h>
15905 # include <assert.h>
15910 /* Override any gcc2 internal prototype to avoid an error. */
15915 /* We use char because int might match the return type of a gcc2
15916 builtin and then its argument prototype would still apply. */
15918 /* The GNU C library defines this for functions which it implements
15919 to always fail with ENOSYS. Some functions are actually named
15920 something starting with __ and the normal name is an alias. */
15921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15924 char (*f) () = $ac_func;
15933 return f != $ac_func;
15938 rm -f conftest.
$ac_objext conftest
$ac_exeext
15939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15940 (eval $ac_link) 2>conftest.er1
15942 grep -v '^ *+' conftest.er1
>conftest.err
15944 cat conftest.err
>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } &&
15947 { ac_try
='test -z "$ac_c_werror_flag"
15948 || test ! -s conftest.err'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; } &&
15954 { ac_try
='test -s conftest$ac_exeext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15960 eval "$as_ac_var=yes"
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.
$ac_ext >&5
15965 eval "$as_ac_var=no"
15967 rm -f conftest.err conftest.
$ac_objext \
15968 conftest
$ac_exeext conftest.
$ac_ext
15970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15972 if test `eval echo '${'$as_ac_var'}'` = yes; then
15973 cat >>confdefs.h
<<_ACEOF
15974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15982 for ac_func
in setpgid setpgrp
15984 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15985 echo "$as_me:$LINENO: checking for $ac_func" >&5
15986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15987 if eval "test \"\${$as_ac_var+set}\" = set"; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15990 cat >conftest.
$ac_ext <<_ACEOF
15993 cat confdefs.h
>>conftest.
$ac_ext
15994 cat >>conftest.
$ac_ext <<_ACEOF
15995 /* end confdefs.h. */
15996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15998 #define $ac_func innocuous_$ac_func
16000 /* System header to define __stub macros and hopefully few prototypes,
16001 which can conflict with char $ac_func (); below.
16002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16003 <limits.h> exists even on freestanding compilers. */
16006 # include <limits.h>
16008 # include <assert.h>
16013 /* Override any gcc2 internal prototype to avoid an error. */
16018 /* We use char because int might match the return type of a gcc2
16019 builtin and then its argument prototype would still apply. */
16021 /* The GNU C library defines this for functions which it implements
16022 to always fail with ENOSYS. Some functions are actually named
16023 something starting with __ and the normal name is an alias. */
16024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16027 char (*f) () = $ac_func;
16036 return f != $ac_func;
16041 rm -f conftest.
$ac_objext conftest
$ac_exeext
16042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16043 (eval $ac_link) 2>conftest.er1
16045 grep -v '^ *+' conftest.er1
>conftest.err
16047 cat conftest.err
>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } &&
16050 { ac_try
='test -z "$ac_c_werror_flag"
16051 || test ! -s conftest.err'
16052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16053 (eval $ac_try) 2>&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); }; } &&
16057 { ac_try
='test -s conftest$ac_exeext'
16058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16059 (eval $ac_try) 2>&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); }; }; then
16063 eval "$as_ac_var=yes"
16065 echo "$as_me: failed program was:" >&5
16066 sed 's/^/| /' conftest.
$ac_ext >&5
16068 eval "$as_ac_var=no"
16070 rm -f conftest.err conftest.
$ac_objext \
16071 conftest
$ac_exeext conftest.
$ac_ext
16073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16075 if test `eval echo '${'$as_ac_var'}'` = yes; then
16076 cat >>confdefs.h
<<_ACEOF
16077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16086 for ac_func
in sigaction sigprocmask sigsetmask
16088 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16089 echo "$as_me:$LINENO: checking for $ac_func" >&5
16090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16091 if eval "test \"\${$as_ac_var+set}\" = set"; then
16092 echo $ECHO_N "(cached) $ECHO_C" >&6
16094 cat >conftest.
$ac_ext <<_ACEOF
16097 cat confdefs.h
>>conftest.
$ac_ext
16098 cat >>conftest.
$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16102 #define $ac_func innocuous_$ac_func
16104 /* System header to define __stub macros and hopefully few prototypes,
16105 which can conflict with char $ac_func (); below.
16106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16107 <limits.h> exists even on freestanding compilers. */
16110 # include <limits.h>
16112 # include <assert.h>
16117 /* Override any gcc2 internal prototype to avoid an error. */
16122 /* We use char because int might match the return type of a gcc2
16123 builtin and then its argument prototype would still apply. */
16125 /* The GNU C library defines this for functions which it implements
16126 to always fail with ENOSYS. Some functions are actually named
16127 something starting with __ and the normal name is an alias. */
16128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16131 char (*f) () = $ac_func;
16140 return f != $ac_func;
16145 rm -f conftest.
$ac_objext conftest
$ac_exeext
16146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16147 (eval $ac_link) 2>conftest.er1
16149 grep -v '^ *+' conftest.er1
>conftest.err
16151 cat conftest.err
>&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); } &&
16154 { ac_try
='test -z "$ac_c_werror_flag"
16155 || test ! -s conftest.err'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; } &&
16161 { ac_try
='test -s conftest$ac_exeext'
16162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16163 (eval $ac_try) 2>&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); }; }; then
16167 eval "$as_ac_var=yes"
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.
$ac_ext >&5
16172 eval "$as_ac_var=no"
16174 rm -f conftest.err conftest.
$ac_objext \
16175 conftest
$ac_exeext conftest.
$ac_ext
16177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16179 if test `eval echo '${'$as_ac_var'}'` = yes; then
16180 cat >>confdefs.h
<<_ACEOF
16181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16188 for ac_func
in socketpair
16190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16191 echo "$as_me:$LINENO: checking for $ac_func" >&5
16192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16193 if eval "test \"\${$as_ac_var+set}\" = set"; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 cat >conftest.
$ac_ext <<_ACEOF
16199 cat confdefs.h
>>conftest.
$ac_ext
16200 cat >>conftest.
$ac_ext <<_ACEOF
16201 /* end confdefs.h. */
16202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16204 #define $ac_func innocuous_$ac_func
16206 /* System header to define __stub macros and hopefully few prototypes,
16207 which can conflict with char $ac_func (); below.
16208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16209 <limits.h> exists even on freestanding compilers. */
16212 # include <limits.h>
16214 # include <assert.h>
16219 /* Override any gcc2 internal prototype to avoid an error. */
16224 /* We use char because int might match the return type of a gcc2
16225 builtin and then its argument prototype would still apply. */
16227 /* The GNU C library defines this for functions which it implements
16228 to always fail with ENOSYS. Some functions are actually named
16229 something starting with __ and the normal name is an alias. */
16230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16233 char (*f) () = $ac_func;
16242 return f != $ac_func;
16247 rm -f conftest.
$ac_objext conftest
$ac_exeext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16249 (eval $ac_link) 2>conftest.er1
16251 grep -v '^ *+' conftest.er1
>conftest.err
16253 cat conftest.err
>&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); } &&
16256 { ac_try
='test -z "$ac_c_werror_flag"
16257 || test ! -s conftest.err'
16258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259 (eval $ac_try) 2>&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; } &&
16263 { ac_try
='test -s conftest$ac_exeext'
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265 (eval $ac_try) 2>&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; }; then
16269 eval "$as_ac_var=yes"
16271 echo "$as_me: failed program was:" >&5
16272 sed 's/^/| /' conftest.
$ac_ext >&5
16274 eval "$as_ac_var=no"
16276 rm -f conftest.err conftest.
$ac_objext \
16277 conftest
$ac_exeext conftest.
$ac_ext
16279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16281 if test `eval echo '${'$as_ac_var'}'` = yes; then
16282 cat >>confdefs.h
<<_ACEOF
16283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16290 for ac_func
in syscall
16292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16293 echo "$as_me:$LINENO: checking for $ac_func" >&5
16294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16295 if eval "test \"\${$as_ac_var+set}\" = set"; then
16296 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 cat >conftest.
$ac_ext <<_ACEOF
16301 cat confdefs.h
>>conftest.
$ac_ext
16302 cat >>conftest.
$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16306 #define $ac_func innocuous_$ac_func
16308 /* System header to define __stub macros and hopefully few prototypes,
16309 which can conflict with char $ac_func (); below.
16310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16311 <limits.h> exists even on freestanding compilers. */
16314 # include <limits.h>
16316 # include <assert.h>
16321 /* Override any gcc2 internal prototype to avoid an error. */
16326 /* We use char because int might match the return type of a gcc2
16327 builtin and then its argument prototype would still apply. */
16329 /* The GNU C library defines this for functions which it implements
16330 to always fail with ENOSYS. Some functions are actually named
16331 something starting with __ and the normal name is an alias. */
16332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16335 char (*f) () = $ac_func;
16344 return f != $ac_func;
16349 rm -f conftest.
$ac_objext conftest
$ac_exeext
16350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16351 (eval $ac_link) 2>conftest.er1
16353 grep -v '^ *+' conftest.er1
>conftest.err
16355 cat conftest.err
>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); } &&
16358 { ac_try
='test -z "$ac_c_werror_flag"
16359 || test ! -s conftest.err'
16360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16361 (eval $ac_try) 2>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }; } &&
16365 { ac_try
='test -s conftest$ac_exeext'
16366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16367 (eval $ac_try) 2>&5
16369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); }; }; then
16371 eval "$as_ac_var=yes"
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.
$ac_ext >&5
16376 eval "$as_ac_var=no"
16378 rm -f conftest.err conftest.
$ac_objext \
16379 conftest
$ac_exeext conftest.
$ac_ext
16381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16383 if test `eval echo '${'$as_ac_var'}'` = yes; then
16384 cat >>confdefs.h
<<_ACEOF
16385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16392 for ac_func
in ttrace
16394 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16395 echo "$as_me:$LINENO: checking for $ac_func" >&5
16396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16397 if eval "test \"\${$as_ac_var+set}\" = set"; then
16398 echo $ECHO_N "(cached) $ECHO_C" >&6
16400 cat >conftest.
$ac_ext <<_ACEOF
16403 cat confdefs.h
>>conftest.
$ac_ext
16404 cat >>conftest.
$ac_ext <<_ACEOF
16405 /* end confdefs.h. */
16406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16408 #define $ac_func innocuous_$ac_func
16410 /* System header to define __stub macros and hopefully few prototypes,
16411 which can conflict with char $ac_func (); below.
16412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16413 <limits.h> exists even on freestanding compilers. */
16416 # include <limits.h>
16418 # include <assert.h>
16423 /* Override any gcc2 internal prototype to avoid an error. */
16428 /* We use char because int might match the return type of a gcc2
16429 builtin and then its argument prototype would still apply. */
16431 /* The GNU C library defines this for functions which it implements
16432 to always fail with ENOSYS. Some functions are actually named
16433 something starting with __ and the normal name is an alias. */
16434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16437 char (*f) () = $ac_func;
16446 return f != $ac_func;
16451 rm -f conftest.
$ac_objext conftest
$ac_exeext
16452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16453 (eval $ac_link) 2>conftest.er1
16455 grep -v '^ *+' conftest.er1
>conftest.err
16457 cat conftest.err
>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } &&
16460 { ac_try
='test -z "$ac_c_werror_flag"
16461 || test ! -s conftest.err'
16462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16463 (eval $ac_try) 2>&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); }; } &&
16467 { ac_try
='test -s conftest$ac_exeext'
16468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16469 (eval $ac_try) 2>&5
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); }; }; then
16473 eval "$as_ac_var=yes"
16475 echo "$as_me: failed program was:" >&5
16476 sed 's/^/| /' conftest.
$ac_ext >&5
16478 eval "$as_ac_var=no"
16480 rm -f conftest.err conftest.
$ac_objext \
16481 conftest
$ac_exeext conftest.
$ac_ext
16483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16485 if test `eval echo '${'$as_ac_var'}'` = yes; then
16486 cat >>confdefs.h
<<_ACEOF
16487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16494 for ac_func
in wborder
16496 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16497 echo "$as_me:$LINENO: checking for $ac_func" >&5
16498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16499 if eval "test \"\${$as_ac_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16510 #define $ac_func innocuous_$ac_func
16512 /* System header to define __stub macros and hopefully few prototypes,
16513 which can conflict with char $ac_func (); below.
16514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16515 <limits.h> exists even on freestanding compilers. */
16518 # include <limits.h>
16520 # include <assert.h>
16525 /* Override any gcc2 internal prototype to avoid an error. */
16530 /* We use char because int might match the return type of a gcc2
16531 builtin and then its argument prototype would still apply. */
16533 /* The GNU C library defines this for functions which it implements
16534 to always fail with ENOSYS. Some functions are actually named
16535 something starting with __ and the normal name is an alias. */
16536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16539 char (*f) () = $ac_func;
16548 return f != $ac_func;
16553 rm -f conftest.
$ac_objext conftest
$ac_exeext
16554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16555 (eval $ac_link) 2>conftest.er1
16557 grep -v '^ *+' conftest.er1
>conftest.err
16559 cat conftest.err
>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } &&
16562 { ac_try
='test -z "$ac_c_werror_flag"
16563 || test ! -s conftest.err'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; } &&
16569 { ac_try
='test -s conftest$ac_exeext'
16570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16571 (eval $ac_try) 2>&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; }; then
16575 eval "$as_ac_var=yes"
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.
$ac_ext >&5
16580 eval "$as_ac_var=no"
16582 rm -f conftest.err conftest.
$ac_objext \
16583 conftest
$ac_exeext conftest.
$ac_ext
16585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16587 if test `eval echo '${'$as_ac_var'}'` = yes; then
16588 cat >>confdefs.h
<<_ACEOF
16589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16596 # Check the return and argument types of ptrace. No canned test for
16597 # this, so roll our own.
16598 gdb_ptrace_headers
='
16599 #if HAVE_SYS_TYPES_H
16600 # include <sys/types.h>
16602 #if HAVE_SYS_PTRACE_H
16603 # include <sys/ptrace.h>
16606 # include <unistd.h>
16609 # There is no point in checking if we don't have a prototype.
16610 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
16611 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
16612 if test "${ac_cv_have_decl_ptrace+set}" = set; then
16613 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 cat >conftest.
$ac_ext <<_ACEOF
16618 cat confdefs.h
>>conftest.
$ac_ext
16619 cat >>conftest.
$ac_ext <<_ACEOF
16620 /* end confdefs.h. */
16621 $gdb_ptrace_headers
16627 char *p = (char *) ptrace;
16634 rm -f conftest.
$ac_objext
16635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16636 (eval $ac_compile) 2>conftest.er1
16638 grep -v '^ *+' conftest.er1
>conftest.err
16640 cat conftest.err
>&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); } &&
16643 { ac_try
='test -z "$ac_c_werror_flag"
16644 || test ! -s conftest.err'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; } &&
16650 { ac_try
='test -s conftest.$ac_objext'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; }; then
16656 ac_cv_have_decl_ptrace
=yes
16658 echo "$as_me: failed program was:" >&5
16659 sed 's/^/| /' conftest.
$ac_ext >&5
16661 ac_cv_have_decl_ptrace
=no
16663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16665 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
16666 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
16667 if test $ac_cv_have_decl_ptrace = yes; then
16669 cat >>confdefs.h
<<_ACEOF
16670 #define HAVE_DECL_PTRACE 1
16675 cat >>confdefs.h
<<_ACEOF
16676 #define HAVE_DECL_PTRACE 0
16680 : ${gdb_cv_func_ptrace_ret='int'}
16681 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
16686 # Check return type.
16687 echo "$as_me:$LINENO: checking return type of ptrace" >&5
16688 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
16689 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 cat >conftest.
$ac_ext <<_ACEOF
16695 cat confdefs.h
>>conftest.
$ac_ext
16696 cat >>conftest.
$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16698 $gdb_ptrace_headers
16702 extern int ptrace ();
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"
16717 || test ! -s conftest.err'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; } &&
16723 { ac_try
='test -s conftest.$ac_objext'
16724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16725 (eval $ac_try) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); }; }; then
16729 gdb_cv_func_ptrace_ret
='int'
16731 echo "$as_me: failed program was:" >&5
16732 sed 's/^/| /' conftest.
$ac_ext >&5
16734 gdb_cv_func_ptrace_ret
='long'
16736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16738 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
16739 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
16741 cat >>confdefs.h
<<_ACEOF
16742 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
16745 # Check argument types.
16746 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
16747 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
16748 if test "${gdb_cv_func_ptrace_args+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 for gdb_arg1
in 'int' 'long'; do
16753 for gdb_arg2
in 'pid_t' 'int' 'long'; do
16754 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long' 'void *'; do
16755 for gdb_arg4
in 'int' 'long'; do
16756 cat >conftest.
$ac_ext <<_ACEOF
16759 cat confdefs.h
>>conftest.
$ac_ext
16760 cat >>conftest.
$ac_ext <<_ACEOF
16761 /* end confdefs.h. */
16762 $gdb_ptrace_headers
16767 extern $gdb_cv_func_ptrace_ret
16768 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
16774 rm -f conftest.
$ac_objext
16775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16776 (eval $ac_compile) 2>conftest.er1
16778 grep -v '^ *+' conftest.er1
>conftest.err
16780 cat conftest.err
>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } &&
16783 { ac_try
='test -z "$ac_c_werror_flag"
16784 || test ! -s conftest.err'
16785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16786 (eval $ac_try) 2>&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); }; } &&
16790 { ac_try
='test -s conftest.$ac_objext'
16791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16792 (eval $ac_try) 2>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); }; }; then
16796 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
16799 echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.
$ac_ext >&5
16803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16804 for gdb_arg5
in 'int *' 'int' 'long'; do
16805 cat >conftest.
$ac_ext <<_ACEOF
16808 cat confdefs.h
>>conftest.
$ac_ext
16809 cat >>conftest.
$ac_ext <<_ACEOF
16810 /* end confdefs.h. */
16811 $gdb_ptrace_headers
16816 extern $gdb_cv_func_ptrace_ret
16817 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
16823 rm -f conftest.
$ac_objext
16824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16825 (eval $ac_compile) 2>conftest.er1
16827 grep -v '^ *+' conftest.er1
>conftest.err
16829 cat conftest.err
>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } &&
16832 { ac_try
='test -z "$ac_c_werror_flag"
16833 || test ! -s conftest.err'
16834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16835 (eval $ac_try) 2>&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); }; } &&
16839 { ac_try
='test -s conftest.$ac_objext'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; }; then
16846 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
16849 echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.
$ac_ext >&5
16853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16859 # Provide a safe default value.
16860 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
16863 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
16864 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
16865 ac_save_IFS
=$IFS; IFS
=','
16866 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
16870 cat >>confdefs.h
<<_ACEOF
16871 #define PTRACE_TYPE_ARG3 $3
16874 if test -n "$5"; then
16876 cat >>confdefs.h
<<_ACEOF
16877 #define PTRACE_TYPE_ARG5 $5
16882 if test "$cross_compiling" = no
; then
16883 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
16884 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
16885 if test "${ac_cv_func_setpgrp_void+set}" = set; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 if test "$cross_compiling" = yes; then
16889 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
16890 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
16891 { (exit 1); exit 1; }; }
16893 cat >conftest.
$ac_ext <<_ACEOF
16896 cat confdefs.h
>>conftest.
$ac_ext
16897 cat >>conftest.
$ac_ext <<_ACEOF
16898 /* end confdefs.h. */
16900 # include <unistd.h>
16906 /* If this system has a BSD-style setpgrp which takes arguments,
16907 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
16908 exit successfully. */
16909 exit (setpgrp (1,1) == -1 ? 0 : 1);
16914 rm -f conftest
$ac_exeext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16916 (eval $ac_link) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; }; then
16925 ac_cv_func_setpgrp_void
=no
16927 echo "$as_me: program exited with status $ac_status" >&5
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.
$ac_ext >&5
16931 ( exit $ac_status )
16932 ac_cv_func_setpgrp_void
=yes
16934 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16937 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
16938 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
16939 if test $ac_cv_func_setpgrp_void = yes; then
16941 cat >>confdefs.h
<<\_ACEOF
16942 #define SETPGRP_VOID 1
16948 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
16949 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
16950 if test "${ac_cv_func_setpgrp_void+set}" = set; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 cat >conftest.
$ac_ext <<_ACEOF
16956 cat confdefs.h
>>conftest.
$ac_ext
16957 cat >>conftest.
$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16960 #include <unistd.h>
16966 if (setpgrp(1,1) == -1)
16975 rm -f conftest.
$ac_objext
16976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16977 (eval $ac_compile) 2>conftest.er1
16979 grep -v '^ *+' conftest.er1
>conftest.err
16981 cat conftest.err
>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } &&
16984 { ac_try
='test -z "$ac_c_werror_flag"
16985 || test ! -s conftest.err'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; } &&
16991 { ac_try
='test -s conftest.$ac_objext'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; }; then
16997 ac_cv_func_setpgrp_void
=no
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.
$ac_ext >&5
17002 ac_cv_func_setpgrp_void
=yes
17004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17006 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
17007 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
17008 if test $ac_cv_func_setpgrp_void = yes; then
17009 cat >>confdefs.h
<<\_ACEOF
17010 #define SETPGRP_VOID 1
17016 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
17017 # since sigsetjmp might only be defined as a macro.
17018 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
17019 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
17020 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
17021 echo $ECHO_N "(cached) $ECHO_C" >&6
17023 cat >conftest.
$ac_ext <<_ACEOF
17026 cat confdefs.h
>>conftest.
$ac_ext
17027 cat >>conftest.
$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17030 #include <setjmp.h>
17035 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
17040 rm -f conftest.
$ac_objext
17041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17042 (eval $ac_compile) 2>conftest.er1
17044 grep -v '^ *+' conftest.er1
>conftest.err
17046 cat conftest.err
>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } &&
17049 { ac_try
='test -z "$ac_c_werror_flag"
17050 || test ! -s conftest.err'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; } &&
17056 { ac_try
='test -s conftest.$ac_objext'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; }; then
17062 gdb_cv_func_sigsetjmp
=yes
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.
$ac_ext >&5
17067 gdb_cv_func_sigsetjmp
=no
17069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17071 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
17072 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
17073 if test $gdb_cv_func_sigsetjmp = yes; then
17075 cat >>confdefs.h
<<\_ACEOF
17076 #define HAVE_SIGSETJMP 1
17081 # Assume we'll default to using the included libiberty regex.
17082 gdb_use_included_regex
=yes
17084 # However, if the system regex is GNU regex, then default to *not*
17085 # using the included regex.
17086 echo "$as_me:$LINENO: checking for GNU regex" >&5
17087 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
17088 if test "${gdb_cv_have_gnu_regex+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 cat >conftest.
$ac_ext <<_ACEOF
17094 cat confdefs.h
>>conftest.
$ac_ext
17095 cat >>conftest.
$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 #include <gnu-versions.h>
17101 #define REGEX_INTERFACE_VERSION 1
17102 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
17103 # error "Version mismatch"
17109 rm -f conftest.
$ac_objext
17110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17111 (eval $ac_compile) 2>conftest.er1
17113 grep -v '^ *+' conftest.er1
>conftest.err
17115 cat conftest.err
>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); } &&
17118 { ac_try
='test -z "$ac_c_werror_flag"
17119 || test ! -s conftest.err'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; } &&
17125 { ac_try
='test -s conftest.$ac_objext'
17126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17127 (eval $ac_try) 2>&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); }; }; then
17131 gdb_cv_have_gnu_regex
=yes
17133 echo "$as_me: failed program was:" >&5
17134 sed 's/^/| /' conftest.
$ac_ext >&5
17136 gdb_cv_have_gnu_regex
=no
17138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17140 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
17141 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
17142 if test $gdb_cv_have_gnu_regex = yes; then
17143 gdb_use_included_regex
=no
17147 # Check whether --with-included-regex or --without-included-regex was given.
17148 if test "${with_included_regex+set}" = set; then
17149 withval
="$with_included_regex"
17150 gdb_with_regex
=$withval
17152 gdb_with_regex
=$gdb_use_included_regex
17154 if test "$gdb_with_regex" = yes; then
17156 cat >>confdefs.h
<<\_ACEOF
17157 #define USE_INCLUDED_REGEX 1
17162 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
17163 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
17164 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
17165 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 cat >conftest.
$ac_ext <<_ACEOF
17171 cat confdefs.h
>>conftest.
$ac_ext
17172 cat >>conftest.
$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174 #include <sys/param.h>
17175 #include <sys/proc.h>
17181 static struct thread ac_aggr;
17182 if (ac_aggr.td_pcb)
17188 rm -f conftest.
$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>conftest.er1
17192 grep -v '^ *+' conftest.er1
>conftest.err
17194 cat conftest.err
>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try
='test -z "$ac_c_werror_flag"
17198 || test ! -s conftest.err'
17199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17200 (eval $ac_try) 2>&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); }; } &&
17204 { ac_try
='test -s conftest.$ac_objext'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; }; then
17210 ac_cv_member_struct_thread_td_pcb
=yes
17212 echo "$as_me: failed program was:" >&5
17213 sed 's/^/| /' conftest.
$ac_ext >&5
17215 cat >conftest.
$ac_ext <<_ACEOF
17218 cat confdefs.h
>>conftest.
$ac_ext
17219 cat >>conftest.
$ac_ext <<_ACEOF
17220 /* end confdefs.h. */
17221 #include <sys/param.h>
17222 #include <sys/proc.h>
17228 static struct thread ac_aggr;
17229 if (sizeof ac_aggr.td_pcb)
17235 rm -f conftest.
$ac_objext
17236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17237 (eval $ac_compile) 2>conftest.er1
17239 grep -v '^ *+' conftest.er1
>conftest.err
17241 cat conftest.err
>&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } &&
17244 { ac_try
='test -z "$ac_c_werror_flag"
17245 || test ! -s conftest.err'
17246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17247 (eval $ac_try) 2>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); }; } &&
17251 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17257 ac_cv_member_struct_thread_td_pcb
=yes
17259 echo "$as_me: failed program was:" >&5
17260 sed 's/^/| /' conftest.
$ac_ext >&5
17262 ac_cv_member_struct_thread_td_pcb
=no
17264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17268 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
17269 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
17270 if test $ac_cv_member_struct_thread_td_pcb = yes; then
17272 cat >>confdefs.h
<<_ACEOF
17273 #define HAVE_STRUCT_THREAD_TD_PCB 1
17280 # See if <sys/lwp.h> defines `struct lwp`.
17281 echo "$as_me:$LINENO: checking for struct lwp" >&5
17282 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
17283 if test "${gdb_cv_struct_lwp+set}" = set; then
17284 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 cat >conftest.
$ac_ext <<_ACEOF
17289 cat confdefs.h
>>conftest.
$ac_ext
17290 cat >>conftest.
$ac_ext <<_ACEOF
17291 /* end confdefs.h. */
17292 #include <sys/param.h>
17293 #include <sys/lwp.h>
17302 rm -f conftest.
$ac_objext
17303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17304 (eval $ac_compile) 2>conftest.er1
17306 grep -v '^ *+' conftest.er1
>conftest.err
17308 cat conftest.err
>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); } &&
17311 { ac_try
='test -z "$ac_c_werror_flag"
17312 || test ! -s conftest.err'
17313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17314 (eval $ac_try) 2>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); }; } &&
17318 { ac_try
='test -s conftest.$ac_objext'
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17320 (eval $ac_try) 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; }; then
17324 gdb_cv_struct_lwp
=yes
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.
$ac_ext >&5
17329 gdb_cv_struct_lwp
=no
17331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17333 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
17334 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
17335 if test $gdb_cv_struct_lwp = yes; then
17337 cat >>confdefs.h
<<\_ACEOF
17338 #define HAVE_STRUCT_LWP 1
17343 # See if <machine/reg.h> degines `struct reg'.
17344 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
17345 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
17346 if test "${gdb_cv_struct_reg+set}" = set; then
17347 echo $ECHO_N "(cached) $ECHO_C" >&6
17349 cat >conftest.
$ac_ext <<_ACEOF
17352 cat confdefs.h
>>conftest.
$ac_ext
17353 cat >>conftest.
$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17355 #include <sys/types.h>
17356 #include <machine/reg.h>
17365 rm -f conftest.
$ac_objext
17366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17367 (eval $ac_compile) 2>conftest.er1
17369 grep -v '^ *+' conftest.er1
>conftest.err
17371 cat conftest.err
>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } &&
17374 { ac_try
='test -z "$ac_c_werror_flag"
17375 || test ! -s conftest.err'
17376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17377 (eval $ac_try) 2>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; } &&
17381 { ac_try
='test -s conftest.$ac_objext'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; }; then
17387 gdb_cv_struct_reg
=yes
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.
$ac_ext >&5
17392 gdb_cv_struct_reg
=no
17394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17396 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
17397 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
17398 if test $gdb_cv_struct_reg = yes; then
17400 cat >>confdefs.h
<<\_ACEOF
17401 #define HAVE_STRUCT_REG 1
17406 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
17407 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
17408 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
17409 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
17410 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 cat >conftest.
$ac_ext <<_ACEOF
17416 cat confdefs.h
>>conftest.
$ac_ext
17417 cat >>conftest.
$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 #include <machine/reg.h>
17424 static struct reg ac_aggr;
17431 rm -f conftest.
$ac_objext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17433 (eval $ac_compile) 2>conftest.er1
17435 grep -v '^ *+' conftest.er1
>conftest.err
17437 cat conftest.err
>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try
='test -z "$ac_c_werror_flag"
17441 || test ! -s conftest.err'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; } &&
17447 { ac_try
='test -s conftest.$ac_objext'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; }; then
17453 ac_cv_member_struct_reg_r_fs
=yes
17455 echo "$as_me: failed program was:" >&5
17456 sed 's/^/| /' conftest.
$ac_ext >&5
17458 cat >conftest.
$ac_ext <<_ACEOF
17461 cat confdefs.h
>>conftest.
$ac_ext
17462 cat >>conftest.
$ac_ext <<_ACEOF
17463 /* end confdefs.h. */
17464 #include <machine/reg.h>
17469 static struct reg ac_aggr;
17470 if (sizeof ac_aggr.r_fs)
17476 rm -f conftest.
$ac_objext
17477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17478 (eval $ac_compile) 2>conftest.er1
17480 grep -v '^ *+' conftest.er1
>conftest.err
17482 cat conftest.err
>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); } &&
17485 { ac_try
='test -z "$ac_c_werror_flag"
17486 || test ! -s conftest.err'
17487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17488 (eval $ac_try) 2>&5
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; } &&
17492 { ac_try
='test -s conftest.$ac_objext'
17493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17494 (eval $ac_try) 2>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; }; then
17498 ac_cv_member_struct_reg_r_fs
=yes
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.
$ac_ext >&5
17503 ac_cv_member_struct_reg_r_fs
=no
17505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17509 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
17510 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
17511 if test $ac_cv_member_struct_reg_r_fs = yes; then
17513 cat >>confdefs.h
<<_ACEOF
17514 #define HAVE_STRUCT_REG_R_FS 1
17519 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
17520 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
17521 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
17522 echo $ECHO_N "(cached) $ECHO_C" >&6
17524 cat >conftest.
$ac_ext <<_ACEOF
17527 cat confdefs.h
>>conftest.
$ac_ext
17528 cat >>conftest.
$ac_ext <<_ACEOF
17529 /* end confdefs.h. */
17530 #include <machine/reg.h>
17535 static struct reg ac_aggr;
17542 rm -f conftest.
$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>conftest.er1
17546 grep -v '^ *+' conftest.er1
>conftest.err
17548 cat conftest.err
>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try
='test -z "$ac_c_werror_flag"
17552 || test ! -s conftest.err'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; } &&
17558 { ac_try
='test -s conftest.$ac_objext'
17559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560 (eval $ac_try) 2>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; }; then
17564 ac_cv_member_struct_reg_r_gs
=yes
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.
$ac_ext >&5
17569 cat >conftest.
$ac_ext <<_ACEOF
17572 cat confdefs.h
>>conftest.
$ac_ext
17573 cat >>conftest.
$ac_ext <<_ACEOF
17574 /* end confdefs.h. */
17575 #include <machine/reg.h>
17580 static struct reg ac_aggr;
17581 if (sizeof ac_aggr.r_gs)
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"
17597 || test ! -s conftest.err'
17598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599 (eval $ac_try) 2>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; } &&
17603 { ac_try
='test -s conftest.$ac_objext'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; }; then
17609 ac_cv_member_struct_reg_r_gs
=yes
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.
$ac_ext >&5
17614 ac_cv_member_struct_reg_r_gs
=no
17616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17620 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
17621 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
17622 if test $ac_cv_member_struct_reg_r_gs = yes; then
17624 cat >>confdefs.h
<<_ACEOF
17625 #define HAVE_STRUCT_REG_R_GS 1
17632 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
17633 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
17634 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
17635 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 #include <sys/ptrace.h>
17653 rm -f conftest.
$ac_objext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17655 (eval $ac_compile) 2>conftest.er1
17657 grep -v '^ *+' conftest.er1
>conftest.err
17659 cat conftest.err
>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try
='test -z "$ac_c_werror_flag"
17663 || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try
='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17675 gdb_cv_have_ptrace_getregs
=yes
17677 echo "$as_me: failed program was:" >&5
17678 sed 's/^/| /' conftest.
$ac_ext >&5
17680 gdb_cv_have_ptrace_getregs
=no
17682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17685 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
17686 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
17687 if test $gdb_cv_have_ptrace_getregs = yes; then
17689 cat >>confdefs.h
<<\_ACEOF
17690 #define HAVE_PTRACE_GETREGS 1
17695 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
17696 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
17697 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
17698 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
17699 echo $ECHO_N "(cached) $ECHO_C" >&6
17701 cat >conftest.
$ac_ext <<_ACEOF
17704 cat confdefs.h
>>conftest.
$ac_ext
17705 cat >>conftest.
$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 #include <sys/ptrace.h>
17716 rm -f conftest.
$ac_objext
17717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17718 (eval $ac_compile) 2>conftest.er1
17720 grep -v '^ *+' conftest.er1
>conftest.err
17722 cat conftest.err
>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); } &&
17725 { ac_try
='test -z "$ac_c_werror_flag"
17726 || test ! -s conftest.err'
17727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728 (eval $ac_try) 2>&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; } &&
17732 { ac_try
='test -s conftest.$ac_objext'
17733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17734 (eval $ac_try) 2>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); }; }; then
17738 gdb_cv_have_ptrace_getfpxregs
=yes
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.
$ac_ext >&5
17743 gdb_cv_have_ptrace_getfpxregs
=no
17745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17748 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
17749 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
17750 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
17752 cat >>confdefs.h
<<\_ACEOF
17753 #define HAVE_PTRACE_GETFPXREGS 1
17758 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
17759 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
17760 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
17761 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
17762 echo $ECHO_N "(cached) $ECHO_C" >&6
17764 cat >conftest.
$ac_ext <<_ACEOF
17767 cat confdefs.h
>>conftest.
$ac_ext
17768 cat >>conftest.
$ac_ext <<_ACEOF
17769 /* end confdefs.h. */
17770 #include <sys/types.h>
17771 #include <sys/ptrace.h>
17780 rm -f conftest.
$ac_objext
17781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17782 (eval $ac_compile) 2>conftest.er1
17784 grep -v '^ *+' conftest.er1
>conftest.err
17786 cat conftest.err
>&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } &&
17789 { ac_try
='test -z "$ac_c_werror_flag"
17790 || test ! -s conftest.err'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; } &&
17796 { ac_try
='test -s conftest.$ac_objext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 gdb_cv_have_pt_getdbregs
=yes
17804 echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.
$ac_ext >&5
17807 gdb_cv_have_pt_getdbregs
=no
17809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17812 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
17813 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
17814 if test $gdb_cv_have_pt_getdbregs = yes; then
17816 cat >>confdefs.h
<<\_ACEOF
17817 #define HAVE_PT_GETDBREGS 1
17822 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
17823 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
17824 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
17825 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
17826 echo $ECHO_N "(cached) $ECHO_C" >&6
17828 cat >conftest.
$ac_ext <<_ACEOF
17831 cat confdefs.h
>>conftest.
$ac_ext
17832 cat >>conftest.
$ac_ext <<_ACEOF
17833 /* end confdefs.h. */
17834 #include <sys/types.h>
17835 #include <sys/ptrace.h>
17844 rm -f conftest.
$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846 (eval $ac_compile) 2>conftest.er1
17848 grep -v '^ *+' conftest.er1
>conftest.err
17850 cat conftest.err
>&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } &&
17853 { ac_try
='test -z "$ac_c_werror_flag"
17854 || test ! -s conftest.err'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; } &&
17860 { ac_try
='test -s conftest.$ac_objext'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; }; then
17866 gdb_cv_have_pt_getxmmregs
=yes
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.
$ac_ext >&5
17871 gdb_cv_have_pt_getxmmregs
=no
17873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17876 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
17877 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
17878 if test $gdb_cv_have_pt_getxmmregs = yes; then
17880 cat >>confdefs.h
<<\_ACEOF
17881 #define HAVE_PT_GETXMMREGS 1
17886 # If we are configured native on GNU/Linux, work around problems with
17888 # Also detect which type of /proc is in use, such as for Unixware or Solaris.
17890 if test "${target}" = "${host}"; then
17892 i
[3456]86-*-linux*)
17894 cat >>confdefs.h
<<\_ACEOF
17895 #define START_INFERIOR_TRAPS_EXPECTED 2
17899 cat >>confdefs.h
<<\_ACEOF
17900 #define sys_quotactl 1
17904 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
17906 cat >>confdefs.h
<<\_ACEOF
17907 #define NEW_PROC_API 1
17911 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
17913 cat >>confdefs.h
<<\_ACEOF
17914 #define NEW_PROC_API 1
17919 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
17921 cat >>confdefs.h
<<\_ACEOF
17922 #define _KMEMUSER 1
17929 if test "$ac_cv_header_sys_procfs_h" = yes; then
17930 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
17931 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
17932 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
17933 echo $ECHO_N "(cached) $ECHO_C" >&6
17935 cat >conftest.
$ac_ext <<_ACEOF
17938 cat confdefs.h
>>conftest.
$ac_ext
17939 cat >>conftest.
$ac_ext <<_ACEOF
17940 /* end confdefs.h. */
17943 #include <sys/procfs.h>
17952 rm -f conftest.
$ac_objext
17953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17954 (eval $ac_compile) 2>conftest.er1
17956 grep -v '^ *+' conftest.er1
>conftest.err
17958 cat conftest.err
>&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); } &&
17961 { ac_try
='test -z "$ac_c_werror_flag"
17962 || test ! -s conftest.err'
17963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17964 (eval $ac_try) 2>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; } &&
17968 { ac_try
='test -s conftest.$ac_objext'
17969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17970 (eval $ac_try) 2>&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); }; }; then
17974 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
17976 echo "$as_me: failed program was:" >&5
17977 sed 's/^/| /' conftest.
$ac_ext >&5
17979 bfd_cv_have_sys_procfs_type_pstatus_t
=no
17982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17985 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
17987 cat >>confdefs.h
<<\_ACEOF
17988 #define HAVE_PSTATUS_T 1
17992 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
17993 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
17995 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
17996 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
17997 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
17998 echo $ECHO_N "(cached) $ECHO_C" >&6
18000 cat >conftest.
$ac_ext <<_ACEOF
18003 cat confdefs.h
>>conftest.
$ac_ext
18004 cat >>conftest.
$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18008 #include <sys/procfs.h>
18017 rm -f conftest.
$ac_objext
18018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18019 (eval $ac_compile) 2>conftest.er1
18021 grep -v '^ *+' conftest.er1
>conftest.err
18023 cat conftest.err
>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } &&
18026 { ac_try
='test -z "$ac_c_werror_flag"
18027 || test ! -s conftest.err'
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); }; } &&
18033 { ac_try
='test -s conftest.$ac_objext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18039 bfd_cv_have_sys_procfs_type_prrun_t
=yes
18041 echo "$as_me: failed program was:" >&5
18042 sed 's/^/| /' conftest.
$ac_ext >&5
18044 bfd_cv_have_sys_procfs_type_prrun_t
=no
18047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18050 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
18052 cat >>confdefs.h
<<\_ACEOF
18053 #define HAVE_PRRUN_T 1
18057 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
18058 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
18060 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
18061 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
18062 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18065 cat >conftest.
$ac_ext <<_ACEOF
18068 cat confdefs.h
>>conftest.
$ac_ext
18069 cat >>conftest.
$ac_ext <<_ACEOF
18070 /* end confdefs.h. */
18073 #include <sys/procfs.h>
18082 rm -f conftest.
$ac_objext
18083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18084 (eval $ac_compile) 2>conftest.er1
18086 grep -v '^ *+' conftest.er1
>conftest.err
18088 cat conftest.err
>&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); } &&
18091 { ac_try
='test -z "$ac_c_werror_flag"
18092 || test ! -s conftest.err'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; } &&
18098 { ac_try
='test -s conftest.$ac_objext'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; }; then
18104 bfd_cv_have_sys_procfs_type_gregset_t
=yes
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.
$ac_ext >&5
18109 bfd_cv_have_sys_procfs_type_gregset_t
=no
18112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18115 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
18117 cat >>confdefs.h
<<\_ACEOF
18118 #define HAVE_GREGSET_T 1
18122 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
18123 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
18125 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
18126 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
18127 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
18128 echo $ECHO_N "(cached) $ECHO_C" >&6
18130 cat >conftest.
$ac_ext <<_ACEOF
18133 cat confdefs.h
>>conftest.
$ac_ext
18134 cat >>conftest.
$ac_ext <<_ACEOF
18135 /* end confdefs.h. */
18138 #include <sys/procfs.h>
18147 rm -f conftest.
$ac_objext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18149 (eval $ac_compile) 2>conftest.er1
18151 grep -v '^ *+' conftest.er1
>conftest.err
18153 cat conftest.err
>&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try
='test -z "$ac_c_werror_flag"
18157 || test ! -s conftest.err'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; } &&
18163 { ac_try
='test -s conftest.$ac_objext'
18164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18165 (eval $ac_try) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); }; }; then
18169 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.
$ac_ext >&5
18174 bfd_cv_have_sys_procfs_type_fpregset_t
=no
18177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18180 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
18182 cat >>confdefs.h
<<\_ACEOF
18183 #define HAVE_FPREGSET_T 1
18187 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
18188 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
18190 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
18191 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
18192 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18195 cat >conftest.
$ac_ext <<_ACEOF
18198 cat confdefs.h
>>conftest.
$ac_ext
18199 cat >>conftest.
$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18203 #include <sys/procfs.h>
18212 rm -f conftest.
$ac_objext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18214 (eval $ac_compile) 2>conftest.er1
18216 grep -v '^ *+' conftest.er1
>conftest.err
18218 cat conftest.err
>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } &&
18221 { ac_try
='test -z "$ac_c_werror_flag"
18222 || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try
='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18234 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.
$ac_ext >&5
18239 bfd_cv_have_sys_procfs_type_prgregset_t
=no
18242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18245 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
18247 cat >>confdefs.h
<<\_ACEOF
18248 #define HAVE_PRGREGSET_T 1
18252 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
18253 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
18255 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
18256 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
18257 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
18258 echo $ECHO_N "(cached) $ECHO_C" >&6
18260 cat >conftest.
$ac_ext <<_ACEOF
18263 cat confdefs.h
>>conftest.
$ac_ext
18264 cat >>conftest.
$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18268 #include <sys/procfs.h>
18277 rm -f conftest.
$ac_objext
18278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18279 (eval $ac_compile) 2>conftest.er1
18281 grep -v '^ *+' conftest.er1
>conftest.err
18283 cat conftest.err
>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } &&
18286 { ac_try
='test -z "$ac_c_werror_flag"
18287 || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try
='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.
$ac_ext >&5
18304 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
18307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18310 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
18312 cat >>confdefs.h
<<\_ACEOF
18313 #define HAVE_PRFPREGSET_T 1
18317 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
18318 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
18320 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
18321 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
18322 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
18323 echo $ECHO_N "(cached) $ECHO_C" >&6
18325 cat >conftest.
$ac_ext <<_ACEOF
18328 cat confdefs.h
>>conftest.
$ac_ext
18329 cat >>conftest.
$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18333 #include <sys/procfs.h>
18342 rm -f conftest.
$ac_objext
18343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18344 (eval $ac_compile) 2>conftest.er1
18346 grep -v '^ *+' conftest.er1
>conftest.err
18348 cat conftest.err
>&5
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); } &&
18351 { ac_try
='test -z "$ac_c_werror_flag"
18352 || test ! -s conftest.err'
18353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18354 (eval $ac_try) 2>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); }; } &&
18358 { ac_try
='test -s conftest.$ac_objext'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; }; then
18364 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
18366 echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.
$ac_ext >&5
18369 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
18372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18375 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
18377 cat >>confdefs.h
<<\_ACEOF
18378 #define HAVE_PRGREGSET32_T 1
18382 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
18383 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
18385 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
18386 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
18387 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
18388 echo $ECHO_N "(cached) $ECHO_C" >&6
18390 cat >conftest.
$ac_ext <<_ACEOF
18393 cat confdefs.h
>>conftest.
$ac_ext
18394 cat >>conftest.
$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18398 #include <sys/procfs.h>
18402 prfpregset32_t avar
18407 rm -f conftest.
$ac_objext
18408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18409 (eval $ac_compile) 2>conftest.er1
18411 grep -v '^ *+' conftest.er1
>conftest.err
18413 cat conftest.err
>&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } &&
18416 { ac_try
='test -z "$ac_c_werror_flag"
18417 || test ! -s conftest.err'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; } &&
18423 { ac_try
='test -s conftest.$ac_objext'
18424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425 (eval $ac_try) 2>&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); }; }; then
18429 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
18431 echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.
$ac_ext >&5
18434 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
18437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18440 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
18442 cat >>confdefs.h
<<\_ACEOF
18443 #define HAVE_PRFPREGSET32_T 1
18447 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
18448 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
18450 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
18451 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
18452 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
18453 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 cat >conftest.
$ac_ext <<_ACEOF
18458 cat confdefs.h
>>conftest.
$ac_ext
18459 cat >>conftest.
$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18463 #include <sys/procfs.h>
18472 rm -f conftest.
$ac_objext
18473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18474 (eval $ac_compile) 2>conftest.er1
18476 grep -v '^ *+' conftest.er1
>conftest.err
18478 cat conftest.err
>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); } &&
18481 { ac_try
='test -z "$ac_c_werror_flag"
18482 || test ! -s conftest.err'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; } &&
18488 { ac_try
='test -s conftest.$ac_objext'
18489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18490 (eval $ac_try) 2>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); }; }; then
18494 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.
$ac_ext >&5
18499 bfd_cv_have_sys_procfs_type_lwpid_t
=no
18502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18505 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
18507 cat >>confdefs.h
<<\_ACEOF
18508 #define HAVE_LWPID_T 1
18512 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
18513 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
18515 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
18516 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
18517 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 cat >conftest.
$ac_ext <<_ACEOF
18523 cat confdefs.h
>>conftest.
$ac_ext
18524 cat >>conftest.
$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18528 #include <sys/procfs.h>
18537 rm -f conftest.
$ac_objext
18538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18539 (eval $ac_compile) 2>conftest.er1
18541 grep -v '^ *+' conftest.er1
>conftest.err
18543 cat conftest.err
>&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); } &&
18546 { ac_try
='test -z "$ac_c_werror_flag"
18547 || test ! -s conftest.err'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; } &&
18553 { ac_try
='test -s conftest.$ac_objext'
18554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18555 (eval $ac_try) 2>&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); }; }; then
18559 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.
$ac_ext >&5
18564 bfd_cv_have_sys_procfs_type_psaddr_t
=no
18567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18570 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
18572 cat >>confdefs.h
<<\_ACEOF
18573 #define HAVE_PSADDR_T 1
18577 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
18578 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
18580 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
18581 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
18582 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 cat >conftest.
$ac_ext <<_ACEOF
18588 cat confdefs.h
>>conftest.
$ac_ext
18589 cat >>conftest.
$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18593 #include <sys/procfs.h>
18602 rm -f conftest.
$ac_objext
18603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18604 (eval $ac_compile) 2>conftest.er1
18606 grep -v '^ *+' conftest.er1
>conftest.err
18608 cat conftest.err
>&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } &&
18611 { ac_try
='test -z "$ac_c_werror_flag"
18612 || test ! -s conftest.err'
18613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614 (eval $ac_try) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; } &&
18618 { ac_try
='test -s conftest.$ac_objext'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; }; then
18624 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.
$ac_ext >&5
18629 bfd_cv_have_sys_procfs_type_prsysent_t
=no
18632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18635 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
18637 cat >>confdefs.h
<<\_ACEOF
18638 #define HAVE_PRSYSENT_T 1
18642 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
18643 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
18645 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
18646 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
18647 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
18648 echo $ECHO_N "(cached) $ECHO_C" >&6
18650 cat >conftest.
$ac_ext <<_ACEOF
18653 cat confdefs.h
>>conftest.
$ac_ext
18654 cat >>conftest.
$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18658 #include <sys/procfs.h>
18667 rm -f conftest.
$ac_objext
18668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18669 (eval $ac_compile) 2>conftest.er1
18671 grep -v '^ *+' conftest.er1
>conftest.err
18673 cat conftest.err
>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } &&
18676 { ac_try
='test -z "$ac_c_werror_flag"
18677 || test ! -s conftest.err'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; } &&
18683 { ac_try
='test -s conftest.$ac_objext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.
$ac_ext >&5
18694 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
18697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18700 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
18702 cat >>confdefs.h
<<\_ACEOF
18703 #define HAVE_PR_SIGSET_T 1
18707 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
18708 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
18710 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
18711 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
18712 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 cat >conftest.
$ac_ext <<_ACEOF
18718 cat confdefs.h
>>conftest.
$ac_ext
18719 cat >>conftest.
$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18723 #include <sys/procfs.h>
18727 pr_sigaction64_t avar
18732 rm -f conftest.
$ac_objext
18733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18734 (eval $ac_compile) 2>conftest.er1
18736 grep -v '^ *+' conftest.er1
>conftest.err
18738 cat conftest.err
>&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } &&
18741 { ac_try
='test -z "$ac_c_werror_flag"
18742 || test ! -s conftest.err'
18743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744 (eval $ac_try) 2>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; } &&
18748 { ac_try
='test -s conftest.$ac_objext'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; }; then
18754 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.
$ac_ext >&5
18759 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
18762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18765 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
18767 cat >>confdefs.h
<<\_ACEOF
18768 #define HAVE_PR_SIGACTION64_T 1
18772 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
18773 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
18775 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
18776 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
18777 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
18778 echo $ECHO_N "(cached) $ECHO_C" >&6
18780 cat >conftest.
$ac_ext <<_ACEOF
18783 cat confdefs.h
>>conftest.
$ac_ext
18784 cat >>conftest.
$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18788 #include <sys/procfs.h>
18792 pr_siginfo64_t avar
18797 rm -f conftest.
$ac_objext
18798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18799 (eval $ac_compile) 2>conftest.er1
18801 grep -v '^ *+' conftest.er1
>conftest.err
18803 cat conftest.err
>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } &&
18806 { ac_try
='test -z "$ac_c_werror_flag"
18807 || test ! -s conftest.err'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; } &&
18813 { ac_try
='test -s conftest.$ac_objext'
18814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18815 (eval $ac_try) 2>&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); }; }; then
18819 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.
$ac_ext >&5
18824 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
18827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18830 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
18832 cat >>confdefs.h
<<\_ACEOF
18833 #define HAVE_PR_SIGINFO64_T 1
18837 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
18838 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
18844 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
18845 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
18846 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
18847 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
18848 echo $ECHO_N "(cached) $ECHO_C" >&6
18850 if test "$cross_compiling" = yes; then
18851 gdb_cv_prfpregset_t_broken
=yes
18853 cat >conftest.
$ac_ext <<_ACEOF
18856 cat confdefs.h
>>conftest.
$ac_ext
18857 cat >>conftest.
$ac_ext <<_ACEOF
18858 /* end confdefs.h. */
18859 #include <sys/procfs.h>
18862 if (sizeof (prfpregset_t) == sizeof (void *))
18867 rm -f conftest
$ac_exeext
18868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18869 (eval $ac_link) 2>&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18874 (eval $ac_try) 2>&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); }; }; then
18878 gdb_cv_prfpregset_t_broken
=no
18880 echo "$as_me: program exited with status $ac_status" >&5
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.
$ac_ext >&5
18884 ( exit $ac_status )
18885 gdb_cv_prfpregset_t_broken
=yes
18887 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18891 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
18892 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
18893 if test $gdb_cv_prfpregset_t_broken = yes; then
18895 cat >>confdefs.h
<<\_ACEOF
18896 #define PRFPREGSET_T_BROKEN 1
18903 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
18904 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
18905 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18908 cat >conftest.
$ac_ext <<_ACEOF
18911 cat confdefs.h
>>conftest.
$ac_ext
18912 cat >>conftest.
$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914 #include <unistd.h>
18915 #include <sys/types.h>
18916 #include <sys/procfs.h>
18923 dummy = ioctl(0, PIOCSET, &dummy);
18929 rm -f conftest.
$ac_objext
18930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18931 (eval $ac_compile) 2>conftest.er1
18933 grep -v '^ *+' conftest.er1
>conftest.err
18935 cat conftest.err
>&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } &&
18938 { ac_try
='test -z "$ac_c_werror_flag"
18939 || test ! -s conftest.err'
18940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18941 (eval $ac_try) 2>&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); }; } &&
18945 { ac_try
='test -s conftest.$ac_objext'
18946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18947 (eval $ac_try) 2>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); }; }; then
18951 gdb_cv_have_procfs_piocset
=yes
18953 echo "$as_me: failed program was:" >&5
18954 sed 's/^/| /' conftest.
$ac_ext >&5
18956 gdb_cv_have_procfs_piocset
=no
18958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18961 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
18962 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
18963 if test $gdb_cv_have_procfs_piocset = yes; then
18965 cat >>confdefs.h
<<\_ACEOF
18966 #define HAVE_PROCFS_PIOCSET 1
18972 if test ${host} = ${target} ; then
18974 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
18975 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
18976 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
18977 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 cat >conftest.
$ac_ext <<_ACEOF
18982 cat confdefs.h
>>conftest.
$ac_ext
18983 cat >>conftest.
$ac_ext <<_ACEOF
18984 /* end confdefs.h. */
18989 struct link_map lm; (void) lm.l_addr;
18994 rm -f conftest.
$ac_objext
18995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18996 (eval $ac_compile) 2>conftest.er1
18998 grep -v '^ *+' conftest.er1
>conftest.err
19000 cat conftest.err
>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } &&
19003 { ac_try
='test -z "$ac_c_werror_flag"
19004 || test ! -s conftest.err'
19005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19006 (eval $ac_try) 2>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); }; } &&
19010 { ac_try
='test -s conftest.$ac_objext'
19011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19012 (eval $ac_try) 2>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); }; }; then
19016 gdb_cv_have_struct_link_map_with_l_members
=yes
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.
$ac_ext >&5
19021 gdb_cv_have_struct_link_map_with_l_members
=no
19023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19026 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
19027 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
19028 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
19030 cat >>confdefs.h
<<\_ACEOF
19031 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
19037 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
19038 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
19039 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
19040 echo $ECHO_N "(cached) $ECHO_C" >&6
19042 cat >conftest.
$ac_ext <<_ACEOF
19045 cat confdefs.h
>>conftest.
$ac_ext
19046 cat >>conftest.
$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 #include <sys/types.h>
19053 struct link_map lm; (void) lm.lm_addr;
19058 rm -f conftest.
$ac_objext
19059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19060 (eval $ac_compile) 2>conftest.er1
19062 grep -v '^ *+' conftest.er1
>conftest.err
19064 cat conftest.err
>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } &&
19067 { ac_try
='test -z "$ac_c_werror_flag"
19068 || test ! -s conftest.err'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; } &&
19074 { ac_try
='test -s conftest.$ac_objext'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; }; then
19080 gdb_cv_have_struct_link_map_with_lm_members
=yes
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.
$ac_ext >&5
19085 gdb_cv_have_struct_link_map_with_lm_members
=no
19087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19090 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
19091 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
19092 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
19094 cat >>confdefs.h
<<\_ACEOF
19095 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
19101 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
19102 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
19103 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
19104 echo $ECHO_N "(cached) $ECHO_C" >&6
19106 cat >conftest.
$ac_ext <<_ACEOF
19109 cat confdefs.h
>>conftest.
$ac_ext
19110 cat >>conftest.
$ac_ext <<_ACEOF
19111 /* end confdefs.h. */
19112 #include <sys/types.h>
19113 #ifdef HAVE_NLIST_H
19120 struct so_map lm; (void) lm.som_addr;
19125 rm -f conftest.
$ac_objext
19126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19127 (eval $ac_compile) 2>conftest.er1
19129 grep -v '^ *+' conftest.er1
>conftest.err
19131 cat conftest.err
>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } &&
19134 { ac_try
='test -z "$ac_c_werror_flag"
19135 || test ! -s conftest.err'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; } &&
19141 { ac_try
='test -s conftest.$ac_objext'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; }; then
19147 gdb_cv_have_struct_so_map_with_som_members
=yes
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.
$ac_ext >&5
19152 gdb_cv_have_struct_so_map_with_som_members
=no
19154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19157 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
19158 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
19159 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
19161 cat >>confdefs.h
<<\_ACEOF
19162 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
19168 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
19169 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
19170 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
19171 echo $ECHO_N "(cached) $ECHO_C" >&6
19173 cat >conftest.
$ac_ext <<_ACEOF
19176 cat confdefs.h
>>conftest.
$ac_ext
19177 cat >>conftest.
$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19180 #include <sys/link.h>
19184 struct link_map32 l;
19189 rm -f conftest.
$ac_objext
19190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19191 (eval $ac_compile) 2>conftest.er1
19193 grep -v '^ *+' conftest.er1
>conftest.err
19195 cat conftest.err
>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } &&
19198 { ac_try
='test -z "$ac_c_werror_flag"
19199 || test ! -s conftest.err'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; } &&
19205 { ac_try
='test -s conftest.$ac_objext'
19206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19207 (eval $ac_try) 2>&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; }; then
19211 gdb_cv_have_struct_link_map32
=yes
19213 echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.
$ac_ext >&5
19216 gdb_cv_have_struct_link_map32
=no
19218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19221 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
19222 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
19223 if test $gdb_cv_have_struct_link_map32 = yes; then
19225 cat >>confdefs.h
<<\_ACEOF
19226 #define HAVE_STRUCT_LINK_MAP32 1
19230 cat >>confdefs.h
<<\_ACEOF
19231 #define _SYSCALL32 1
19237 # Check if the compiler supports the `long long' type.
19239 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
19240 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
19241 if test "${gdb_cv_c_long_long+set}" = set; then
19242 echo $ECHO_N "(cached) $ECHO_C" >&6
19244 cat >conftest.
$ac_ext <<_ACEOF
19247 cat confdefs.h
>>conftest.
$ac_ext
19248 cat >>conftest.
$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 extern long long foo;
19254 switch (foo & 2) { case 0: return 1; }
19259 rm -f conftest.
$ac_objext
19260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19261 (eval $ac_compile) 2>conftest.er1
19263 grep -v '^ *+' conftest.er1
>conftest.err
19265 cat conftest.err
>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } &&
19268 { ac_try
='test -z "$ac_c_werror_flag"
19269 || test ! -s conftest.err'
19270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19271 (eval $ac_try) 2>&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; } &&
19275 { ac_try
='test -s conftest.$ac_objext'
19276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19277 (eval $ac_try) 2>&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); }; }; then
19281 gdb_cv_c_long_long
=yes
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.
$ac_ext >&5
19286 gdb_cv_c_long_long
=no
19288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19290 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
19291 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
19292 if test $gdb_cv_c_long_long = yes; then
19294 cat >>confdefs.h
<<\_ACEOF
19295 #define CC_HAS_LONG_LONG 1
19300 # Check if the compiler and runtime support printing long longs.
19302 echo "$as_me:$LINENO: checking for long long support in printf" >&5
19303 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
19304 if test "${gdb_cv_printf_has_long_long+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 if test "$cross_compiling" = yes; then
19308 gdb_cv_printf_has_long_long
=no
19310 cat >conftest.
$ac_ext <<_ACEOF
19313 cat confdefs.h
>>conftest.
$ac_ext
19314 cat >>conftest.
$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 $ac_includes_default
19322 l = (l << 16) + 0x0123;
19323 l = (l << 16) + 0x4567;
19324 l = (l << 16) + 0x89ab;
19325 l = (l << 16) + 0xcdef;
19326 sprintf (buf, "0x%016llx", l);
19327 return (strcmp ("0x0123456789abcdef", buf));
19332 rm -f conftest
$ac_exeext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334 (eval $ac_link) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 gdb_cv_printf_has_long_long
=yes
19345 echo "$as_me: program exited with status $ac_status" >&5
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.
$ac_ext >&5
19349 ( exit $ac_status )
19350 gdb_cv_printf_has_long_long
=no
19352 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19355 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
19356 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
19357 if test $gdb_cv_printf_has_long_long = yes; then
19359 cat >>confdefs.h
<<\_ACEOF
19360 #define PRINTF_HAS_LONG_LONG 1
19365 # Check if the compiler supports the `long double' type. We can't use
19366 # AC_C_LONG_DOUBLE because that one does additional checks on the
19367 # constants defined in <float.h> that fail on some systems,
19368 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
19370 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
19371 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
19372 if test "${gdb_cv_c_long_double+set}" = set; then
19373 echo $ECHO_N "(cached) $ECHO_C" >&6
19375 cat >conftest.
$ac_ext <<_ACEOF
19378 cat confdefs.h
>>conftest.
$ac_ext
19379 cat >>conftest.
$ac_ext <<_ACEOF
19380 /* end confdefs.h. */
19383 rm -f conftest.
$ac_objext
19384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19385 (eval $ac_compile) 2>conftest.er1
19387 grep -v '^ *+' conftest.er1
>conftest.err
19389 cat conftest.err
>&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); } &&
19392 { ac_try
='test -z "$ac_c_werror_flag"
19393 || test ! -s conftest.err'
19394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395 (eval $ac_try) 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; } &&
19399 { ac_try
='test -s conftest.$ac_objext'
19400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19401 (eval $ac_try) 2>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); }; }; then
19405 gdb_cv_c_long_double
=yes
19407 echo "$as_me: failed program was:" >&5
19408 sed 's/^/| /' conftest.
$ac_ext >&5
19410 gdb_cv_c_long_double
=no
19412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19414 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
19415 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
19416 if test $gdb_cv_c_long_double = yes; then
19418 cat >>confdefs.h
<<\_ACEOF
19419 #define HAVE_LONG_DOUBLE 1
19424 # Check if the compiler and runtime support printing long doubles.
19426 echo "$as_me:$LINENO: checking for long double support in printf" >&5
19427 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
19428 if test "${gdb_cv_printf_has_long_double+set}" = set; then
19429 echo $ECHO_N "(cached) $ECHO_C" >&6
19431 if test "$cross_compiling" = yes; then
19432 gdb_cv_printf_has_long_double
=no
19434 cat >conftest.
$ac_ext <<_ACEOF
19437 cat confdefs.h
>>conftest.
$ac_ext
19438 cat >>conftest.
$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19440 $ac_includes_default
19445 long double f = 3.141592653;
19446 sprintf (buf, "%Lg", f);
19447 return (strncmp ("3.14159", buf, 7));
19452 rm -f conftest
$ac_exeext
19453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19454 (eval $ac_link) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; }; then
19463 gdb_cv_printf_has_long_double
=yes
19465 echo "$as_me: program exited with status $ac_status" >&5
19466 echo "$as_me: failed program was:" >&5
19467 sed 's/^/| /' conftest.
$ac_ext >&5
19469 ( exit $ac_status )
19470 gdb_cv_printf_has_long_double
=no
19472 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19475 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
19476 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
19477 if test $gdb_cv_printf_has_long_double = yes; then
19479 cat >>confdefs.h
<<\_ACEOF
19480 #define PRINTF_HAS_LONG_DOUBLE 1
19485 # Check if the compiler and runtime support scanning long doubles.
19487 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
19488 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
19489 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
19490 echo $ECHO_N "(cached) $ECHO_C" >&6
19492 if test "$cross_compiling" = yes; then
19493 gdb_cv_scanf_has_long_double
=no
19495 cat >conftest.
$ac_ext <<_ACEOF
19498 cat confdefs.h
>>conftest.
$ac_ext
19499 cat >>conftest.
$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19505 char *buf = "3.141592653";
19507 sscanf (buf, "%Lg", &f);
19508 return !(f > 3.14159 && f < 3.14160);
19513 rm -f conftest
$ac_exeext
19514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19515 (eval $ac_link) 2>&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 gdb_cv_scanf_has_long_double
=yes
19526 echo "$as_me: program exited with status $ac_status" >&5
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.
$ac_ext >&5
19530 ( exit $ac_status )
19531 gdb_cv_scanf_has_long_double
=no
19533 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19536 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
19537 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
19538 if test $gdb_cv_scanf_has_long_double = yes; then
19540 cat >>confdefs.h
<<\_ACEOF
19541 #define SCANF_HAS_LONG_DOUBLE 1
19548 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
19549 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
19550 if test "${gdb_cv_bigtoc+set}" = set; then
19551 echo $ECHO_N "(cached) $ECHO_C" >&6
19554 SAVE_LDFLAGS
=$LDFLAGS
19557 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
19558 *) gdb_cv_bigtoc
=-bbigtoc ;;
19561 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
19562 cat >conftest.
$ac_ext <<_ACEOF
19565 cat confdefs.h
>>conftest.
$ac_ext
19566 cat >>conftest.
$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19577 rm -f conftest.
$ac_objext conftest
$ac_exeext
19578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19579 (eval $ac_link) 2>conftest.er1
19581 grep -v '^ *+' conftest.er1
>conftest.err
19583 cat conftest.err
>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); } &&
19586 { ac_try
='test -z "$ac_c_werror_flag"
19587 || test ! -s conftest.err'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; } &&
19593 { ac_try
='test -s conftest$ac_exeext'
19594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19595 (eval $ac_try) 2>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); }; }; then
19601 echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.
$ac_ext >&5
19606 rm -f conftest.err conftest.
$ac_objext \
19607 conftest
$ac_exeext conftest.
$ac_ext
19608 LDFLAGS
="${SAVE_LDFLAGS}"
19611 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
19612 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
19613 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
19619 if test ${build} = ${host} -a ${host} = ${target} ; then
19622 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
19623 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
19624 if test -f /usr
/include
/dce
/cma_config.h
; then
19625 if test "$GCC" = "yes" ; then
19626 echo "$as_me:$LINENO: result: yes" >&5
19627 echo "${ECHO_T}yes" >&6
19629 cat >>confdefs.h
<<\_ACEOF
19630 #define HAVE_HPUX_THREAD_SUPPORT 1
19633 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
19634 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
19636 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
19637 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
19640 echo "$as_me:$LINENO: result: no" >&5
19641 echo "${ECHO_T}no" >&6
19645 # See if thread_db library is around for Solaris thread debugging.
19646 # Note that we must explicitly test for version 1 of the library
19647 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
19649 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
19650 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
19651 if test -f /usr
/lib
/libthread_db.so
.1 ; then
19652 echo "$as_me:$LINENO: result: yes" >&5
19653 echo "${ECHO_T}yes" >&6
19655 cat >>confdefs.h
<<\_ACEOF
19656 #define HAVE_THREAD_DB_LIB 1
19659 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
19660 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
19662 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19663 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19664 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19665 echo $ECHO_N "(cached) $ECHO_C" >&6
19667 ac_check_lib_save_LIBS
=$LIBS
19669 cat >conftest.
$ac_ext <<_ACEOF
19672 cat confdefs.h
>>conftest.
$ac_ext
19673 cat >>conftest.
$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19676 /* Override any gcc2 internal prototype to avoid an error. */
19680 /* We use char because int might match the return type of a gcc2
19681 builtin and then its argument prototype would still apply. */
19691 rm -f conftest.
$ac_objext conftest
$ac_exeext
19692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19693 (eval $ac_link) 2>conftest.er1
19695 grep -v '^ *+' conftest.er1
>conftest.err
19697 cat conftest.err
>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); } &&
19700 { ac_try
='test -z "$ac_c_werror_flag"
19701 || test ! -s conftest.err'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; } &&
19707 { ac_try
='test -s conftest$ac_exeext'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; }; then
19713 ac_cv_lib_dl_dlopen
=yes
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.
$ac_ext >&5
19718 ac_cv_lib_dl_dlopen
=no
19720 rm -f conftest.err conftest.
$ac_objext \
19721 conftest
$ac_exeext conftest.
$ac_ext
19722 LIBS
=$ac_check_lib_save_LIBS
19724 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19725 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19726 if test $ac_cv_lib_dl_dlopen = yes; then
19727 cat >>confdefs.h
<<_ACEOF
19728 #define HAVE_LIBDL 1
19735 if test "$GCC" = "yes" ; then
19736 # The GNU linker requires the -export-dynamic option to make
19737 # all symbols visible in the dynamic symbol table.
19738 hold_ldflags
=$LDFLAGS
19739 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
19740 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
19741 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
19742 cat >conftest.
$ac_ext <<_ACEOF
19745 cat confdefs.h
>>conftest.
$ac_ext
19746 cat >>conftest.
$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19757 rm -f conftest.
$ac_objext conftest
$ac_exeext
19758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19759 (eval $ac_link) 2>conftest.er1
19761 grep -v '^ *+' conftest.er1
>conftest.err
19763 cat conftest.err
>&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } &&
19766 { ac_try
='test -z "$ac_c_werror_flag"
19767 || test ! -s conftest.err'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; } &&
19773 { ac_try
='test -s conftest$ac_exeext'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; }; then
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.
$ac_ext >&5
19786 rm -f conftest.err conftest.
$ac_objext \
19787 conftest
$ac_exeext conftest.
$ac_ext
19788 LDFLAGS
=$hold_ldflags
19789 echo "$as_me:$LINENO: result: $found" >&5
19790 echo "${ECHO_T}$found" >&6
19791 if test $found = yes; then
19792 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
19795 # Sun randomly tweaked the prototypes in <proc_service.h>
19797 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
19798 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
19799 if test "${gdb_cv_proc_service_is_old+set}" = set; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 cat >conftest.
$ac_ext <<_ACEOF
19806 cat confdefs.h
>>conftest.
$ac_ext
19807 cat >>conftest.
$ac_ext <<_ACEOF
19808 /* end confdefs.h. */
19810 #include <proc_service.h>
19811 ps_err_e ps_pdwrite
19812 (struct ps_prochandle*, psaddr_t, const void*, size_t);
19822 rm -f conftest.
$ac_objext
19823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19824 (eval $ac_compile) 2>conftest.er1
19826 grep -v '^ *+' conftest.er1
>conftest.err
19828 cat conftest.err
>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); } &&
19831 { ac_try
='test -z "$ac_c_werror_flag"
19832 || test ! -s conftest.err'
19833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; } &&
19838 { ac_try
='test -s conftest.$ac_objext'
19839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840 (eval $ac_try) 2>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); }; }; then
19844 gdb_cv_proc_service_is_old
=no
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.
$ac_ext >&5
19849 gdb_cv_proc_service_is_old
=yes
19851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19855 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
19856 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
19857 if test $gdb_cv_proc_service_is_old = yes; then
19859 cat >>confdefs.h
<<\_ACEOF
19860 #define PROC_SERVICE_IS_OLD 1
19865 echo "$as_me:$LINENO: result: no" >&5
19866 echo "${ECHO_T}no" >&6
19870 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
19871 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
19872 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 cat >conftest.
$ac_ext <<_ACEOF
19878 cat confdefs.h
>>conftest.
$ac_ext
19879 cat >>conftest.
$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 #include <sys/pthdebug.h>
19885 #ifndef PTHDB_VERSION_3
19892 rm -f conftest.
$ac_objext
19893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19894 (eval $ac_compile) 2>conftest.er1
19896 grep -v '^ *+' conftest.er1
>conftest.err
19898 cat conftest.err
>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } &&
19901 { ac_try
='test -z "$ac_c_werror_flag"
19902 || test ! -s conftest.err'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; } &&
19908 { ac_try
='test -s conftest.$ac_objext'
19909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19910 (eval $ac_try) 2>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); }; }; then
19914 gdb_cv_have_aix_thread_debug
=yes
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.
$ac_ext >&5
19919 gdb_cv_have_aix_thread_debug
=no
19921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19924 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
19925 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
19926 if test $gdb_cv_have_aix_thread_debug = yes; then
19927 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
19928 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
19929 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
19936 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
19937 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
19938 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
19939 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
19940 echo $ECHO_N "(cached) $ECHO_C" >&6
19942 cat >conftest.
$ac_ext <<_ACEOF
19945 cat confdefs.h
>>conftest.
$ac_ext
19946 cat >>conftest.
$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 #include <thread_db.h>
19952 int i = TD_NOTALLOC;
19957 rm -f conftest.
$ac_objext
19958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19959 (eval $ac_compile) 2>conftest.er1
19961 grep -v '^ *+' conftest.er1
>conftest.err
19963 cat conftest.err
>&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } &&
19966 { ac_try
='test -z "$ac_c_werror_flag"
19967 || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try
='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 gdb_cv_thread_db_h_has_td_notalloc
=yes
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.
$ac_ext >&5
19984 gdb_cv_thread_db_h_has_td_notalloc
=no
19987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19990 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
19991 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
19993 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
19995 cat >>confdefs.h
<<\_ACEOF
19996 #define THREAD_DB_HAS_TD_NOTALLOC 1
20001 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
20002 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
20003 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
20004 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
20005 echo $ECHO_N "(cached) $ECHO_C" >&6
20007 cat >conftest.
$ac_ext <<_ACEOF
20010 cat confdefs.h
>>conftest.
$ac_ext
20011 cat >>conftest.
$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013 #include <sys/syscall.h>
20017 int i = __NR_tkill;
20022 rm -f conftest.
$ac_objext
20023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20024 (eval $ac_compile) 2>conftest.er1
20026 grep -v '^ *+' conftest.er1
>conftest.err
20028 cat conftest.err
>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); } &&
20031 { ac_try
='test -z "$ac_c_werror_flag"
20032 || test ! -s conftest.err'
20033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034 (eval $ac_try) 2>&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); }; } &&
20038 { ac_try
='test -s conftest.$ac_objext'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; }; then
20044 gdb_cv_sys_syscall_h_has_tkill
=yes
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.
$ac_ext >&5
20049 gdb_cv_sys_syscall_h_has_tkill
=no
20052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20055 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
20056 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
20058 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
20060 cat >>confdefs.h
<<\_ACEOF
20061 #define HAVE_TKILL_SYSCALL 1
20068 # Check whether --with-sysroot or --without-sysroot was given.
20069 if test "${with_sysroot+set}" = set; then
20070 withval
="$with_sysroot"
20072 case ${with_sysroot} in
20073 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
20074 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
20077 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
20079 if test "x$exec_prefix" = xNONE
; then
20080 if test "x$prefix" = xNONE
; then
20081 test_prefix
=/usr
/local
20083 test_prefix
=$prefix
20086 test_prefix
=$exec_prefix
20088 case ${TARGET_SYSTEM_ROOT} in
20089 "${test_prefix}"|
"${test_prefix}/"*|\
20090 '${exec_prefix}'|
'${exec_prefix}/'*)
20091 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
20092 TARGET_SYSTEM_ROOT_DEFINE
="$t"
20098 TARGET_SYSTEM_ROOT
=
20099 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
20105 # Check whether --enable-werror or --disable-werror was given.
20106 if test "${enable_werror+set}" = set; then
20107 enableval
="$enable_werror"
20108 case "${enableval}" in
20109 yes | y
) ERROR_ON_WARNING
="yes" ;;
20110 no | n
) ERROR_ON_WARNING
="no" ;;
20111 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
20112 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
20113 { (exit 1); exit 1; }; } ;;
20118 if test "${ERROR_ON_WARNING}" = yes ; then
20119 WERROR_CFLAGS
="-Werror"
20122 # NOTE: Don't add -Wall or -Wunused, they both include
20123 # -Wunused-parameter which reports bogus warnings.
20124 # NOTE: If you add to this list, remember to update
20125 # gdb/doc/gdbint.texinfo.
20126 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
20127 -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral \
20128 -Wunused-label -Wunused-function -Wno-pointer-sign"
20130 # GCC supports -Wuninitialized only with -O or -On, n != 0.
20131 if test x
${CFLAGS+set} = xset
; then
20132 case "${CFLAGS}" in
20135 build_warnings
="${build_warnings} -Wuninitialized"
20139 build_warnings
="${build_warnings} -Wuninitialized"
20142 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
20143 # -Wunused-function -Wunused-variable -Wunused-value
20144 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
20145 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
20146 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
20147 # -Woverloaded-virtual -Winline -Werror"
20148 # Check whether --enable-build-warnings or --disable-build-warnings was given.
20149 if test "${enable_build_warnings+set}" = set; then
20150 enableval
="$enable_build_warnings"
20151 case "${enableval}" in
20153 no
) build_warnings
="-w";;
20154 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20155 build_warnings
="${build_warnings} ${t}";;
20156 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20157 build_warnings
="${t} ${build_warnings}";;
20158 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
20160 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
20161 echo "Setting compiler warning flags = $build_warnings" 6>&1
20163 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
20164 if test "${enable_gdb_build_warnings+set}" = set; then
20165 enableval
="$enable_gdb_build_warnings"
20166 case "${enableval}" in
20168 no
) build_warnings
="-w";;
20169 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20170 build_warnings
="${build_warnings} ${t}";;
20171 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
20172 build_warnings
="${t} ${build_warnings}";;
20173 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
20175 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
20176 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
20179 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
20181 echo "$as_me:$LINENO: checking compiler warning flags" >&5
20182 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
20183 # Separate out the -Werror flag as some files just cannot be
20184 # compiled with it enabled.
20185 for w
in ${build_warnings}; do
20187 -Werr*) WERROR_CFLAGS
=-Werror ;;
20188 *) # Check that GCC accepts it
20189 saved_CFLAGS
="$CFLAGS"
20190 CFLAGS
="$CFLAGS $w"
20191 cat >conftest.
$ac_ext <<_ACEOF
20194 cat confdefs.h
>>conftest.
$ac_ext
20195 cat >>conftest.
$ac_ext <<_ACEOF
20196 /* end confdefs.h. */
20206 rm -f conftest.
$ac_objext
20207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20208 (eval $ac_compile) 2>conftest.er1
20210 grep -v '^ *+' conftest.er1
>conftest.err
20212 cat conftest.err
>&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } &&
20215 { ac_try
='test -z "$ac_c_werror_flag"
20216 || test ! -s conftest.err'
20217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20218 (eval $ac_try) 2>&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); }; } &&
20222 { ac_try
='test -s conftest.$ac_objext'
20223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224 (eval $ac_try) 2>&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; }; then
20228 WARN_CFLAGS
="${WARN_CFLAGS} $w"
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.
$ac_ext >&5
20234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20235 CFLAGS
="$saved_CFLAGS"
20238 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
20239 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
20244 # In the Cygwin environment, we need some additional flags.
20245 echo "$as_me:$LINENO: checking for cygwin" >&5
20246 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
20247 if test "${gdb_cv_os_cygwin+set}" = set; then
20248 echo $ECHO_N "(cached) $ECHO_C" >&6
20250 cat >conftest.
$ac_ext <<_ACEOF
20253 cat confdefs.h
>>conftest.
$ac_ext
20254 cat >>conftest.
$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20257 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
20261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20262 $EGREP "lose" >/dev
/null
2>&1; then
20263 gdb_cv_os_cygwin
=yes
20265 gdb_cv_os_cygwin
=no
20270 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
20271 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
20274 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
20276 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
20277 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
20278 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
20282 # libreadline needs libuser32.a in a cygwin environment
20284 if test x
$gdb_cv_os_cygwin = xyes
; then
20285 WIN32LIBS
="-luser32"
20286 case "${target}" in
20287 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
20292 # The ser-tcp.c module requires sockets.
20296 cat >>confdefs.h
<<\_ACEOF
20297 #define USE_WIN32API 1
20300 WIN32LIBS
="$WIN32LIBS -lws2_32"
20305 # Add any host-specific objects to GDB.
20306 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
20308 LIBGUI
="../libgui/src/libgui.a"
20309 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
20327 if test "${enable_gdbtk}" = "yes"; then
20329 # Gdbtk must have an absolute path to srcdir in order to run
20330 # properly when not installed.
20333 GDBTK_SRC_DIR
=`pwd`
20338 # Ok, lets find the tcl configuration
20339 # First, look for one uninstalled.
20340 # the alternative search directory is invoked by --with-tclconfig
20343 if test x
"${no_tcl}" = x
; then
20344 # we reset no_tcl in case something fails here
20347 # Check whether --with-tclconfig or --without-tclconfig was given.
20348 if test "${with_tclconfig+set}" = set; then
20349 withval
="$with_tclconfig"
20350 with_tclconfig
=${withval}
20352 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
20353 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
20354 if test "${ac_cv_c_tclconfig+set}" = set; then
20355 echo $ECHO_N "(cached) $ECHO_C" >&6
20359 # First check to see if --with-tclconfig was specified.
20360 if test x
"${with_tclconfig}" != x
; then
20361 if test -f "${with_tclconfig}/tclConfig.sh" ; then
20362 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
20364 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
20365 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
20366 { (exit 1); exit 1; }; }
20370 # then check for a private Tcl installation
20371 if test x
"${ac_cv_c_tclconfig}" = x
; then
20374 `ls -dr ../tcl[7-9]* 2>/dev/null` \
20376 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
20378 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
20379 if test -f "$i/${configdir}/tclConfig.sh" ; then
20380 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
20385 # check in a few common install locations
20386 if test x
"${ac_cv_c_tclconfig}" = x
; then
20387 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20388 if test -f "$i/tclConfig.sh" ; then
20389 ac_cv_c_tclconfig
=`(cd $i; pwd)`
20394 # check in a few other private locations
20395 if test x
"${ac_cv_c_tclconfig}" = x
; then
20398 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
20399 if test -f "$i/${configdir}/tclConfig.sh" ; then
20400 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
20408 if test x
"${ac_cv_c_tclconfig}" = x
; then
20409 TCLCONFIG
="# no Tcl configs found"
20410 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
20411 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
20414 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
20415 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
20416 echo "${ECHO_T}found $TCLCONFIG" >&6
20420 if test -z "${no_tcl}"; then
20451 # Ok, lets find the tk configuration
20452 # First, look for one uninstalled.
20453 # the alternative search directory is invoked by --with-tkconfig
20456 if test x
"${no_tk}" = x
; then
20457 # we reset no_tk in case something fails here
20460 # Check whether --with-tkconfig or --without-tkconfig was given.
20461 if test "${with_tkconfig+set}" = set; then
20462 withval
="$with_tkconfig"
20463 with_tkconfig
=${withval}
20465 echo "$as_me:$LINENO: checking for Tk configuration" >&5
20466 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
20467 if test "${ac_cv_c_tkconfig+set}" = set; then
20468 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 # First check to see if --with-tkconfig was specified.
20473 if test x
"${with_tkconfig}" != x
; then
20474 if test -f "${with_tkconfig}/tkConfig.sh" ; then
20475 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
20477 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
20478 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
20479 { (exit 1); exit 1; }; }
20483 # then check for a private Tk library
20484 if test x
"${ac_cv_c_tkconfig}" = x
; then
20487 `ls -dr ../tk[4-9]* 2>/dev/null` \
20489 `ls -dr ../../tk[4-9]* 2>/dev/null` \
20491 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
20492 if test -f "$i/${configdir}/tkConfig.sh" ; then
20493 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
20498 # check in a few common install locations
20499 if test x
"${ac_cv_c_tkconfig}" = x
; then
20500 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20501 if test -f "$i/tkConfig.sh" ; then
20502 ac_cv_c_tkconfig
=`(cd $i; pwd)`
20507 # check in a few other private locations
20508 if test x
"${ac_cv_c_tkconfig}" = x
; then
20511 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
20512 if test -f "$i/${configdir}/tkConfig.sh" ; then
20513 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
20521 if test x
"${ac_cv_c_tkconfig}" = x
; then
20522 TKCONFIG
="# no Tk configs found"
20523 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
20524 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
20527 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
20528 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
20529 echo "${ECHO_T}found $TKCONFIG" >&6
20535 # now look for Tcl library stuff
20537 tcldir
="../tcl/${configdir}/"
20539 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
20541 # If $no_tk is nonempty, then we can't do Tk, and there is no
20542 # point to doing Tcl.
20543 if test -z "${no_tk}"; then
20545 if test -f "$TKCONFIG" ; then
20563 # Ok, lets find the tcl source trees so we can use the headers
20564 # Warning: transition of version 9 to 10 will break this algorithm
20565 # because 10 sorts before 9. We also look for just tcl. We have to
20566 # be careful that we don't match stuff like tclX by accident.
20567 # the alternative search directory is involked by --with-tclinclude
20571 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
20572 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
20574 # Check whether --with-tclinclude or --without-tclinclude was given.
20575 if test "${with_tclinclude+set}" = set; then
20576 withval
="$with_tclinclude"
20577 with_tclinclude
=${withval}
20579 if test "${ac_cv_c_tclh+set}" = set; then
20580 echo $ECHO_N "(cached) $ECHO_C" >&6
20583 # first check to see if --with-tclinclude was specified
20584 if test x
"${with_tclinclude}" != x
; then
20585 if test -f ${with_tclinclude}/tclInt.h
; then
20586 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
20587 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
20588 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
20590 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
20591 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
20592 { (exit 1); exit 1; }; }
20596 # next check if it came with Tcl configuration file
20597 if test x
"${ac_cv_c_tclconfig}" = x
; then
20598 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
20599 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
20603 # next check in private source directory
20605 # since ls returns lowest version numbers first, reverse its output
20606 if test x
"${ac_cv_c_tclh}" = x
; then
20609 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
20610 ${srcdir}/..
/..
/tcl \
20611 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
20612 ${srcdir}/..
/..
/..
/tcl \
20613 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
20614 if test -f $i/generic
/tclInt.h
; then
20615 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
20620 # finally check in a few common install locations
20622 # since ls returns lowest version numbers first, reverse its output
20623 if test x
"${ac_cv_c_tclh}" = x
; then
20625 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
20626 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
20627 /usr
/local
/src
/tcl \
20628 /usr
/local
/lib
/tcl \
20629 ${prefix}/include
; do
20630 if test -f $i/generic
/tclInt.h
; then
20631 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
20636 # see if one is installed
20637 if test x
"${ac_cv_c_tclh}" = x
; then
20638 if test "${ac_cv_header_tclInt_h+set}" = set; then
20639 echo "$as_me:$LINENO: checking for tclInt.h" >&5
20640 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
20641 if test "${ac_cv_header_tclInt_h+set}" = set; then
20642 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
20645 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
20647 # Is the header compilable?
20648 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
20649 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
20650 cat >conftest.
$ac_ext <<_ACEOF
20653 cat confdefs.h
>>conftest.
$ac_ext
20654 cat >>conftest.
$ac_ext <<_ACEOF
20655 /* end confdefs.h. */
20656 $ac_includes_default
20657 #include <tclInt.h>
20659 rm -f conftest.
$ac_objext
20660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20661 (eval $ac_compile) 2>conftest.er1
20663 grep -v '^ *+' conftest.er1
>conftest.err
20665 cat conftest.err
>&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } &&
20668 { ac_try
='test -z "$ac_c_werror_flag"
20669 || test ! -s conftest.err'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; } &&
20675 { ac_try
='test -s conftest.$ac_objext'
20676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20677 (eval $ac_try) 2>&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); }; }; then
20681 ac_header_compiler
=yes
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.
$ac_ext >&5
20686 ac_header_compiler
=no
20688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20690 echo "${ECHO_T}$ac_header_compiler" >&6
20692 # Is the header present?
20693 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
20694 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
20695 cat >conftest.
$ac_ext <<_ACEOF
20698 cat confdefs.h
>>conftest.
$ac_ext
20699 cat >>conftest.
$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 #include <tclInt.h>
20703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20706 grep -v '^ *+' conftest.er1
>conftest.err
20708 cat conftest.err
>&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } >/dev
/null
; then
20711 if test -s conftest.err
; then
20712 ac_cpp_err
=$ac_c_preproc_warn_flag
20713 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20720 if test -z "$ac_cpp_err"; then
20721 ac_header_preproc
=yes
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.
$ac_ext >&5
20726 ac_header_preproc
=no
20728 rm -f conftest.err conftest.
$ac_ext
20729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20730 echo "${ECHO_T}$ac_header_preproc" >&6
20732 # So? What about this header?
20733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20735 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
20736 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20737 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
20738 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
20739 ac_header_preproc
=yes
20742 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
20743 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
20744 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
20745 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
20746 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
20747 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
20748 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
20749 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
20750 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
20751 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
20752 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
20753 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
20756 ## ------------------------------------------ ##
20757 ## Report this to the AC_PACKAGE_NAME lists. ##
20758 ## ------------------------------------------ ##
20761 sed "s/^/$as_me: WARNING: /" >&2
20764 echo "$as_me:$LINENO: checking for tclInt.h" >&5
20765 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
20766 if test "${ac_cv_header_tclInt_h+set}" = set; then
20767 echo $ECHO_N "(cached) $ECHO_C" >&6
20769 ac_cv_header_tclInt_h
=$ac_header_preproc
20771 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
20772 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
20775 if test $ac_cv_header_tclInt_h = yes; then
20776 ac_cv_c_tclh
=installed
20786 if test x
"${ac_cv_c_tclh}" = x
; then
20787 TCLHDIR
="# no Tcl private headers found"
20788 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
20789 echo "$as_me: error: Can't find Tcl private headers" >&2;}
20790 { (exit 1); exit 1; }; }
20792 if test x
"${ac_cv_c_tclh}" != x
; then
20794 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
20795 echo "$as_me:$LINENO: result: is installed" >&5
20796 echo "${ECHO_T}is installed" >&6
20799 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
20800 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
20801 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
20802 TCLHDIR
="-I${ac_cv_c_tclh}"
20810 # Ok, lets find the tk source trees so we can use the headers
20811 # If the directory (presumably symlink) named "tk" exists, use that one
20812 # in preference to any others. Same logic is used when choosing library
20813 # and again with Tcl. The search order is the best place to look first, then in
20814 # decreasing significance. The loop breaks if the trigger file is found.
20815 # Note the gross little conversion here of srcdir by cd'ing to the found
20816 # directory. This converts the path from a relative to an absolute, so
20817 # recursive cache variables for the path will work right. We check all
20818 # the possible paths in one loop rather than many seperate loops to speed
20820 # the alternative search directory is involked by --with-tkinclude
20823 echo "$as_me:$LINENO: checking for Tk private headers" >&5
20824 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
20826 # Check whether --with-tkinclude or --without-tkinclude was given.
20827 if test "${with_tkinclude+set}" = set; then
20828 withval
="$with_tkinclude"
20829 with_tkinclude
=${withval}
20831 if test "${ac_cv_c_tkh+set}" = set; then
20832 echo $ECHO_N "(cached) $ECHO_C" >&6
20835 # first check to see if --with-tkinclude was specified
20836 if test x
"${with_tkinclude}" != x
; then
20837 if test -f ${with_tkinclude}/tk.h
; then
20838 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
20839 elif test -f ${with_tkinclude}/generic
/tk.h
; then
20840 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
20842 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
20843 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
20844 { (exit 1); exit 1; }; }
20848 # next check if it came with Tk configuration file
20849 if test x
"${ac_cv_c_tkconfig}" = x
; then
20850 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
20851 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
20855 # next check in private source directory
20857 # since ls returns lowest version numbers first, reverse its output
20858 if test x
"${ac_cv_c_tkh}" = x
; then
20861 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
20862 ${srcdir}/..
/..
/tk \
20863 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
20864 ${srcdir}/..
/..
/..
/tk \
20865 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
20866 if test -f $i/generic
/tk.h
; then
20867 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
20872 # finally check in a few common install locations
20874 # since ls returns lowest version numbers first, reverse its output
20875 if test x
"${ac_cv_c_tkh}" = x
; then
20877 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
20878 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
20879 /usr
/local
/src
/tk \
20880 /usr
/local
/lib
/tk \
20881 ${prefix}/include
; do
20882 if test -f $i/generic
/tk.h
; then
20883 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
20888 # see if one is installed
20889 if test x
"${ac_cv_c_tkh}" = x
; then
20890 if test "${ac_cv_header_tk_h+set}" = set; then
20891 echo "$as_me:$LINENO: checking for tk.h" >&5
20892 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
20893 if test "${ac_cv_header_tk_h+set}" = set; then
20894 echo $ECHO_N "(cached) $ECHO_C" >&6
20896 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
20897 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
20899 # Is the header compilable?
20900 echo "$as_me:$LINENO: checking tk.h usability" >&5
20901 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
20902 cat >conftest.
$ac_ext <<_ACEOF
20905 cat confdefs.h
>>conftest.
$ac_ext
20906 cat >>conftest.
$ac_ext <<_ACEOF
20907 /* end confdefs.h. */
20908 $ac_includes_default
20911 rm -f conftest.
$ac_objext
20912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20913 (eval $ac_compile) 2>conftest.er1
20915 grep -v '^ *+' conftest.er1
>conftest.err
20917 cat conftest.err
>&5
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); } &&
20920 { ac_try
='test -z "$ac_c_werror_flag"
20921 || test ! -s conftest.err'
20922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20923 (eval $ac_try) 2>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; } &&
20927 { ac_try
='test -s conftest.$ac_objext'
20928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20929 (eval $ac_try) 2>&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); }; }; then
20933 ac_header_compiler
=yes
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.
$ac_ext >&5
20938 ac_header_compiler
=no
20940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20942 echo "${ECHO_T}$ac_header_compiler" >&6
20944 # Is the header present?
20945 echo "$as_me:$LINENO: checking tk.h presence" >&5
20946 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
20947 cat >conftest.
$ac_ext <<_ACEOF
20950 cat confdefs.h
>>conftest.
$ac_ext
20951 cat >>conftest.
$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20956 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20958 grep -v '^ *+' conftest.er1
>conftest.err
20960 cat conftest.err
>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } >/dev
/null
; then
20963 if test -s conftest.err
; then
20964 ac_cpp_err
=$ac_c_preproc_warn_flag
20965 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20972 if test -z "$ac_cpp_err"; then
20973 ac_header_preproc
=yes
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.
$ac_ext >&5
20978 ac_header_preproc
=no
20980 rm -f conftest.err conftest.
$ac_ext
20981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20982 echo "${ECHO_T}$ac_header_preproc" >&6
20984 # So? What about this header?
20985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20987 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
20988 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20989 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
20990 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
20991 ac_header_preproc
=yes
20994 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
20995 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
20996 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
20997 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
20998 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
20999 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
21000 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
21001 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
21002 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
21003 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
21004 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
21005 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
21008 ## ------------------------------------------ ##
21009 ## Report this to the AC_PACKAGE_NAME lists. ##
21010 ## ------------------------------------------ ##
21013 sed "s/^/$as_me: WARNING: /" >&2
21016 echo "$as_me:$LINENO: checking for tk.h" >&5
21017 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
21018 if test "${ac_cv_header_tk_h+set}" = set; then
21019 echo $ECHO_N "(cached) $ECHO_C" >&6
21021 ac_cv_header_tk_h
=$ac_header_preproc
21023 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
21024 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
21027 if test $ac_cv_header_tk_h = yes; then
21028 ac_cv_c_tkh
=installed
21038 if test x
"${ac_cv_c_tkh}" != x
; then
21040 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
21041 echo "$as_me:$LINENO: result: is installed" >&5
21042 echo "${ECHO_T}is installed" >&6
21045 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
21046 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
21047 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
21048 TKHDIR
="-I${ac_cv_c_tkh}"
21051 TKHDIR
="# no Tk directory found"
21052 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
21053 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
21060 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
21061 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
21062 if test x
"${ac_cv_c_itclh}" = x
; then
21063 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
21064 if test -f $i/generic
/itcl.h
; then
21065 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
21070 if test x
"${ac_cv_c_itclh}" = x
; then
21071 ITCLHDIR
="# no Itcl private headers found"
21072 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
21073 echo "$as_me: error: Can't find Itcl private headers" >&2;}
21074 { (exit 1); exit 1; }; }
21076 if test x
"${ac_cv_c_itclh}" != x
; then
21077 ITCLHDIR
="-I${ac_cv_c_itclh}"
21079 # should always be here
21080 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
21085 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
21086 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
21087 if test x
"${ac_cv_c_itkh}" = x
; then
21088 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
21089 if test -f $i/generic
/itk.h
; then
21090 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
21095 if test x
"${ac_cv_c_itkh}" = x
; then
21096 ITKHDIR
="# no Itk private headers found"
21097 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
21098 echo "$as_me: error: Can't find Itk private headers" >&2;}
21099 { (exit 1); exit 1; }; }
21101 if test x
"${ac_cv_c_itkh}" != x
; then
21102 ITKHDIR
="-I${ac_cv_c_itkh}"
21104 # should always be here
21105 # ITKLIB="../itcl/itk/unix/libitk.a"
21111 # now look for Tk library stuff
21113 tkdir
="../tk/${configdir}/"
21115 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
21117 # now look for Itcl library stuff
21121 # Ok, lets find the itcl configuration
21122 # First, look for one uninstalled.
21123 # the alternative search directory is invoked by --with-itclconfig
21126 if test x
"${no_itcl}" = x
; then
21127 # we reset no_itcl in case something fails here
21130 # Check whether --with-itclconfig or --without-itclconfig was given.
21131 if test "${with_itclconfig+set}" = set; then
21132 withval
="$with_itclconfig"
21133 with_itclconfig
=${withval}
21135 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
21136 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
21137 if test "${ac_cv_c_itclconfig+set}" = set; then
21138 echo $ECHO_N "(cached) $ECHO_C" >&6
21142 # First check to see if --with-itclconfig was specified.
21143 if test x
"${with_itclconfig}" != x
; then
21144 if test -f "${with_itclconfig}/itclConfig.sh" ; then
21145 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
21147 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
21148 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
21149 { (exit 1); exit 1; }; }
21153 # then check for a private Itcl library
21154 if test x
"${ac_cv_c_itclconfig}" = x
; then
21157 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
21159 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
21161 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
21162 if test -f "$i/itclConfig.sh" ; then
21163 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21168 # check in a few common install locations
21169 if test x
"${ac_cv_c_itclconfig}" = x
; then
21170 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21171 if test -f "$i/itclConfig.sh" ; then
21172 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21177 # check in a few other private locations
21178 if test x
"${ac_cv_c_itclconfig}" = x
; then
21180 ${srcdir}/..
/itcl
/itcl \
21181 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
21182 if test -f "$i/itclConfig.sh" ; then
21183 ac_cv_c_itclconfig
=`(cd $i; pwd)`
21191 if test x
"${ac_cv_c_itclconfig}" = x
; then
21192 ITCLCONFIG
="# no Itcl configs found"
21193 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
21194 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
21197 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
21198 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
21199 echo "${ECHO_T}found $ITCLCONFIG" >&6
21203 if test -z "${no_itcl}"; then
21205 if test -f "$ITCLCONFIG" ; then
21220 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
21221 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
21225 # now look for Itk library stuff
21228 # Ok, lets find the itk configuration
21229 # First, look for one uninstalled.
21230 # the alternative search directory is invoked by --with-itkconfig
21233 if test x
"${no_itk}" = x
; then
21234 # we reset no_itk in case something fails here
21237 # Check whether --with-itkconfig or --without-itkconfig was given.
21238 if test "${with_itkconfig+set}" = set; then
21239 withval
="$with_itkconfig"
21240 with_itkconfig
=${withval}
21242 echo "$as_me:$LINENO: checking for Itk configuration" >&5
21243 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
21244 if test "${ac_cv_c_itkconfig+set}" = set; then
21245 echo $ECHO_N "(cached) $ECHO_C" >&6
21249 # First check to see if --with-itkconfig was specified.
21250 if test x
"${with_itkconfig}" != x
; then
21251 if test -f "${with_itkconfig}/itkConfig.sh" ; then
21252 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
21254 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
21255 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
21256 { (exit 1); exit 1; }; }
21260 # then check for a private Itk library
21261 if test x
"${ac_cv_c_itkconfig}" = x
; then
21264 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
21266 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
21268 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
21269 if test -f "$i/itkConfig.sh" ; then
21270 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21275 # check in a few common install locations
21276 if test x
"${ac_cv_c_itkconfig}" = x
; then
21277 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
21278 if test -f "$i/itkConfig.sh" ; then
21279 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21284 # check in a few other private locations
21285 if test x
"${ac_cv_c_itkconfig}" = x
; then
21287 ${srcdir}/..
/itcl
/itk \
21288 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
21289 if test -f "$i/itkConfig.sh" ; then
21290 ac_cv_c_itkconfig
=`(cd $i; pwd)`
21298 if test x
"${ac_cv_c_itkconfig}" = x
; then
21299 ITKCONFIG
="# no Itk configs found"
21300 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
21301 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
21304 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
21305 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
21306 echo "${ECHO_T}found $ITKCONFIG" >&6
21311 if test -z "${no_itcl}"; then
21313 if test -f "$ITKCONFIG" ; then
21328 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
21329 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
21332 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
21334 # Include some libraries that Tcl and Tk want.
21335 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
21336 # Yes, the ordering seems wrong here. But it isn't.
21337 # TK_LIBS is the list of libraries that need to be linked
21338 # after Tcl/Tk. Note that this isn't put into LIBS. If it
21339 # were in LIBS then any link tests after this point would
21340 # try to include things like `$(LIBGUI)', which wouldn't work.
21341 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
21343 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
21344 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
21345 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
21346 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
21347 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
21348 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
21349 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
21351 if test x
$gdb_cv_os_cygwin = xyes
; then
21352 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
21353 WIN32LDAPP
="-Wl,--subsystem,console"
21354 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
21361 subdirs
="$subdirs gdbtk"
21378 echo "$as_me:$LINENO: checking for X" >&5
21379 echo $ECHO_N "checking for X... $ECHO_C" >&6
21382 # Check whether --with-x or --without-x was given.
21383 if test "${with_x+set}" = set; then
21387 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21388 if test "x$with_x" = xno
; then
21389 # The user explicitly disabled X.
21392 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21393 # Both variables are already set.
21396 if test "${ac_cv_have_x+set}" = set; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21399 # One or both of the vars are not set, and there is no cached value.
21400 ac_x_includes
=no ac_x_libraries
=no
21401 rm -fr conftest.dir
21402 if mkdir conftest.dir
; then
21404 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21405 cat >Imakefile
<<'_ACEOF'
21407 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21409 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21410 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21411 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21412 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21413 for ac_extension
in a so sl
; do
21414 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21415 test -f $ac_im_libdir/libX11.
$ac_extension; then
21416 ac_im_usrlibdir
=$ac_im_libdir; break
21419 # Screen out bogus values from the imake configuration. They are
21420 # bogus both because they are the default anyway, and because
21421 # using them would break gcc on systems where it needs fixed includes.
21422 case $ac_im_incroot in
21424 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21426 case $ac_im_usrlibdir in
21427 /usr
/lib |
/lib
) ;;
21428 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21432 rm -fr conftest.dir
21435 # Standard set of common directories for X headers.
21436 # Check X11 before X11Rn because it is often a symlink to the current release.
21448 /usr/local/X11/include
21449 /usr/local/X11R6/include
21450 /usr/local/X11R5/include
21451 /usr/local/X11R4/include
21453 /usr/local/include/X11
21454 /usr/local/include/X11R6
21455 /usr/local/include/X11R5
21456 /usr/local/include/X11R4
21460 /usr/XFree86/include/X11
21464 /usr/unsupported/include
21465 /usr/athena/include
21466 /usr/local/x11r5/include
21467 /usr/lpp/Xamples/include
21469 /usr/openwin/include
21470 /usr/openwin/share/include'
21472 if test "$ac_x_includes" = no
; then
21473 # Guess where to find include files, by looking for Intrinsic.h.
21474 # First, try using that file with no special directory specified.
21475 cat >conftest.
$ac_ext <<_ACEOF
21478 cat confdefs.h
>>conftest.
$ac_ext
21479 cat >>conftest.
$ac_ext <<_ACEOF
21480 /* end confdefs.h. */
21481 #include <X11/Intrinsic.h>
21483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21484 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21486 grep -v '^ *+' conftest.er1
>conftest.err
21488 cat conftest.err
>&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } >/dev
/null
; then
21491 if test -s conftest.err
; then
21492 ac_cpp_err
=$ac_c_preproc_warn_flag
21493 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21500 if test -z "$ac_cpp_err"; then
21501 # We can compile using X headers with no special include directory.
21504 echo "$as_me: failed program was:" >&5
21505 sed 's/^/| /' conftest.
$ac_ext >&5
21507 for ac_dir
in $ac_x_header_dirs; do
21508 if test -r "$ac_dir/X11/Intrinsic.h"; then
21509 ac_x_includes
=$ac_dir
21514 rm -f conftest.err conftest.
$ac_ext
21515 fi # $ac_x_includes = no
21517 if test "$ac_x_libraries" = no
; then
21518 # Check for the libraries.
21519 # See if we find them without any special options.
21520 # Don't add to $LIBS permanently.
21523 cat >conftest.
$ac_ext <<_ACEOF
21526 cat confdefs.h
>>conftest.
$ac_ext
21527 cat >>conftest.
$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 #include <X11/Intrinsic.h>
21538 rm -f conftest.
$ac_objext conftest
$ac_exeext
21539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21540 (eval $ac_link) 2>conftest.er1
21542 grep -v '^ *+' conftest.er1
>conftest.err
21544 cat conftest.err
>&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); } &&
21547 { ac_try
='test -z "$ac_c_werror_flag"
21548 || test ! -s conftest.err'
21549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21550 (eval $ac_try) 2>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; } &&
21554 { ac_try
='test -s conftest$ac_exeext'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; }; then
21561 # We can link X programs with no special library path.
21564 echo "$as_me: failed program was:" >&5
21565 sed 's/^/| /' conftest.
$ac_ext >&5
21568 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21570 # Don't even attempt the hair of trying to link an X program!
21571 for ac_extension
in a so sl
; do
21572 if test -r $ac_dir/libXt.
$ac_extension; then
21573 ac_x_libraries
=$ac_dir
21579 rm -f conftest.err conftest.
$ac_objext \
21580 conftest
$ac_exeext conftest.
$ac_ext
21581 fi # $ac_x_libraries = no
21583 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
21584 # Didn't find X anywhere. Cache the known absence of X.
21585 ac_cv_have_x
="have_x=no"
21587 # Record where we found X for the cache.
21588 ac_cv_have_x
="have_x=yes \
21589 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21594 eval "$ac_cv_have_x"
21597 if test "$have_x" != yes; then
21598 echo "$as_me:$LINENO: result: $have_x" >&5
21599 echo "${ECHO_T}$have_x" >&6
21602 # If each of the values was on the command line, it overrides each guess.
21603 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21604 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21605 # Update the cache value to reflect the command line values.
21606 ac_cv_have_x
="have_x=yes \
21607 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21608 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21609 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21613 # Check whether we should enable the TUI, but only do so if we really
21615 if test x
"$enable_tui" = xyes
; then
21616 if test -d $srcdir/tui
; then
21617 if test "$ac_cv_search_waddstr" != no
; then
21618 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
21619 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
21620 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
21621 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
21622 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
21623 CONFIG_ALL
="${CONFIG_ALL} all-tui"
21624 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
21625 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
21626 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
21628 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
21629 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
21634 # Unlike the sim directory, whether a simulator is linked is controlled by
21635 # presence of a SIM= and a SIM_OBS= definition in the target '.mt' file.
21636 # This code just checks for a few cases where we'd like to ignore those
21637 # definitions, even when they're present in the '.mt' file. These cases
21638 # are when --disable-sim is specified, or if the simulator directory is
21639 # not part of the source tree.
21641 # Check whether --enable-sim or --disable-sim was given.
21642 if test "${enable_sim+set}" = set; then
21643 enableval
="$enable_sim"
21644 echo "enable_sim = $enable_sim";
21645 echo "enableval = ${enableval}";
21646 case "${enableval}" in
21647 yes) ignore_sim
=false
;;
21648 no
) ignore_sim
=true
;;
21649 *) ignore_sim
=false
;;
21655 if test ! -d "${srcdir}/../sim"; then
21659 if test "${ignore_sim}" = "true"; then
21661 IGNORE_SIM_OBS
="SIM_OBS="
21666 cat >>confdefs.h
<<\_ACEOF
21685 # List of host floatformats.
21687 cat >>confdefs.h
<<_ACEOF
21688 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
21692 cat >>confdefs.h
<<_ACEOF
21693 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
21697 cat >>confdefs.h
<<_ACEOF
21698 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
21702 # target_subdir is used by the testsuite to find the target libraries.
21704 if test "${host}" != "${target}"; then
21705 target_subdir
="${target_alias}/"
21710 if test "${target}" = "${host}"; then
21711 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
21712 if test ! -f ${host_makefile_frag}; then
21713 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
21714 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
21715 { (exit 1); exit 1; }; }
21717 frags
="$frags $host_makefile_frag"
21719 host_makefile_frag
=/dev
/null
21722 target_makefile_frag
=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
21723 if test ! -f ${target_makefile_frag}; then
21724 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
21725 echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
21726 { (exit 1); exit 1; }; }
21728 frags
="$frags $target_makefile_frag"
21735 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21736 ' ${host_makefile_frag}`
21738 targetfile
=`sed -n '
21739 s/DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21740 ' ${target_makefile_frag}`
21742 if test "${target}" = "${host}"; then
21743 # We pick this up from the host configuration file (.mh) because we
21744 # do not have a native configuration Makefile fragment.
21745 nativefile
=`sed -n '
21746 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21747 ' ${host_makefile_frag}`
21751 if test x
"${gdb_osabi}" != x
; then
21753 cat >>confdefs.h
<<_ACEOF
21754 #define GDB_OSABI_DEFAULT $gdb_osabi
21759 # Enable multi-ice-gdb-server.
21760 # Check whether --enable-multi-ice or --disable-multi-ice was given.
21761 if test "${enable_multi_ice+set}" = set; then
21762 enableval
="$enable_multi_ice"
21766 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
21767 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
21768 { (exit 1); exit 1; }; } ;;
21771 if test "x$enable_multi_ice" = xyes
; then
21774 subdirs
="$subdirs multi-ice"
21778 # We only build gdbserver automatically if host and target are the same.
21779 if test "x$target" = "x$host"; then
21780 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
21781 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
21782 if test "x$build_gdbserver" = xyes
; then
21783 echo "$as_me:$LINENO: result: yes" >&5
21784 echo "${ECHO_T}yes" >&6
21787 subdirs
="$subdirs gdbserver"
21790 echo "$as_me:$LINENO: result: no" >&5
21791 echo "${ECHO_T}no" >&6
21795 # If hostfile (XM_FILE) and/or targetfile (DEPRECATED_TM_FILE) and/or
21796 # nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
21797 # to an empty version.
21804 if test "${hostfile}" != ""; then
21806 case "${hostfile}" in
21807 xm-
*.h
) GDB_XM_FILE
="config/${gdb_host_cpu}/${hostfile}" ;;
21808 * ) GDB_XM_FILE
="${hostfile}"
21810 files
="${files} ${GDB_XM_FILE}"
21811 links
="${links} xm.h"
21813 cat >>confdefs.h
<<_ACEOF
21814 #define GDB_XM_FILE "${GDB_XM_FILE}"
21822 if test "${targetfile}" != ""; then
21824 case "${targetfile}" in
21825 tm-
*.h
) GDB_TM_FILE
="config/${gdb_target_cpu}/${targetfile}" ;;
21826 * ) GDB_TM_FILE
="${targetfile}"
21828 files
="${files} ${GDB_TM_FILE}"
21829 links
="${links} tm.h"
21831 cat >>confdefs.h
<<_ACEOF
21832 #define GDB_TM_FILE "${GDB_TM_FILE}"
21840 if test "${nativefile}" != ""; then
21842 case "${nativefile}" in
21843 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
21844 * ) GDB_NM_FILE
="${nativefile}"
21846 files
="${files} ${GDB_NM_FILE}"
21847 links
="${links} nm.h"
21849 cat >>confdefs.h
<<_ACEOF
21850 #define GDB_NM_FILE "${GDB_NM_FILE}"
21856 ac_sources
="$files"
21858 while test -n "$ac_sources"; do
21859 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
21860 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
21861 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
21863 ac_config_links
="$ac_config_links $ac_config_links_1"
21870 cat >>confdefs.h
<<\_ACEOF
21871 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
21878 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21879 if test "${with_libiconv_prefix+set}" = set; then
21880 withval
="$with_libiconv_prefix"
21882 for dir
in `echo "$withval" | tr : ' '`; do
21883 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
21884 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
21889 echo "$as_me:$LINENO: checking for iconv" >&5
21890 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
21891 if test "${am_cv_func_iconv+set}" = set; then
21892 echo $ECHO_N "(cached) $ECHO_C" >&6
21895 am_cv_func_iconv
="no, consider installing GNU libiconv"
21897 cat >conftest.
$ac_ext <<_ACEOF
21900 cat confdefs.h
>>conftest.
$ac_ext
21901 cat >>conftest.
$ac_ext <<_ACEOF
21902 /* end confdefs.h. */
21903 #include <stdlib.h>
21908 iconv_t cd = iconv_open("","");
21909 iconv(cd,NULL,NULL,NULL,NULL);
21915 rm -f conftest.
$ac_objext conftest
$ac_exeext
21916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21917 (eval $ac_link) 2>conftest.er1
21919 grep -v '^ *+' conftest.er1
>conftest.err
21921 cat conftest.err
>&5
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); } &&
21924 { ac_try
='test -z "$ac_c_werror_flag"
21925 || test ! -s conftest.err'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; } &&
21931 { ac_try
='test -s conftest$ac_exeext'
21932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21933 (eval $ac_try) 2>&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); }; }; then
21937 am_cv_func_iconv
=yes
21939 echo "$as_me: failed program was:" >&5
21940 sed 's/^/| /' conftest.
$ac_ext >&5
21943 rm -f conftest.err conftest.
$ac_objext \
21944 conftest
$ac_exeext conftest.
$ac_ext
21945 if test "$am_cv_func_iconv" != yes; then
21946 am_save_LIBS
="$LIBS"
21947 LIBS
="$LIBS -liconv"
21948 cat >conftest.
$ac_ext <<_ACEOF
21951 cat confdefs.h
>>conftest.
$ac_ext
21952 cat >>conftest.
$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 #include <stdlib.h>
21959 iconv_t cd = iconv_open("","");
21960 iconv(cd,NULL,NULL,NULL,NULL);
21966 rm -f conftest.
$ac_objext conftest
$ac_exeext
21967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21968 (eval $ac_link) 2>conftest.er1
21970 grep -v '^ *+' conftest.er1
>conftest.err
21972 cat conftest.err
>&5
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); } &&
21975 { ac_try
='test -z "$ac_c_werror_flag"
21976 || test ! -s conftest.err'
21977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21978 (eval $ac_try) 2>&5
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); }; } &&
21982 { ac_try
='test -s conftest$ac_exeext'
21983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21984 (eval $ac_try) 2>&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); }; }; then
21988 am_cv_lib_iconv
=yes
21989 am_cv_func_iconv
=yes
21991 echo "$as_me: failed program was:" >&5
21992 sed 's/^/| /' conftest.
$ac_ext >&5
21995 rm -f conftest.err conftest.
$ac_objext \
21996 conftest
$ac_exeext conftest.
$ac_ext
21997 LIBS
="$am_save_LIBS"
22001 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22002 echo "${ECHO_T}$am_cv_func_iconv" >&6
22003 if test "$am_cv_func_iconv" = yes; then
22005 cat >>confdefs.h
<<\_ACEOF
22006 #define HAVE_ICONV 1
22009 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22010 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22011 if test "${am_cv_proto_iconv+set}" = set; then
22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22015 cat >conftest.
$ac_ext <<_ACEOF
22018 cat confdefs.h
>>conftest.
$ac_ext
22019 cat >>conftest.
$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22022 #include <stdlib.h>
22028 #if defined(__STDC__) || defined(__cplusplus)
22029 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22042 rm -f conftest.
$ac_objext
22043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22044 (eval $ac_compile) 2>conftest.er1
22046 grep -v '^ *+' conftest.er1
>conftest.err
22048 cat conftest.err
>&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } &&
22051 { ac_try
='test -z "$ac_c_werror_flag"
22052 || test ! -s conftest.err'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; } &&
22058 { ac_try
='test -s conftest.$ac_objext'
22059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22060 (eval $ac_try) 2>&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; }; then
22064 am_cv_proto_iconv_arg1
=""
22066 echo "$as_me: failed program was:" >&5
22067 sed 's/^/| /' conftest.
$ac_ext >&5
22069 am_cv_proto_iconv_arg1
="const"
22071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22072 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);"
22075 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22076 echo "$as_me:$LINENO: result: ${ac_t:-
22077 }$am_cv_proto_iconv" >&5
22078 echo "${ECHO_T}${ac_t:-
22079 }$am_cv_proto_iconv" >&6
22081 cat >>confdefs.h
<<_ACEOF
22082 #define ICONV_CONST $am_cv_proto_iconv_arg1
22087 if test "$am_cv_lib_iconv" = yes; then
22093 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
22094 ac_config_commands
="$ac_config_commands default"
22095 cat >confcache
<<\_ACEOF
22096 # This file is a shell script that caches the results of configure
22097 # tests run on this system so they can be shared between configure
22098 # scripts and configure runs, see configure's option --config-cache.
22099 # It is not useful on other systems. If it contains results you don't
22100 # want to keep, you may remove or edit it.
22102 # config.status only pays attention to the cache file if you give it
22103 # the --recheck option to rerun configure.
22105 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22106 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22107 # following values.
22111 # The following way of writing the cache mishandles newlines in values,
22112 # but we know of no workaround that is simple, portable, and efficient.
22113 # So, don't put newlines in cache variables' values.
22114 # Ultrix sh set writes to stderr and can't be redirected directly,
22115 # and sets the high bit in the cache file unless we assign to the vars.
22118 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22120 # `set' does not quote correctly, so add quotes (double-quote
22121 # substitution turns \\\\ into \\, and sed turns \\ into \).
22124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22127 # `set' quotes correctly as required by POSIX, so do not add quotes.
22129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22136 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22138 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22140 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22141 if test -w $cache_file; then
22142 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22143 cat confcache
>$cache_file
22145 echo "not updating unwritable cache $cache_file"
22150 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22151 # Let make expand exec_prefix.
22152 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22154 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22155 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22156 # trailing colons and then remove the whole line if VPATH becomes empty
22157 # (actually we leave an empty line to preserve line numbers).
22158 if test "x$srcdir" = x.
; then
22159 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22160 s/:*\$(srcdir):*/:/;
22161 s/:*\${srcdir}:*/:/;
22163 s/^\([^=]*=[ ]*\):*/\1/;
22169 DEFS
=-DHAVE_CONFIG_H
22173 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22174 # 1. Remove the extension, and $U if already installed.
22175 ac_i
=`echo "$ac_i" |
22176 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22178 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
22179 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
22181 LIBOBJS
=$ac_libobjs
22183 LTLIBOBJS
=$ac_ltlibobjs
22186 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22187 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22188 Usually this means the macro was only invoked conditionally." >&5
22189 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22190 Usually this means the macro was only invoked conditionally." >&2;}
22191 { (exit 1); exit 1; }; }
22194 : ${CONFIG_STATUS=./config.status}
22195 ac_clean_files_save
=$ac_clean_files
22196 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22197 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22198 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22199 cat >$CONFIG_STATUS <<_ACEOF
22201 # Generated by $as_me.
22202 # Run this file to recreate the current configuration.
22203 # Compiler output produced by configure, useful for debugging
22204 # configure, is in config.log if it exists.
22207 ac_cs_recheck=false
22209 SHELL=\${CONFIG_SHELL-$SHELL}
22212 cat >>$CONFIG_STATUS <<\_ACEOF
22213 ## --------------------- ##
22214 ## M4sh Initialization. ##
22215 ## --------------------- ##
22217 # Be Bourne compatible
22218 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22221 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22222 # is contrary to our usage. Disable this feature.
22223 alias -g '${1+"$@"}'='"$@"'
22224 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22227 DUALCASE
=1; export DUALCASE
# for MKS sh
22229 # Support unset when possible.
22230 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22237 # Work around bugs in pre-3.0 UWIN ksh.
22238 $as_unset ENV MAIL MAILPATH
22245 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22246 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22247 LC_TELEPHONE LC_TIME
22249 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22250 eval $as_var=C
; export $as_var
22256 # Required to use basename.
22257 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22263 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
22264 as_basename
=basename
22270 # Name of the executable.
22271 as_me
=`$as_basename "$0" ||
22272 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22273 X"$0" : 'X\(//\)$' \| \
22274 X"$0" : 'X\(/\)$' \| \
22275 . : '\(.\)' 2>/dev/null ||
22277 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22278 /^X\/\(\/\/\)$/{ s//\1/; q; }
22279 /^X\/\(\/\).*/{ s//\1/; q; }
22283 # PATH needs CR, and LINENO needs CR and PATH.
22284 # Avoid depending upon Character Ranges.
22285 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22286 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22287 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22288 as_cr_digits
='0123456789'
22289 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22291 # The user is always right.
22292 if test "${PATH_SEPARATOR+set}" != set; then
22293 echo "#! /bin/sh" >conf$$.sh
22294 echo "exit 0" >>conf$$.sh
22296 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22305 as_lineno_1
=$LINENO
22306 as_lineno_2
=$LINENO
22307 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
22308 test "x$as_lineno_1" != "x$as_lineno_2" &&
22309 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
22310 # Find who we are. Look in the path if we contain no path at all
22313 *[\\/]* ) as_myself
=$0 ;;
22314 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22315 for as_dir
in $PATH
22318 test -z "$as_dir" && as_dir
=.
22319 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22324 # We did not find ourselves, most probably we were run as `sh COMMAND'
22325 # in which case we are not to be found in the path.
22326 if test "x$as_myself" = x
; then
22329 if test ! -f "$as_myself"; then
22330 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22331 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22332 { (exit 1); exit 1; }; }
22334 case $CONFIG_SHELL in
22336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22337 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
22340 test -z "$as_dir" && as_dir
=.
22341 for as_base
in sh bash ksh sh5
; do
22344 if ("$as_dir/$as_base" -c '
22345 as_lineno_1=$LINENO
22346 as_lineno_2=$LINENO
22347 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22348 test "x$as_lineno_1" != "x$as_lineno_2" &&
22349 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
22350 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
22351 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
22352 CONFIG_SHELL
=$as_dir/$as_base
22353 export CONFIG_SHELL
22354 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22362 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22363 # uniformly replaced by the line number. The first 'sed' inserts a
22364 # line-number line before each line; the second 'sed' does the real
22365 # work. The second script uses 'N' to pair each line-number line
22366 # with the numbered line, and appends trailing '-' during
22367 # substitution so that $LINENO is not a special case at line end.
22368 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22369 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22370 sed '=' <$as_myself |
22375 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22378 s,^['$as_cr_digits']*\n,,
22379 ' >$as_me.lineno
&&
22380 chmod +x
$as_me.lineno ||
22381 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22382 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22383 { (exit 1); exit 1; }; }
22385 # Don't try to exec as it changes $[0], causing all sort of problems
22386 # (the dirname of $[0] is not the place where we might find the
22387 # original and so on. Autoconf is especially sensible to this).
22389 # Exit status is that of the last command.
22394 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22395 *c
*,-n*) ECHO_N
= ECHO_C
='
22397 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22398 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22401 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22407 rm -f conf$$ conf$$.exe conf$$.
file
22409 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22410 # We could just check for DJGPP; but this test a) works b) is more generic
22411 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22412 if test -f conf$$.exe
; then
22413 # Don't use ln at all; we don't have any links
22418 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22423 rm -f conf$$ conf$$.exe conf$$.
file
22425 if mkdir
-p .
2>/dev
/null
; then
22428 test -d .
/-p && rmdir .
/-p
22432 as_executable_p
="test -f"
22434 # Sed expression to map a string onto a valid CPP name.
22435 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22437 # Sed expression to map a string onto a valid variable name.
22438 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22442 # We need space, tab and new line, in precisely that order.
22452 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22453 # report actual input values of CONFIG_FILES etc. instead of their
22454 # values after options handling. Logging --version etc. is OK.
22458 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22459 ## Running $as_me. ##
22464 This file was extended by $as_me, which was
22465 generated by GNU Autoconf 2.59. Invocation command line was
22467 CONFIG_FILES = $CONFIG_FILES
22468 CONFIG_HEADERS = $CONFIG_HEADERS
22469 CONFIG_LINKS = $CONFIG_LINKS
22470 CONFIG_COMMANDS = $CONFIG_COMMANDS
22474 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22478 # Files that config.status was made for.
22479 if test -n "$ac_config_files"; then
22480 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22483 if test -n "$ac_config_headers"; then
22484 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22487 if test -n "$ac_config_links"; then
22488 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22491 if test -n "$ac_config_commands"; then
22492 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22495 cat >>$CONFIG_STATUS <<\_ACEOF
22498 \`$as_me' instantiates files from templates according to the
22499 current configuration.
22501 Usage: $0 [OPTIONS] [FILE]...
22503 -h, --help print this help, then exit
22504 -V, --version print version number, then exit
22505 -q, --quiet do not print progress messages
22506 -d, --debug don't remove temporary files
22507 --recheck update $as_me by reconfiguring in the same conditions
22508 --file=FILE[:TEMPLATE]
22509 instantiate the configuration file FILE
22510 --header=FILE[:TEMPLATE]
22511 instantiate the configuration header FILE
22513 Configuration files:
22516 Configuration headers:
22519 Configuration links:
22522 Configuration commands:
22525 Report bugs to <bug-autoconf@gnu.org>."
22528 cat >>$CONFIG_STATUS <<_ACEOF
22531 configured by $0, generated by GNU Autoconf 2.59,
22532 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22534 Copyright (C) 2003 Free Software Foundation, Inc.
22535 This config.status script is free software; the Free Software Foundation
22536 gives unlimited permission to copy, distribute and modify it."
22541 cat >>$CONFIG_STATUS <<\_ACEOF
22542 # If no file are specified by the user, then we need to provide default
22543 # value. By we need to know if files were specified by the user.
22549 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22550 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22558 *) # This is not an option, so the user has probably given explicit
22561 ac_need_defaults
=false
;;
22565 # Handling of the options.
22567 cat >>$CONFIG_STATUS <<\_ACEOF
22568 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22570 --version |
--vers* |
-V )
22571 echo "$ac_cs_version"; exit 0 ;;
22573 # Conflict between --help and --header
22574 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22575 Try \`$0 --help' for more information." >&5
22576 echo "$as_me: error: ambiguous option: $1
22577 Try \`$0 --help' for more information." >&2;}
22578 { (exit 1); exit 1; }; };;
22579 --help |
--hel |
-h )
22580 echo "$ac_cs_usage"; exit 0 ;;
22581 --debug |
--d* |
-d )
22583 --file |
--fil |
--fi |
--f )
22585 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22586 ac_need_defaults
=false
;;
22587 --header |
--heade |
--head |
--hea )
22589 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22590 ac_need_defaults
=false
;;
22591 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22592 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22595 # This is an error.
22596 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22597 Try \`$0 --help' for more information." >&5
22598 echo "$as_me: error: unrecognized option: $1
22599 Try \`$0 --help' for more information." >&2;}
22600 { (exit 1); exit 1; }; } ;;
22602 *) ac_config_targets
="$ac_config_targets $1" ;;
22608 ac_configure_extra_args
=
22610 if $ac_cs_silent; then
22612 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22616 cat >>$CONFIG_STATUS <<_ACEOF
22617 if \$ac_cs_recheck; then
22618 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22619 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22624 cat >>$CONFIG_STATUS <<_ACEOF
22626 # INIT-COMMANDS section.
22630 gdb_host_cpu=$gdb_host_cpu
22631 gdb_target_cpu=$gdb_target_cpu
22632 nativefile=$nativefile
22639 cat >>$CONFIG_STATUS <<\_ACEOF
22640 for ac_config_target
in $ac_config_targets
22642 case "$ac_config_target" in
22643 # Handling of arguments.
22644 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22645 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
22646 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
22647 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
22648 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
22649 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22650 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22651 { (exit 1); exit 1; }; };;
22655 # If the user did not use the arguments to specify the items to instantiate,
22656 # then the envvar interface is used. Set only those that are not.
22657 # We use the long form for the default assignment because of an extremely
22658 # bizarre bug on SunOS 4.1.3.
22659 if $ac_need_defaults; then
22660 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22661 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22662 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
22663 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22666 # Have a temporary directory for convenience. Make it in the build tree
22667 # simply because there is no reason to put it here, and in addition,
22668 # creating and moving files from /tmp can sometimes cause problems.
22669 # Create a temporary directory, and hook for its removal unless debugging.
22672 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22673 trap '{ (exit 1); exit 1; }' 1 2 13 15
22676 # Create a (secure) tmp directory for tmp files.
22679 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22680 test -n "$tmp" && test -d "$tmp"
22683 tmp
=.
/confstat$$
-$RANDOM
22684 (umask 077 && mkdir
$tmp)
22687 echo "$me: cannot create a temporary directory in ." >&2
22688 { (exit 1); exit 1; }
22693 cat >>$CONFIG_STATUS <<_ACEOF
22696 # CONFIG_FILES section.
22699 # No need to generate the scripts if there are no CONFIG_FILES.
22700 # This happens for instance when ./config.status config.h
22701 if test -n "\$CONFIG_FILES"; then
22702 # Protect against being on the right side of a sed subst in config.status.
22703 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22704 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22705 s,@SHELL@,$SHELL,;t t
22706 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22707 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22708 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22709 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22710 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22711 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22712 s,@exec_prefix@,$exec_prefix,;t t
22713 s,@prefix@,$prefix,;t t
22714 s,@program_transform_name@,$program_transform_name,;t t
22715 s,@bindir@,$bindir,;t t
22716 s,@sbindir@,$sbindir,;t t
22717 s,@libexecdir@,$libexecdir,;t t
22718 s,@datadir@,$datadir,;t t
22719 s,@sysconfdir@,$sysconfdir,;t t
22720 s,@sharedstatedir@,$sharedstatedir,;t t
22721 s,@localstatedir@,$localstatedir,;t t
22722 s,@libdir@,$libdir,;t t
22723 s,@includedir@,$includedir,;t t
22724 s,@oldincludedir@,$oldincludedir,;t t
22725 s,@infodir@,$infodir,;t t
22726 s,@mandir@,$mandir,;t t
22727 s,@build_alias@,$build_alias,;t t
22728 s,@host_alias@,$host_alias,;t t
22729 s,@target_alias@,$target_alias,;t t
22730 s,@DEFS@,$DEFS,;t t
22731 s,@ECHO_C@,$ECHO_C,;t t
22732 s,@ECHO_N@,$ECHO_N,;t t
22733 s,@ECHO_T@,$ECHO_T,;t t
22734 s,@LIBS@,$LIBS,;t t
22735 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22736 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22737 s,@MAINT@,$MAINT,;t t
22739 s,@CFLAGS@,$CFLAGS,;t t
22740 s,@LDFLAGS@,$LDFLAGS,;t t
22741 s,@CPPFLAGS@,$CPPFLAGS,;t t
22742 s,@ac_ct_CC@,$ac_ct_CC,;t t
22743 s,@EXEEXT@,$EXEEXT,;t t
22744 s,@OBJEXT@,$OBJEXT,;t t
22746 s,@EGREP@,$EGREP,;t t
22747 s,@build@,$build,;t t
22748 s,@build_cpu@,$build_cpu,;t t
22749 s,@build_vendor@,$build_vendor,;t t
22750 s,@build_os@,$build_os,;t t
22751 s,@host@,$host,;t t
22752 s,@host_cpu@,$host_cpu,;t t
22753 s,@host_vendor@,$host_vendor,;t t
22754 s,@host_os@,$host_os,;t t
22755 s,@target@,$target,;t t
22756 s,@target_cpu@,$target_cpu,;t t
22757 s,@target_vendor@,$target_vendor,;t t
22758 s,@target_os@,$target_os,;t t
22759 s,@SET_MAKE@,$SET_MAKE,;t t
22760 s,@RANLIB@,$RANLIB,;t t
22761 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22762 s,@ALLOCA@,$ALLOCA,;t t
22763 s,@USE_NLS@,$USE_NLS,;t t
22764 s,@MSGFMT@,$MSGFMT,;t t
22765 s,@GMSGFMT@,$GMSGFMT,;t t
22766 s,@XGETTEXT@,$XGETTEXT,;t t
22767 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
22768 s,@CATALOGS@,$CATALOGS,;t t
22769 s,@CATOBJEXT@,$CATOBJEXT,;t t
22770 s,@DATADIRNAME@,$DATADIRNAME,;t t
22771 s,@GMOFILES@,$GMOFILES,;t t
22772 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
22773 s,@INTLDEPS@,$INTLDEPS,;t t
22774 s,@INTLLIBS@,$INTLLIBS,;t t
22775 s,@INTLOBJS@,$INTLOBJS,;t t
22776 s,@POFILES@,$POFILES,;t t
22777 s,@POSUB@,$POSUB,;t t
22778 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
22779 s,@GT_NO@,$GT_NO,;t t
22780 s,@GT_YES@,$GT_YES,;t t
22781 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
22783 s,@localedir@,$localedir,;t t
22784 s,@PACKAGE@,$PACKAGE,;t t
22785 s,@subdirs@,$subdirs,;t t
22787 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22788 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22789 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22790 s,@LN_S@,$LN_S,;t t
22791 s,@YACC@,$YACC,;t t
22793 s,@ac_ct_AR@,$ac_ct_AR,;t t
22794 s,@DLLTOOL@,$DLLTOOL,;t t
22795 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
22796 s,@WINDRES@,$WINDRES,;t t
22797 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
22799 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
22800 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
22801 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
22802 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
22803 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
22804 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
22805 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
22806 s,@WIN32LIBS@,$WIN32LIBS,;t t
22807 s,@LIBGUI@,$LIBGUI,;t t
22808 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
22809 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
22810 s,@TCL_VERSION@,$TCL_VERSION,;t t
22811 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
22812 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
22813 s,@TCL_CC@,$TCL_CC,;t t
22814 s,@TCL_DEFS@,$TCL_DEFS,;t t
22815 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
22816 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
22817 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
22818 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
22819 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
22820 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
22821 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
22822 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
22823 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
22824 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
22825 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
22826 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
22827 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
22828 s,@TK_VERSION@,$TK_VERSION,;t t
22829 s,@TK_DEFS@,$TK_DEFS,;t t
22830 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
22831 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
22832 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
22833 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
22834 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
22835 s,@TCLHDIR@,$TCLHDIR,;t t
22836 s,@TKHDIR@,$TKHDIR,;t t
22837 s,@ITCLHDIR@,$ITCLHDIR,;t t
22838 s,@ITKHDIR@,$ITKHDIR,;t t
22839 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
22840 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
22841 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
22842 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
22843 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
22844 s,@ITK_VERSION@,$ITK_VERSION,;t t
22845 s,@ITK_DEFS@,$ITK_DEFS,;t t
22846 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
22847 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
22848 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
22849 s,@X_CFLAGS@,$X_CFLAGS,;t t
22850 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
22851 s,@X_LIBS@,$X_LIBS,;t t
22852 s,@TCL_DEPS@,$TCL_DEPS,;t t
22853 s,@TK_DEPS@,$TK_DEPS,;t t
22854 s,@ITCLLIB@,$ITCLLIB,;t t
22855 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
22856 s,@ITKLIB@,$ITKLIB,;t t
22857 s,@ITK_DEPS@,$ITK_DEPS,;t t
22858 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
22859 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
22860 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
22861 s,@IGNORE_SIM@,$IGNORE_SIM,;t t
22862 s,@IGNORE_SIM_OBS@,$IGNORE_SIM_OBS,;t t
22863 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
22864 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
22865 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
22866 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
22867 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
22868 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
22869 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
22870 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
22871 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
22872 s,@target_subdir@,$target_subdir,;t t
22873 s,@frags@,$frags,;t t
22874 s,@xm_h@,$xm_h,;t t
22875 s,@tm_h@,$tm_h,;t t
22876 s,@nm_h@,$nm_h,;t t
22877 s,@LIBICONV@,$LIBICONV,;t t
22878 s,@LIBOBJS@,$LIBOBJS,;t t
22879 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22880 /@host_makefile_frag@/r $host_makefile_frag
22881 s,@host_makefile_frag@,,;t t
22882 /@target_makefile_frag@/r $target_makefile_frag
22883 s,@target_makefile_frag@,,;t t
22888 cat >>$CONFIG_STATUS <<\_ACEOF
22889 # Split the substitutions into bite-sized pieces for seds with
22890 # small command number limits, like on Digital OSF/1 and HP-UX.
22891 ac_max_sed_lines
=48
22892 ac_sed_frag
=1 # Number of current file.
22893 ac_beg
=1 # First line for current file.
22894 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22897 while $ac_more_lines; do
22898 if test $ac_beg -gt 1; then
22899 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22901 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22903 if test ! -s $tmp/subs.frag
; then
22904 ac_more_lines
=false
22906 # The purpose of the label and of the branching condition is to
22907 # speed up the sed processing (if there are no `@' at all, there
22908 # is no need to browse any of the substitutions).
22909 # These are the two extra sed commands mentioned above.
22911 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22912 if test -z "$ac_sed_cmds"; then
22913 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22915 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22917 ac_sed_frag
=`expr $ac_sed_frag + 1`
22919 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22922 if test -z "$ac_sed_cmds"; then
22925 fi # test -n "$CONFIG_FILES"
22928 cat >>$CONFIG_STATUS <<\_ACEOF
22929 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22930 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22932 - |
*:- |
*:-:* ) # input from stdin
22934 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22935 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22936 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22937 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22938 * ) ac_file_in
=$ac_file.
in ;;
22941 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22942 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22943 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22944 X"$ac_file" : 'X\(//\)[^/]' \| \
22945 X"$ac_file" : 'X\(//\)$' \| \
22946 X"$ac_file" : 'X\(/\)' \| \
22947 . : '\(.\)' 2>/dev/null ||
22949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22950 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22951 /^X\(\/\/\)$/{ s//\1/; q; }
22952 /^X\(\/\).*/{ s//\1/; q; }
22954 { if $as_mkdir_p; then
22959 while test ! -d "$as_dir"; do
22960 as_dirs
="$as_dir $as_dirs"
22961 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22962 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22963 X"$as_dir" : 'X\(//\)[^/]' \| \
22964 X"$as_dir" : 'X\(//\)$' \| \
22965 X"$as_dir" : 'X\(/\)' \| \
22966 . : '\(.\)' 2>/dev/null ||
22968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22969 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22970 /^X\(\/\/\)$/{ s//\1/; q; }
22971 /^X\(\/\).*/{ s//\1/; q; }
22974 test ! -n "$as_dirs" || mkdir
$as_dirs
22975 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22976 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22977 { (exit 1); exit 1; }; }; }
22981 if test "$ac_dir" != .
; then
22982 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22983 # A "../" for each directory in $ac_dir_suffix.
22984 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22986 ac_dir_suffix
= ac_top_builddir
=
22990 .
) # No --srcdir option. We are building in place.
22992 if test -z "$ac_top_builddir"; then
22995 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22997 [\\/]* | ?
:[\\/]* ) # Absolute path.
22998 ac_srcdir
=$srcdir$ac_dir_suffix;
22999 ac_top_srcdir
=$srcdir ;;
23000 *) # Relative path.
23001 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23002 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23005 # Do not use `cd foo && pwd` to compute absolute paths, because
23006 # the directories may not exist.
23008 .
) ac_abs_builddir
="$ac_dir";;
23011 .
) ac_abs_builddir
=`pwd`;;
23012 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23013 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23016 case $ac_abs_builddir in
23017 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23019 case ${ac_top_builddir}.
in
23020 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23021 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23022 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23025 case $ac_abs_builddir in
23026 .
) ac_abs_srcdir
=$ac_srcdir;;
23029 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23030 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23031 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23034 case $ac_abs_builddir in
23035 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23037 case $ac_top_srcdir in
23038 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23039 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23040 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23046 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23047 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
23050 if test x
"$ac_file" != x-
; then
23051 { echo "$as_me:$LINENO: creating $ac_file" >&5
23052 echo "$as_me: creating $ac_file" >&6;}
23055 # Let's still pretend it is `configure' which instantiates (i.e., don't
23056 # use $as_me), people would be surprised to read:
23057 # /* config.h. Generated by config.status. */
23058 if test x
"$ac_file" = x-
; then
23061 configure_input
="$ac_file. "
23063 configure_input
=$configure_input"Generated from `echo $ac_file_in |
23064 sed 's,.*/,,'` by configure."
23066 # First look for the input files in the build tree, otherwise in the
23068 ac_file_inputs
=`IFS=:
23069 for f in $ac_file_in; do
23071 -) echo $tmp/stdin ;;
23073 # Absolute (can't be DOS-style, as IFS=:)
23074 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23075 echo "$as_me: error: cannot find input file: $f" >&2;}
23076 { (exit 1); exit 1; }; }
23079 if test -f "$f"; then
23082 elif test -f "$srcdir/$f"; then
23087 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23088 echo "$as_me: error: cannot find input file: $f" >&2;}
23089 { (exit 1); exit 1; }; }
23092 done` ||
{ (exit 1); exit 1; }
23094 cat >>$CONFIG_STATUS <<_ACEOF
23098 cat >>$CONFIG_STATUS <<\_ACEOF
23100 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23101 s
,@configure_input@
,$configure_input,;t t
23102 s
,@srcdir@
,$ac_srcdir,;t t
23103 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
23104 s
,@top_srcdir@
,$ac_top_srcdir,;t t
23105 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
23106 s
,@builddir@
,$ac_builddir,;t t
23107 s
,@abs_builddir@
,$ac_abs_builddir,;t t
23108 s
,@top_builddir@
,$ac_top_builddir,;t t
23109 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
23110 s
,@INSTALL@
,$ac_INSTALL,;t t
23111 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23113 if test x"$ac_file" != x-; then
23114 mv $tmp/out $ac_file
23122 cat >>$CONFIG_STATUS <<\_ACEOF
23125 # CONFIG_HEADER section.
23128 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
23129 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23131 # ac_d sets the value in "#define NAME VALUE" lines.
23132 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23133 ac_dB
='[ ].*$,\1#\2'
23136 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23137 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23138 ac_uB
='$,\1#\2define\3'
23142 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
23143 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23145 - |
*:- |
*:-:* ) # input from stdin
23147 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23148 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23149 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23150 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
23151 * ) ac_file_in
=$ac_file.
in ;;
23154 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
23155 echo "$as_me: creating $ac_file" >&6;}
23157 # First look for the input files in the build tree, otherwise in the
23159 ac_file_inputs
=`IFS=:
23160 for f in $ac_file_in; do
23162 -) echo $tmp/stdin ;;
23164 # Absolute (can't be DOS-style, as IFS=:)
23165 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23166 echo "$as_me: error: cannot find input file: $f" >&2;}
23167 { (exit 1); exit 1; }; }
23168 # Do quote $f, to prevent DOS paths from being IFS'd.
23171 if test -f "$f"; then
23174 elif test -f "$srcdir/$f"; then
23179 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23180 echo "$as_me: error: cannot find input file: $f" >&2;}
23181 { (exit 1); exit 1; }; }
23184 done` ||
{ (exit 1); exit 1; }
23185 # Remove the trailing spaces.
23186 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23190 # Transform confdefs.h into two sed scripts, `conftest.defines' and
23191 # `conftest.undefs', that substitutes the proper values into
23192 # config.h.in to produce config.h. The first handles `#define'
23193 # templates, and the second `#undef' templates.
23194 # And first: Protect against being on the right side of a sed subst in
23195 # config.status. Protect against being in an unquoted here document
23196 # in config.status.
23197 rm -f conftest.defines conftest.undefs
23198 # Using a here document instead of a string reduces the quoting nightmare.
23199 # Putting comments in sed scripts is not portable.
23201 # `end' is used to avoid that the second main sed command (meant for
23202 # 0-ary CPP macros) applies to n-ary macro definitions.
23203 # See the Autoconf documentation for `clear'.
23204 cat >confdef2sed.
sed <<\_ACEOF
23209 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23211 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23214 # If some macros were called several times there might be several times
23215 # the same #defines, which is useless. Nevertheless, we may not want to
23216 # sort them, since we want the *last* AC-DEFINE to be honored.
23217 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23218 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23219 rm -f confdef2sed.sed
23221 # This sed command replaces #undef with comments. This is necessary, for
23222 # example, in the case of _POSIX_SOURCE, which is predefined and required
23223 # on some systems where configure will not decide to define it.
23224 cat >>conftest.undefs <<\_ACEOF
23225 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23228 # Break up conftest.defines because some shells have a limit on the size
23229 # of here documents, and old seds have small limits too (100 cmds).
23230 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23231 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23232 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23233 echo ' :' >>$CONFIG_STATUS
23234 rm -f conftest.tail
23235 while grep . conftest.defines >/dev/null
23237 # Write a limited-size here document to $tmp/defines.sed.
23238 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23239 # Speed up: don't consider the non `#define' lines.
23240 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23241 # Work around the forget-to-reset-the-flag bug.
23242 echo 't clr' >>$CONFIG_STATUS
23243 echo ': clr' >>$CONFIG_STATUS
23244 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
23246 sed -f $tmp/defines.sed $tmp/in >$tmp/out
23248 mv $tmp/out $tmp/in
23250 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
23251 rm -f conftest.defines
23252 mv conftest.
tail conftest.defines
23254 rm -f conftest.defines
23255 echo ' fi # grep' >>$CONFIG_STATUS
23256 echo >>$CONFIG_STATUS
23258 # Break up conftest.undefs because some shells have a limit on the size
23259 # of here documents, and old seds have small limits too (100 cmds).
23260 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23261 rm -f conftest.
tail
23262 while grep . conftest.undefs
>/dev
/null
23264 # Write a limited-size here document to $tmp/undefs.sed.
23265 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23266 # Speed up: don't consider the non
`#undef'
23267 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23268 # Work around the forget-to-reset-the-flag bug.
23269 echo 't clr' >>$CONFIG_STATUS
23270 echo ': clr' >>$CONFIG_STATUS
23271 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23273 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23275 mv $tmp/out $tmp/in
23277 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23278 rm -f conftest.undefs
23279 mv conftest.tail conftest.undefs
23281 rm -f conftest.undefs
23283 cat >>$CONFIG_STATUS <<\_ACEOF
23284 # Let's still pretend it is `configure
' which instantiates (i.e., don't
23285 # use $as_me), people would be surprised to read:
23286 # /* config.h. Generated by config.status. */
23287 if test x
"$ac_file" = x-
; then
23288 echo "/* Generated by configure. */" >$tmp/config.h
23290 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23292 cat $tmp/in >>$tmp/config.h
23294 if test x
"$ac_file" != x-
; then
23295 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
23296 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23297 echo "$as_me: $ac_file is unchanged" >&6;}
23299 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
23300 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23301 X"$ac_file" : 'X\(//\)[^/]' \| \
23302 X"$ac_file" : 'X\(//\)$' \| \
23303 X"$ac_file" : 'X\(/\)' \| \
23304 . : '\(.\)' 2>/dev/null ||
23306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23307 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23308 /^X\(\/\/\)$/{ s//\1/; q; }
23309 /^X\(\/\).*/{ s//\1/; q; }
23311 { if $as_mkdir_p; then
23316 while test ! -d "$as_dir"; do
23317 as_dirs
="$as_dir $as_dirs"
23318 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23319 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23320 X"$as_dir" : 'X\(//\)[^/]' \| \
23321 X"$as_dir" : 'X\(//\)$' \| \
23322 X"$as_dir" : 'X\(/\)' \| \
23323 . : '\(.\)' 2>/dev/null ||
23325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23326 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23327 /^X\(\/\/\)$/{ s//\1/; q; }
23328 /^X\(\/\).*/{ s//\1/; q; }
23331 test ! -n "$as_dirs" || mkdir
$as_dirs
23332 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23333 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23334 { (exit 1); exit 1; }; }; }
23337 mv $tmp/config.h
$ac_file
23341 rm -f $tmp/config.h
23345 cat >>$CONFIG_STATUS <<\_ACEOF
23348 # CONFIG_LINKS section.
23351 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
23352 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23353 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23355 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
23356 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
23358 if test ! -r $srcdir/$ac_source; then
23359 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
23360 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
23361 { (exit 1); exit 1; }; }
23365 # Make relative symlinks.
23366 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23367 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23368 X"$ac_dest" : 'X\(//\)[^/]' \| \
23369 X"$ac_dest" : 'X\(//\)$' \| \
23370 X"$ac_dest" : 'X\(/\)' \| \
23371 . : '\(.\)' 2>/dev/null ||
23373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23375 /^X\(\/\/\)$/{ s//\1/; q; }
23376 /^X\(\/\).*/{ s//\1/; q; }
23378 { if $as_mkdir_p; then
23379 mkdir
-p "$ac_dest_dir"
23381 as_dir
="$ac_dest_dir"
23383 while test ! -d "$as_dir"; do
23384 as_dirs
="$as_dir $as_dirs"
23385 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23386 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23387 X"$as_dir" : 'X\(//\)[^/]' \| \
23388 X"$as_dir" : 'X\(//\)$' \| \
23389 X"$as_dir" : 'X\(/\)' \| \
23390 . : '\(.\)' 2>/dev/null ||
23392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23393 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23394 /^X\(\/\/\)$/{ s//\1/; q; }
23395 /^X\(\/\).*/{ s//\1/; q; }
23398 test ! -n "$as_dirs" || mkdir
$as_dirs
23399 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
23400 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
23401 { (exit 1); exit 1; }; }; }
23405 if test "$ac_dest_dir" != .
; then
23406 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
23407 # A "../" for each directory in $ac_dir_suffix.
23408 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23410 ac_dir_suffix
= ac_top_builddir
=
23414 .
) # No --srcdir option. We are building in place.
23416 if test -z "$ac_top_builddir"; then
23419 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23421 [\\/]* | ?
:[\\/]* ) # Absolute path.
23422 ac_srcdir
=$srcdir$ac_dir_suffix;
23423 ac_top_srcdir
=$srcdir ;;
23424 *) # Relative path.
23425 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23426 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23429 # Do not use `cd foo && pwd` to compute absolute paths, because
23430 # the directories may not exist.
23432 .
) ac_abs_builddir
="$ac_dest_dir";;
23434 case "$ac_dest_dir" in
23435 .
) ac_abs_builddir
=`pwd`;;
23436 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
23437 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
23440 case $ac_abs_builddir in
23441 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23443 case ${ac_top_builddir}.
in
23444 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23445 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23446 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23449 case $ac_abs_builddir in
23450 .
) ac_abs_srcdir
=$ac_srcdir;;
23453 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23454 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23455 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23458 case $ac_abs_builddir in
23459 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23461 case $ac_top_srcdir in
23462 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23463 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23464 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23470 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
23471 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
23474 # Try a symlink, then a hard link, then a copy.
23475 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
23476 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
23477 cp -p $srcdir/$ac_source $ac_dest ||
23478 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
23479 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
23480 { (exit 1); exit 1; }; }
23483 cat >>$CONFIG_STATUS <<\_ACEOF
23486 # CONFIG_COMMANDS section.
23488 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23489 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23490 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23491 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23492 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23493 X"$ac_dest" : 'X\(//\)[^/]' \| \
23494 X"$ac_dest" : 'X\(//\)$' \| \
23495 X"$ac_dest" : 'X\(/\)' \| \
23496 . : '\(.\)' 2>/dev/null ||
23498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23499 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23500 /^X\(\/\/\)$/{ s//\1/; q; }
23501 /^X\(\/\).*/{ s//\1/; q; }
23503 { if $as_mkdir_p; then
23508 while test ! -d "$as_dir"; do
23509 as_dirs
="$as_dir $as_dirs"
23510 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23511 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23512 X"$as_dir" : 'X\(//\)[^/]' \| \
23513 X"$as_dir" : 'X\(//\)$' \| \
23514 X"$as_dir" : 'X\(/\)' \| \
23515 . : '\(.\)' 2>/dev/null ||
23517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23518 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23519 /^X\(\/\/\)$/{ s//\1/; q; }
23520 /^X\(\/\).*/{ s//\1/; q; }
23523 test ! -n "$as_dirs" || mkdir
$as_dirs
23524 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23525 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23526 { (exit 1); exit 1; }; }; }
23530 if test "$ac_dir" != .
; then
23531 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23532 # A "../" for each directory in $ac_dir_suffix.
23533 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23535 ac_dir_suffix
= ac_top_builddir
=
23539 .
) # No --srcdir option. We are building in place.
23541 if test -z "$ac_top_builddir"; then
23544 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23546 [\\/]* | ?
:[\\/]* ) # Absolute path.
23547 ac_srcdir
=$srcdir$ac_dir_suffix;
23548 ac_top_srcdir
=$srcdir ;;
23549 *) # Relative path.
23550 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23551 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23554 # Do not use `cd foo && pwd` to compute absolute paths, because
23555 # the directories may not exist.
23557 .
) ac_abs_builddir
="$ac_dir";;
23560 .
) ac_abs_builddir
=`pwd`;;
23561 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23562 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23565 case $ac_abs_builddir in
23566 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23568 case ${ac_top_builddir}.
in
23569 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23570 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23571 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23574 case $ac_abs_builddir in
23575 .
) ac_abs_srcdir
=$ac_srcdir;;
23578 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23579 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23580 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23583 case $ac_abs_builddir in
23584 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23586 case $ac_top_srcdir in
23587 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23588 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23589 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23594 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23595 echo "$as_me: executing $ac_dest commands" >&6;}
23599 sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
23600 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
23601 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
23602 mv -f Makefile.tmp Makefile
23605 case x
$CONFIG_HEADERS in
23606 xconfig.h
:config.
in)
23614 cat >>$CONFIG_STATUS <<\_ACEOF
23616 { (exit 0); exit 0; }
23618 chmod +x
$CONFIG_STATUS
23619 ac_clean_files
=$ac_clean_files_save
23622 # configure is writing to config.log, and then calls config.status.
23623 # config.status does its own redirection, appending to config.log.
23624 # Unfortunately, on DOS this fails, as config.log is still kept open
23625 # by configure, so config.status won't be able to write to it; its
23626 # output is simply discarded. So we exec the FD to /dev/null,
23627 # effectively closing config.log, so it can be properly (re)opened and
23628 # appended to by config.status. When coming back to configure, we
23629 # need to make the FD available again.
23630 if test "$no_create" != yes; then
23632 ac_config_status_args
=
23633 test "$silent" = yes &&
23634 ac_config_status_args
="$ac_config_status_args --quiet"
23636 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23638 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23639 # would make configure fail if this is the last instruction.
23640 $ac_cs_success ||
{ (exit 1); exit 1; }
23644 # CONFIG_SUBDIRS section.
23646 if test "$no_recursion" != yes; then
23648 # Remove --cache-file and --srcdir arguments so they do not pile up.
23649 ac_sub_configure_args
=
23651 for ac_arg
in $ac_configure_args; do
23652 if test -n "$ac_prev"; then
23657 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
23658 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
23659 ac_prev
=cache_file
;;
23660 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
23661 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
23664 --config-cache |
-C)
23666 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
23668 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
23670 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
23672 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
23674 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
23678 # Always prepend --prefix to ensure using the same prefix
23679 # in subdir configurations.
23680 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
23683 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
23685 # Do not complain, so a configure script can configure whichever
23686 # parts of a large source tree are present.
23687 test -d $srcdir/$ac_dir ||
continue
23689 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
23690 echo "$as_me: configuring in $ac_dir" >&6;}
23691 { if $as_mkdir_p; then
23696 while test ! -d "$as_dir"; do
23697 as_dirs
="$as_dir $as_dirs"
23698 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23699 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23700 X"$as_dir" : 'X\(//\)[^/]' \| \
23701 X"$as_dir" : 'X\(//\)$' \| \
23702 X"$as_dir" : 'X\(/\)' \| \
23703 . : '\(.\)' 2>/dev/null ||
23705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23706 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23707 /^X\(\/\/\)$/{ s//\1/; q; }
23708 /^X\(\/\).*/{ s//\1/; q; }
23711 test ! -n "$as_dirs" || mkdir
$as_dirs
23712 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23713 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23714 { (exit 1); exit 1; }; }; }
23718 if test "$ac_dir" != .
; then
23719 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23720 # A "../" for each directory in $ac_dir_suffix.
23721 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23723 ac_dir_suffix
= ac_top_builddir
=
23727 .
) # No --srcdir option. We are building in place.
23729 if test -z "$ac_top_builddir"; then
23732 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23734 [\\/]* | ?
:[\\/]* ) # Absolute path.
23735 ac_srcdir
=$srcdir$ac_dir_suffix;
23736 ac_top_srcdir
=$srcdir ;;
23737 *) # Relative path.
23738 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23739 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23742 # Do not use `cd foo && pwd` to compute absolute paths, because
23743 # the directories may not exist.
23745 .
) ac_abs_builddir
="$ac_dir";;
23748 .
) ac_abs_builddir
=`pwd`;;
23749 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23750 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23753 case $ac_abs_builddir in
23754 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23756 case ${ac_top_builddir}.
in
23757 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23758 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23759 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23762 case $ac_abs_builddir in
23763 .
) ac_abs_srcdir
=$ac_srcdir;;
23766 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23767 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23768 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23771 case $ac_abs_builddir in
23772 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23774 case $ac_top_srcdir in
23775 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23776 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23777 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23784 # Check for guested configure; otherwise get Cygnus style configure.
23785 if test -f $ac_srcdir/configure.gnu
; then
23786 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
23787 elif test -f $ac_srcdir/configure
; then
23788 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
23789 elif test -f $ac_srcdir/configure.
in; then
23790 ac_sub_configure
=$ac_configure
23792 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
23793 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
23797 # The recursion is here.
23798 if test -n "$ac_sub_configure"; then
23799 # Make the cache file name correct relative to the subdirectory.
23800 case $cache_file in
23801 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
23802 *) # Relative path.
23803 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
23806 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
23807 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
23808 # The eval makes quoting arguments work.
23809 eval $ac_sub_configure $ac_sub_configure_args \
23810 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
23811 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
23812 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
23813 { (exit 1); exit 1; }; }