2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="main.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subdirs_all
="$ac_subdirs_all doc testsuite"
313 ac_subdirs_all
="$ac_subdirs_all gdbtk"
314 ac_subdirs_all
="$ac_subdirs_all multi-ice"
315 ac_subdirs_all
="$ac_subdirs_all gdbserver"
316 ac_subdirs_all
="$ac_subdirs_all rdi-share"
317 ac_subdirs_all
="$ac_subdirs_all nlm"
318 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 RANLIB ac_ct_RANLIB SET_MAKE 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'
319 ac_subst_files
='host_makefile_frag target_makefile_frag'
321 # Initialize some variables set by options.
323 ac_init_version
=false
324 # The variables have the same names as the options, with
325 # dashes changed to underlines.
333 program_transform_name
=s
,x
,x
,
341 # Installation directory options.
342 # These are left unexpanded so users can "make install exec_prefix=/foo"
343 # and all the variables that are supposed to be based on exec_prefix
344 # by default will actually change.
345 # Use braces instead of parens because sh, perl, etc. also accept them.
346 bindir
='${exec_prefix}/bin'
347 sbindir
='${exec_prefix}/sbin'
348 libexecdir
='${exec_prefix}/libexec'
349 datadir
='${prefix}/share'
350 sysconfdir
='${prefix}/etc'
351 sharedstatedir
='${prefix}/com'
352 localstatedir
='${prefix}/var'
353 libdir
='${exec_prefix}/lib'
354 includedir
='${prefix}/include'
355 oldincludedir
='/usr/include'
356 infodir
='${prefix}/info'
357 mandir
='${prefix}/man'
362 # If the previous option needs an argument, assign it.
363 if test -n "$ac_prev"; then
364 eval "$ac_prev=\$ac_option"
369 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
371 # Accept the important Cygnus configure options, so we can diagnose typos.
375 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
377 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
380 -build |
--build |
--buil |
--bui |
--bu)
381 ac_prev
=build_alias
;;
382 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
383 build_alias
=$ac_optarg ;;
385 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
386 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
387 ac_prev
=cache_file
;;
388 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
389 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
390 cache_file
=$ac_optarg ;;
393 cache_file
=config.cache
;;
395 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
397 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
399 datadir
=$ac_optarg ;;
401 -disable-* |
--disable-*)
402 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
403 # Reject names that are not valid shell variable names.
404 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
405 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
406 { (exit 1); exit 1; }; }
407 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
408 eval "enable_$ac_feature=no" ;;
410 -enable-* |
--enable-*)
411 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
412 # Reject names that are not valid shell variable names.
413 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
414 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
415 { (exit 1); exit 1; }; }
416 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
418 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
421 eval "enable_$ac_feature='$ac_optarg'" ;;
423 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
424 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
425 |
--exec |
--exe |
--ex)
426 ac_prev
=exec_prefix
;;
427 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
428 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
429 |
--exec=* |
--exe=* |
--ex=*)
430 exec_prefix
=$ac_optarg ;;
432 -gas |
--gas |
--ga |
--g)
433 # Obsolete; use --with-gas.
436 -help |
--help |
--hel |
--he |
-h)
438 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
439 ac_init_help
=recursive
;;
440 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
441 ac_init_help
=short
;;
443 -host |
--host |
--hos |
--ho)
444 ac_prev
=host_alias
;;
445 -host=* |
--host=* |
--hos=* |
--ho=*)
446 host_alias
=$ac_optarg ;;
448 -includedir |
--includedir |
--includedi |
--included |
--include \
449 |
--includ |
--inclu |
--incl |
--inc)
450 ac_prev
=includedir
;;
451 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
452 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
453 includedir
=$ac_optarg ;;
455 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
457 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
458 infodir
=$ac_optarg ;;
460 -libdir |
--libdir |
--libdi |
--libd)
462 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
465 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
466 |
--libexe |
--libex |
--libe)
467 ac_prev
=libexecdir
;;
468 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
469 |
--libexe=* |
--libex=* |
--libe=*)
470 libexecdir
=$ac_optarg ;;
472 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
473 |
--localstate |
--localstat |
--localsta |
--localst \
474 |
--locals |
--local |
--loca |
--loc |
--lo)
475 ac_prev
=localstatedir
;;
476 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
477 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
478 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
479 localstatedir
=$ac_optarg ;;
481 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
483 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
487 # Obsolete; use --without-fp.
490 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
491 |
--no-cr |
--no-c |
-n)
494 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
495 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
498 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
499 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
500 |
--oldin |
--oldi |
--old |
--ol |
--o)
501 ac_prev
=oldincludedir
;;
502 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
503 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
504 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
505 oldincludedir
=$ac_optarg ;;
507 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
509 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
512 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
513 |
--program-pre |
--program-pr |
--program-p)
514 ac_prev
=program_prefix
;;
515 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
516 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
517 program_prefix
=$ac_optarg ;;
519 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
520 |
--program-suf |
--program-su |
--program-s)
521 ac_prev
=program_suffix
;;
522 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
523 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
524 program_suffix
=$ac_optarg ;;
526 -program-transform-name |
--program-transform-name \
527 |
--program-transform-nam |
--program-transform-na \
528 |
--program-transform-n |
--program-transform- \
529 |
--program-transform |
--program-transfor \
530 |
--program-transfo |
--program-transf \
531 |
--program-trans |
--program-tran \
532 |
--progr-tra |
--program-tr |
--program-t)
533 ac_prev
=program_transform_name
;;
534 -program-transform-name=* |
--program-transform-name=* \
535 |
--program-transform-nam=* |
--program-transform-na=* \
536 |
--program-transform-n=* |
--program-transform-=* \
537 |
--program-transform=* |
--program-transfor=* \
538 |
--program-transfo=* |
--program-transf=* \
539 |
--program-trans=* |
--program-tran=* \
540 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
541 program_transform_name
=$ac_optarg ;;
543 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
544 |
-silent |
--silent |
--silen |
--sile |
--sil)
547 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
549 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
551 sbindir
=$ac_optarg ;;
553 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
554 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
555 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
557 ac_prev
=sharedstatedir
;;
558 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
559 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
560 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
562 sharedstatedir
=$ac_optarg ;;
564 -site |
--site |
--sit)
566 -site=* |
--site=* |
--sit=*)
569 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
571 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
574 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
575 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
576 ac_prev
=sysconfdir
;;
577 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
578 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
579 sysconfdir
=$ac_optarg ;;
581 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
582 ac_prev
=target_alias
;;
583 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
584 target_alias
=$ac_optarg ;;
586 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
589 -version |
--version |
--versio |
--versi |
--vers |
-V)
593 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
596 { echo "$as_me: error: invalid package name: $ac_package" >&2
597 { (exit 1); exit 1; }; }
598 ac_package
=`echo $ac_package| sed 's/-/_/g'`
600 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
603 eval "with_$ac_package='$ac_optarg'" ;;
605 -without-* |
--without-*)
606 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
607 # Reject names that are not valid shell variable names.
608 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
609 { echo "$as_me: error: invalid package name: $ac_package" >&2
610 { (exit 1); exit 1; }; }
611 ac_package
=`echo $ac_package | sed 's/-/_/g'`
612 eval "with_$ac_package=no" ;;
615 # Obsolete; use --with-x.
618 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
619 |
--x-incl |
--x-inc |
--x-in |
--x-i)
620 ac_prev
=x_includes
;;
621 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
622 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
623 x_includes
=$ac_optarg ;;
625 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
626 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
627 ac_prev
=x_libraries
;;
628 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
629 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
630 x_libraries
=$ac_optarg ;;
632 -*) { echo "$as_me: error: unrecognized option: $ac_option
633 Try \`$0 --help' for more information." >&2
634 { (exit 1); exit 1; }; }
638 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
639 # Reject names that are not valid shell variable names.
640 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
641 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
642 { (exit 1); exit 1; }; }
643 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
644 eval "$ac_envvar='$ac_optarg'"
648 # FIXME: should be removed in autoconf 3.0.
649 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
650 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
651 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
652 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
658 if test -n "$ac_prev"; then
659 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
660 { echo "$as_me: error: missing argument to $ac_option" >&2
661 { (exit 1); exit 1; }; }
664 # Be sure to have absolute paths.
665 for ac_var
in exec_prefix prefix
667 eval ac_val
=$
`echo $ac_var`
669 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
670 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
671 { (exit 1); exit 1; }; };;
675 # Be sure to have absolute paths.
676 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
677 localstatedir libdir includedir oldincludedir infodir mandir
679 eval ac_val
=$
`echo $ac_var`
681 [\\/$
]* | ?
:[\\/]* ) ;;
682 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
683 { (exit 1); exit 1; }; };;
687 # There might be people who depend on the old broken behavior: `$host'
688 # used to hold the argument of --host etc.
689 # FIXME: To remove some day.
694 # FIXME: To remove some day.
695 if test "x$host_alias" != x
; then
696 if test "x$build_alias" = x
; then
697 cross_compiling
=maybe
698 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
699 If a cross compiler is detected then cross compile mode will be used." >&2
700 elif test "x$build_alias" != "x$host_alias"; then
706 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
708 test "$silent" = yes && exec 6>/dev
/null
711 # Find the source files, if location was not specified.
712 if test -z "$srcdir"; then
713 ac_srcdir_defaulted
=yes
714 # Try the directory containing this script, then its parent.
715 ac_confdir
=`(dirname "$0") 2>/dev/null ||
716 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
717 X"$0" : 'X\(//\)[^/]' \| \
718 X"$0" : 'X\(//\)$' \| \
719 X"$0" : 'X\(/\)' \| \
720 . : '\(.\)' 2>/dev/null ||
722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
724 /^X\(\/\/\)$/{ s//\1/; q; }
725 /^X\(\/\).*/{ s//\1/; q; }
728 if test ! -r $srcdir/$ac_unique_file; then
732 ac_srcdir_defaulted
=no
734 if test ! -r $srcdir/$ac_unique_file; then
735 if test "$ac_srcdir_defaulted" = yes; then
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
737 { (exit 1); exit 1; }; }
739 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
740 { (exit 1); exit 1; }; }
743 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
744 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
745 { (exit 1); exit 1; }; }
746 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
747 ac_env_build_alias_set
=${build_alias+set}
748 ac_env_build_alias_value
=$build_alias
749 ac_cv_env_build_alias_set
=${build_alias+set}
750 ac_cv_env_build_alias_value
=$build_alias
751 ac_env_host_alias_set
=${host_alias+set}
752 ac_env_host_alias_value
=$host_alias
753 ac_cv_env_host_alias_set
=${host_alias+set}
754 ac_cv_env_host_alias_value
=$host_alias
755 ac_env_target_alias_set
=${target_alias+set}
756 ac_env_target_alias_value
=$target_alias
757 ac_cv_env_target_alias_set
=${target_alias+set}
758 ac_cv_env_target_alias_value
=$target_alias
759 ac_env_CC_set
=${CC+set}
761 ac_cv_env_CC_set
=${CC+set}
762 ac_cv_env_CC_value
=$CC
763 ac_env_CFLAGS_set
=${CFLAGS+set}
764 ac_env_CFLAGS_value
=$CFLAGS
765 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
766 ac_cv_env_CFLAGS_value
=$CFLAGS
767 ac_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_env_LDFLAGS_value
=$LDFLAGS
769 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
770 ac_cv_env_LDFLAGS_value
=$LDFLAGS
771 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
774 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
775 ac_env_CPP_set
=${CPP+set}
776 ac_env_CPP_value
=$CPP
777 ac_cv_env_CPP_set
=${CPP+set}
778 ac_cv_env_CPP_value
=$CPP
781 # Report the --help message.
783 if test "$ac_init_help" = "long"; then
784 # Omit some internal or obsolete options to make the list less imposing.
785 # This message is too long to be a string in the A/UX 3.1 sh.
787 \`configure' configures this package to adapt to many kinds of systems.
789 Usage: $0 [OPTION]... [VAR=VALUE]...
791 To assign environment variables (e.g., CC, CFLAGS...), specify them as
792 VAR=VALUE. See below for descriptions of some of the useful variables.
794 Defaults for the options are specified in brackets.
797 -h, --help display this help and exit
798 --help=short display options specific to this package
799 --help=recursive display the short help of all the included packages
800 -V, --version display version information and exit
801 -q, --quiet, --silent do not print \`checking...' messages
802 --cache-file=FILE cache test results in FILE [disabled]
803 -C, --config-cache alias for \`--cache-file=config.cache'
804 -n, --no-create do not create output files
805 --srcdir=DIR find the sources in DIR [configure dir or \`..']
810 Installation directories:
811 --prefix=PREFIX install architecture-independent files in PREFIX
813 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
816 By default, \`make install' will install all the files in
817 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
818 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
819 for instance \`--prefix=\$HOME'.
821 For better control, use the options below.
823 Fine tuning of the installation directories:
824 --bindir=DIR user executables [EPREFIX/bin]
825 --sbindir=DIR system admin executables [EPREFIX/sbin]
826 --libexecdir=DIR program executables [EPREFIX/libexec]
827 --datadir=DIR read-only architecture-independent data [PREFIX/share]
828 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
829 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
830 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
831 --libdir=DIR object code libraries [EPREFIX/lib]
832 --includedir=DIR C header files [PREFIX/include]
833 --oldincludedir=DIR C header files for non-gcc [/usr/include]
834 --infodir=DIR info documentation [PREFIX/info]
835 --mandir=DIR man documentation [PREFIX/man]
841 --program-prefix=PREFIX prepend PREFIX to installed program names
842 --program-suffix=SUFFIX append SUFFIX to installed program names
843 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
846 --x-includes=DIR X include files are
in DIR
847 --x-libraries=DIR X library files are
in DIR
850 --build=BUILD configure
for building on BUILD
[guessed
]
851 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
852 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
856 if test -n "$ac_init_help"; then
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --enable-maintainer-mode enable make rules and dependencies not useful
864 (and sometimes confusing
) to the casual installer
865 --disable-nls do not use Native Language Support
866 --disable-gdbcli disable command-line interface
(CLI
)
867 --disable-gdbmi disable machine-interface
(MI
)
868 --enable-tui enable full-screen terminal user interface
(TUI
)
869 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
870 --enable-profiling enable profiling of GDB
871 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
872 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
873 --enable-sim Link gdb with simulator
874 --enable-multi-ice build the multi-ice-gdb-server
877 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
878 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
879 --with-included-gettext use the GNU
gettext library included here
880 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
881 --with-libunwind Use libunwind frame unwinding support
882 --without-included-regex don
't use included regex; this is the default
883 on systems with version 2 of the GNU C library
884 (use with caution on other system)
885 --with-sysroot=DIR Search for usr/lib et al within DIR.
886 --with-tclconfig=DIR Directory containing tcl configuration (tclConfig.sh)
887 --with-tkconfig=DIR Directory containing tk configuration (tkConfig.sh)
888 --with-tclinclude=DIR Directory where tcl private headers are
889 --with-tkinclude=DIR Directory where tk private headers are
890 --with-itclconfig Directory containing itcl configuration (itclConfig.sh)
891 --with-itkconfig Directory containing itk configuration (itkConfig.sh)
892 --with-x use the X Window System
893 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
895 Some influential environment variables:
896 CC C compiler command
897 CFLAGS C compiler flags
898 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
899 nonstandard directory <lib dir>
900 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
901 headers in a nonstandard directory <include dir>
904 Use these variables to override the choices made by `configure' or to
help
905 it to
find libraries and programs with nonstandard names
/locations.
910 if test "$ac_init_help" = "recursive"; then
911 # If there are subdirs, report their specific --help.
913 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
914 test -d $ac_dir ||
continue
917 if test "$ac_dir" != .
; then
918 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
919 # A "../" for each directory in $ac_dir_suffix.
920 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
922 ac_dir_suffix
= ac_top_builddir
=
926 .
) # No --srcdir option. We are building in place.
928 if test -z "$ac_top_builddir"; then
931 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
933 [\\/]* | ?
:[\\/]* ) # Absolute path.
934 ac_srcdir
=$srcdir$ac_dir_suffix;
935 ac_top_srcdir
=$srcdir ;;
937 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
938 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
941 # Do not use `cd foo && pwd` to compute absolute paths, because
942 # the directories may not exist.
944 .
) ac_abs_builddir
="$ac_dir";;
947 .
) ac_abs_builddir
=`pwd`;;
948 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
949 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
952 case $ac_abs_builddir in
953 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
955 case ${ac_top_builddir}.
in
956 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
957 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
958 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
961 case $ac_abs_builddir in
962 .
) ac_abs_srcdir
=$ac_srcdir;;
965 .
) ac_abs_srcdir
=$ac_abs_builddir;;
966 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
967 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
970 case $ac_abs_builddir in
971 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
973 case $ac_top_srcdir in
974 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
975 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
976 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
981 # Check for guested configure; otherwise get Cygnus style configure.
982 if test -f $ac_srcdir/configure.gnu
; then
984 $SHELL $ac_srcdir/configure.gnu
--help=recursive
985 elif test -f $ac_srcdir/configure
; then
987 $SHELL $ac_srcdir/configure
--help=recursive
988 elif test -f $ac_srcdir/configure.ac ||
989 test -f $ac_srcdir/configure.
in; then
993 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
999 test -n "$ac_init_help" && exit 0
1000 if $ac_init_version; then
1003 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1004 This configure
script is free software
; the Free Software Foundation
1005 gives unlimited permission to copy
, distribute and modify it.
1011 This file contains any messages produced by compilers while
1012 running configure, to aid debugging if configure makes a mistake.
1014 It was created by $as_me, which was
1015 generated by GNU Autoconf 2.59. Invocation command line was
1026 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1027 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1028 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1029 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1030 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1032 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1033 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1035 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1036 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1037 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1038 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1039 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1040 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1041 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1049 test -z "$as_dir" && as_dir
=.
1050 echo "PATH: $as_dir"
1065 # Keep a trace of the command line.
1066 # Strip out --no-create and --no-recursion so they do not pile up.
1067 # Strip out --silent because we don't want to record it for future runs.
1068 # Also quote any args containing shell meta-characters.
1069 # Make two passes to allow for proper duplicate-argument suppression.
1074 ac_must_keep_next
=false
1080 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1081 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1082 |
-silent |
--silent |
--silen |
--sile |
--sil)
1084 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1085 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1088 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1090 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1091 if test $ac_must_keep_next = true
; then
1092 ac_must_keep_next
=false
# Got value, back to normal.
1095 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1096 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1097 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1098 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1099 case "$ac_configure_args0 " in
1100 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1103 -* ) ac_must_keep_next
=true
;;
1106 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1107 # Get rid of the leading space.
1113 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1114 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1116 # When interrupted or exit'd, cleanup temporary files, and complete
1117 # config.log. We remove comments because anyway the quotes in there
1118 # would cause problems or look ugly.
1119 # WARNING: Be sure not to use single quotes in there, as some shells,
1120 # such as our DU 5.0 friend, will then `close' the trap.
1121 trap 'exit_status=$?
1122 # Save into config.log some information that might help in debugging.
1127 ## ---------------- ##
1128 ## Cache variables. ##
1129 ## ---------------- ##
1132 # The following way of writing the cache mishandles newlines in values,
1135 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1138 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1143 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1150 ## ----------------- ##
1151 ## Output variables. ##
1152 ## ----------------- ##
1155 for ac_var in $ac_subst_vars
1157 eval ac_val=$`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -n "$ac_subst_files"; then
1169 for ac_var in $ac_subst_files
1171 eval ac_val=$`echo $ac_var`
1172 echo "$ac_var='"'"'$ac_val'"'"'"
1177 if test -s confdefs.h; then
1184 sed "/^$/d" confdefs.h | sort
1187 test "$ac_signal" != 0 &&
1188 echo "$as_me: caught signal $ac_signal"
1189 echo "$as_me: exit $exit_status"
1191 rm -f core *.core &&
1192 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1195 for ac_signal
in 1 2 13 15; do
1196 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1200 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1201 rm -rf conftest
* confdefs.h
1202 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1205 # Predefined preprocessor variables.
1207 cat >>confdefs.h
<<_ACEOF
1208 #define PACKAGE_NAME "$PACKAGE_NAME"
1212 cat >>confdefs.h
<<_ACEOF
1213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1217 cat >>confdefs.h
<<_ACEOF
1218 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1222 cat >>confdefs.h
<<_ACEOF
1223 #define PACKAGE_STRING "$PACKAGE_STRING"
1227 cat >>confdefs.h
<<_ACEOF
1228 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1232 # Let the site file select an alternate cache file if it wants to.
1233 # Prefer explicitly selected file to automatically selected ones.
1234 if test -z "$CONFIG_SITE"; then
1235 if test "x$prefix" != xNONE
; then
1236 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1238 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1241 for ac_site_file
in $CONFIG_SITE; do
1242 if test -r "$ac_site_file"; then
1243 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1244 echo "$as_me: loading site script $ac_site_file" >&6;}
1245 sed 's/^/| /' "$ac_site_file" >&5
1250 if test -r "$cache_file"; then
1251 # Some versions of bash will fail to source /dev/null (special
1252 # files actually), so we avoid doing that.
1253 if test -f "$cache_file"; then
1254 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1255 echo "$as_me: loading cache $cache_file" >&6;}
1257 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1258 *) . .
/$cache_file;;
1262 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1263 echo "$as_me: creating cache $cache_file" >&6;}
1267 # Check that the precious variables saved in the cache have kept the same
1269 ac_cache_corrupted
=false
1270 for ac_var
in `(set) 2>&1 |
1271 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1272 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1273 eval ac_new_set
=\
$ac_env_${ac_var}_set
1274 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1275 eval ac_new_val
="\$ac_env_${ac_var}_value"
1276 case $ac_old_set,$ac_new_set in
1278 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1279 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1280 ac_cache_corrupted
=: ;;
1282 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1283 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1284 ac_cache_corrupted
=: ;;
1287 if test "x$ac_old_val" != "x$ac_new_val"; then
1288 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1289 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1290 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1291 echo "$as_me: former value: $ac_old_val" >&2;}
1292 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1293 echo "$as_me: current value: $ac_new_val" >&2;}
1294 ac_cache_corrupted
=:
1297 # Pass precious variables to config.status.
1298 if test "$ac_new_set" = set; then
1300 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1301 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1302 *) ac_arg
=$ac_var=$ac_new_val ;;
1304 case " $ac_configure_args " in
1305 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1306 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1310 if $ac_cache_corrupted; then
1311 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1312 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1313 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1314 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1315 { (exit 1); exit 1; }; }
1319 ac_cpp
='$CPP $CPPFLAGS'
1320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1342 ac_config_headers
="$ac_config_headers config.h:config.in"
1344 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1345 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1346 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1347 if test "${enable_maintainer_mode+set}" = set; then
1348 enableval
="$enable_maintainer_mode"
1349 USE_MAINTAINER_MODE
=$enableval
1351 USE_MAINTAINER_MODE
=no
1353 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1354 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1357 if test $USE_MAINTAINER_MODE = yes; then
1358 MAINTAINER_MODE_TRUE
=
1359 MAINTAINER_MODE_FALSE
='#'
1361 MAINTAINER_MODE_TRUE
='#'
1362 MAINTAINER_MODE_FALSE
=
1365 MAINT
=$MAINTAINER_MODE_TRUE
1370 ac_cpp
='$CPP $CPPFLAGS'
1371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1374 if test -n "$ac_tool_prefix"; then
1375 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1376 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1377 echo "$as_me:$LINENO: checking for $ac_word" >&5
1378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1379 if test "${ac_cv_prog_CC+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 if test -n "$CC"; then
1383 ac_cv_prog_CC
="$CC" # Let the user override the test.
1385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir
=.
1390 for ac_exec_ext
in '' $ac_executable_extensions; do
1391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1392 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1402 if test -n "$CC"; then
1403 echo "$as_me:$LINENO: result: $CC" >&5
1404 echo "${ECHO_T}$CC" >&6
1406 echo "$as_me:$LINENO: result: no" >&5
1407 echo "${ECHO_T}no" >&6
1411 if test -z "$ac_cv_prog_CC"; then
1413 # Extract the first word of "gcc", so it can be a program name with args.
1414 set dummy gcc
; ac_word
=$2
1415 echo "$as_me:$LINENO: checking for $ac_word" >&5
1416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1418 echo $ECHO_N "(cached) $ECHO_C" >&6
1420 if test -n "$ac_ct_CC"; then
1421 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1427 test -z "$as_dir" && as_dir
=.
1428 for ac_exec_ext
in '' $ac_executable_extensions; do
1429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1430 ac_cv_prog_ac_ct_CC
="gcc"
1431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1439 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1440 if test -n "$ac_ct_CC"; then
1441 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1442 echo "${ECHO_T}$ac_ct_CC" >&6
1444 echo "$as_me:$LINENO: result: no" >&5
1445 echo "${ECHO_T}no" >&6
1453 if test -z "$CC"; then
1454 if test -n "$ac_tool_prefix"; then
1455 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1456 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1457 echo "$as_me:$LINENO: checking for $ac_word" >&5
1458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1459 if test "${ac_cv_prog_CC+set}" = set; then
1460 echo $ECHO_N "(cached) $ECHO_C" >&6
1462 if test -n "$CC"; then
1463 ac_cv_prog_CC
="$CC" # Let the user override the test.
1465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1469 test -z "$as_dir" && as_dir
=.
1470 for ac_exec_ext
in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1472 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1482 if test -n "$CC"; then
1483 echo "$as_me:$LINENO: result: $CC" >&5
1484 echo "${ECHO_T}$CC" >&6
1486 echo "$as_me:$LINENO: result: no" >&5
1487 echo "${ECHO_T}no" >&6
1491 if test -z "$ac_cv_prog_CC"; then
1493 # Extract the first word of "cc", so it can be a program name with args.
1494 set dummy cc
; ac_word
=$2
1495 echo "$as_me:$LINENO: checking for $ac_word" >&5
1496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1497 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 if test -n "$ac_ct_CC"; then
1501 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1507 test -z "$as_dir" && as_dir
=.
1508 for ac_exec_ext
in '' $ac_executable_extensions; do
1509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1510 ac_cv_prog_ac_ct_CC
="cc"
1511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1519 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1520 if test -n "$ac_ct_CC"; then
1521 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1522 echo "${ECHO_T}$ac_ct_CC" >&6
1524 echo "$as_me:$LINENO: result: no" >&5
1525 echo "${ECHO_T}no" >&6
1534 if test -z "$CC"; then
1535 # Extract the first word of "cc", so it can be a program name with args.
1536 set dummy cc
; ac_word
=$2
1537 echo "$as_me:$LINENO: checking for $ac_word" >&5
1538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539 if test "${ac_cv_prog_CC+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 if test -n "$CC"; then
1543 ac_cv_prog_CC
="$CC" # Let the user override the test.
1546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1550 test -z "$as_dir" && as_dir
=.
1551 for ac_exec_ext
in '' $ac_executable_extensions; do
1552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1553 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1554 ac_prog_rejected
=yes
1558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1564 if test $ac_prog_rejected = yes; then
1565 # We found a bogon in the path, so make sure we never use it.
1566 set dummy
$ac_cv_prog_CC
1568 if test $# != 0; then
1569 # We chose a different compiler from the bogus one.
1570 # However, it has the same basename, so the bogon will be chosen
1571 # first if we set CC to just the basename; use the full file name.
1573 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1579 if test -n "$CC"; then
1580 echo "$as_me:$LINENO: result: $CC" >&5
1581 echo "${ECHO_T}$CC" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1588 if test -z "$CC"; then
1589 if test -n "$ac_tool_prefix"; then
1592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1593 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1594 echo "$as_me:$LINENO: checking for $ac_word" >&5
1595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1596 if test "${ac_cv_prog_CC+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 if test -n "$CC"; then
1600 ac_cv_prog_CC
="$CC" # Let the user override the test.
1602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir
=.
1607 for ac_exec_ext
in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1619 if test -n "$CC"; then
1620 echo "$as_me:$LINENO: result: $CC" >&5
1621 echo "${ECHO_T}$CC" >&6
1623 echo "$as_me:$LINENO: result: no" >&5
1624 echo "${ECHO_T}no" >&6
1627 test -n "$CC" && break
1630 if test -z "$CC"; then
1634 # Extract the first word of "$ac_prog", so it can be a program name with args.
1635 set dummy
$ac_prog; ac_word
=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir
=.
1649 for ac_exec_ext
in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC
="$ac_prog"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1669 test -n "$ac_ct_CC" && break
1678 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1679 See \`config.log' for more details." >&5
1680 echo "$as_me: error: no acceptable C compiler found in \$PATH
1681 See \`config.log' for more details." >&2;}
1682 { (exit 1); exit 1; }; }
1684 # Provide some information about the compiler.
1685 echo "$as_me:$LINENO:" \
1686 "checking for C compiler version" >&5
1687 ac_compiler
=`set X $ac_compile; echo $2`
1688 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1689 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1692 (exit $ac_status); }
1693 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1694 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1697 (exit $ac_status); }
1698 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1699 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1702 (exit $ac_status); }
1704 cat >conftest.
$ac_ext <<_ACEOF
1707 cat confdefs.h
>>conftest.
$ac_ext
1708 cat >>conftest.
$ac_ext <<_ACEOF
1709 /* end confdefs.h. */
1719 ac_clean_files_save
=$ac_clean_files
1720 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1721 # Try to create an executable without -o first, disregard a.out.
1722 # It will help us diagnose broken compilers, and finding out an intuition
1724 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1725 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1726 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1727 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1728 (eval $ac_link_default) 2>&5
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1731 (exit $ac_status); }; then
1732 # Find the output, starting from the most likely. This scheme is
1733 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1736 # Be careful to initialize this variable, since it used to be cached.
1737 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1739 # b.out is created by i960 compilers.
1740 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1742 test -f "$ac_file" ||
continue
1744 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1747 # This is the source file.
1750 # We found the default executable, but exeext='' is most
1754 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1755 # FIXME: I believe we export ac_cv_exeext for Libtool,
1756 # but it would be cool to find out if it's true. Does anybody
1757 # maintain Libtool? --akim.
1765 echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.
$ac_ext >&5
1768 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1769 See \`config.log' for more details." >&5
1770 echo "$as_me: error: C compiler cannot create executables
1771 See \`config.log' for more details." >&2;}
1772 { (exit 77); exit 77; }; }
1775 ac_exeext
=$ac_cv_exeext
1776 echo "$as_me:$LINENO: result: $ac_file" >&5
1777 echo "${ECHO_T}$ac_file" >&6
1779 # Check the compiler produces executables we can run. If not, either
1780 # the compiler is broken, or we cross compile.
1781 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1782 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1783 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1784 # If not cross compiling, check that we can run a simple program.
1785 if test "$cross_compiling" != yes; then
1786 if { ac_try
='./$ac_file'
1787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }; }; then
1794 if test "$cross_compiling" = maybe
; then
1797 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1798 If you meant to cross compile, use \`--host'.
1799 See \`config.log' for more details." >&5
1800 echo "$as_me: error: cannot run C compiled programs.
1801 If you meant to cross compile, use \`--host'.
1802 See \`config.log' for more details." >&2;}
1803 { (exit 1); exit 1; }; }
1807 echo "$as_me:$LINENO: result: yes" >&5
1808 echo "${ECHO_T}yes" >&6
1810 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1811 ac_clean_files
=$ac_clean_files_save
1812 # Check the compiler produces executables we can run. If not, either
1813 # the compiler is broken, or we cross compile.
1814 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1815 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1816 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1817 echo "${ECHO_T}$cross_compiling" >&6
1819 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1820 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1822 (eval $ac_link) 2>&5
1824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1825 (exit $ac_status); }; then
1826 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1827 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1828 # work properly (i.e., refer to `conftest.exe'), while it won't with
1830 for ac_file
in conftest.exe conftest conftest.
*; do
1831 test -f "$ac_file" ||
continue
1833 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1834 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1841 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1842 See \`config.log' for more details." >&5
1843 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1844 See \`config.log' for more details." >&2;}
1845 { (exit 1); exit 1; }; }
1848 rm -f conftest
$ac_cv_exeext
1849 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1850 echo "${ECHO_T}$ac_cv_exeext" >&6
1852 rm -f conftest.
$ac_ext
1853 EXEEXT
=$ac_cv_exeext
1855 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1856 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1857 if test "${ac_cv_objext+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 cat >conftest.
$ac_ext <<_ACEOF
1863 cat confdefs.h
>>conftest.
$ac_ext
1864 cat >>conftest.
$ac_ext <<_ACEOF
1865 /* end confdefs.h. */
1875 rm -f conftest.o conftest.obj
1876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1877 (eval $ac_compile) 2>&5
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); }; then
1881 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1883 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1884 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1889 echo "$as_me: failed program was:" >&5
1890 sed 's/^/| /' conftest.
$ac_ext >&5
1892 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1893 See \`config.log' for more details." >&5
1894 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1895 See \`config.log' for more details." >&2;}
1896 { (exit 1); exit 1; }; }
1899 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1901 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1902 echo "${ECHO_T}$ac_cv_objext" >&6
1903 OBJEXT
=$ac_cv_objext
1905 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1906 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1907 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 cat >conftest.
$ac_ext <<_ACEOF
1913 cat confdefs.h
>>conftest.
$ac_ext
1914 cat >>conftest.
$ac_ext <<_ACEOF
1915 /* end confdefs.h. */
1928 rm -f conftest.
$ac_objext
1929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1930 (eval $ac_compile) 2>conftest.er1
1932 grep -v '^ *+' conftest.er1
>conftest.err
1934 cat conftest.err
>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); } &&
1937 { ac_try
='test -z "$ac_c_werror_flag"
1938 || test ! -s conftest.err'
1939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; } &&
1944 { ac_try
='test -s conftest.$ac_objext'
1945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); }; }; then
1952 echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.
$ac_ext >&5
1957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1958 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1961 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1962 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1963 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1964 ac_test_CFLAGS
=${CFLAGS+set}
1965 ac_save_CFLAGS
=$CFLAGS
1967 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1968 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1969 if test "${ac_cv_prog_cc_g+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 cat >conftest.
$ac_ext <<_ACEOF
1975 cat confdefs.h
>>conftest.
$ac_ext
1976 cat >>conftest.
$ac_ext <<_ACEOF
1977 /* end confdefs.h. */
1987 rm -f conftest.
$ac_objext
1988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1989 (eval $ac_compile) 2>conftest.er1
1991 grep -v '^ *+' conftest.er1
>conftest.err
1993 cat conftest.err
>&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); } &&
1996 { ac_try
='test -z "$ac_c_werror_flag"
1997 || test ! -s conftest.err'
1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }; } &&
2003 { ac_try
='test -s conftest.$ac_objext'
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }; }; then
2011 echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.
$ac_ext >&5
2016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2018 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2019 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2020 if test "$ac_test_CFLAGS" = set; then
2021 CFLAGS
=$ac_save_CFLAGS
2022 elif test $ac_cv_prog_cc_g = yes; then
2023 if test "$GCC" = yes; then
2029 if test "$GCC" = yes; then
2035 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2036 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2037 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2038 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 ac_cv_prog_cc_stdc
=no
2042 cat >conftest.
$ac_ext <<_ACEOF
2045 cat confdefs.h
>>conftest.
$ac_ext
2046 cat >>conftest.
$ac_ext <<_ACEOF
2047 /* end confdefs.h. */
2050 #include <sys/types.h>
2051 #include <sys/stat.h>
2052 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2053 struct buf { int x; };
2054 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2055 static char *e (p, i)
2061 static char *f (char * (*g) (char **, int), char **p, ...)
2066 s = g (p, va_arg (v,int));
2071 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2072 function prototypes and stuff, but not '\xHH' hex character constants.
2073 These don't provoke an error unfortunately, instead are silently treated
2074 as 'x'. The following induces an error, until -std1 is added to get
2075 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2076 array size at least. It's necessary to write '\x00'==0 to get something
2077 that's true only with -std1. */
2078 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2080 int test (int i, double x);
2081 struct s1 {int (*f) (int a);};
2082 struct s2 {int (*f) (double a);};
2083 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2089 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2094 # Don't try gcc -ansi; that turns off useful extensions and
2095 # breaks some systems' header files.
2096 # AIX -qlanglvl=ansi
2097 # Ultrix and OSF/1 -std1
2098 # HP-UX 10.20 and later -Ae
2099 # HP-UX older versions -Aa -D_HPUX_SOURCE
2100 # SVR4 -Xc -D__EXTENSIONS__
2101 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2103 CC
="$ac_save_CC $ac_arg"
2104 rm -f conftest.
$ac_objext
2105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2106 (eval $ac_compile) 2>conftest.er1
2108 grep -v '^ *+' conftest.er1
>conftest.err
2110 cat conftest.err
>&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); } &&
2113 { ac_try
='test -z "$ac_c_werror_flag"
2114 || test ! -s conftest.err'
2115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; } &&
2120 { ac_try
='test -s conftest.$ac_objext'
2121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }; }; then
2126 ac_cv_prog_cc_stdc
=$ac_arg
2129 echo "$as_me: failed program was:" >&5
2130 sed 's/^/| /' conftest.
$ac_ext >&5
2133 rm -f conftest.err conftest.
$ac_objext
2135 rm -f conftest.
$ac_ext conftest.
$ac_objext
2140 case "x$ac_cv_prog_cc_stdc" in
2142 echo "$as_me:$LINENO: result: none needed" >&5
2143 echo "${ECHO_T}none needed" >&6 ;;
2145 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2146 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2147 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2150 # Some people use a C++ compiler to compile C. Since we use `exit',
2151 # in C++ we need to declare it. In case someone uses the same compiler
2152 # for both compiling C and C++ we need to have the C++ compiler decide
2153 # the declaration of exit, since it's the most demanding environment.
2154 cat >conftest.
$ac_ext <<_ACEOF
2159 rm -f conftest.
$ac_objext
2160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161 (eval $ac_compile) 2>conftest.er1
2163 grep -v '^ *+' conftest.er1
>conftest.err
2165 cat conftest.err
>&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); } &&
2168 { ac_try
='test -z "$ac_c_werror_flag"
2169 || test ! -s conftest.err'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; } &&
2175 { ac_try
='test -s conftest.$ac_objext'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2181 for ac_declaration
in \
2183 'extern "C" void std::exit (int) throw (); using std::exit;' \
2184 'extern "C" void std::exit (int); using std::exit;' \
2185 'extern "C" void exit (int) throw ();' \
2186 'extern "C" void exit (int);' \
2189 cat >conftest.
$ac_ext <<_ACEOF
2192 cat confdefs.h
>>conftest.
$ac_ext
2193 cat >>conftest.
$ac_ext <<_ACEOF
2194 /* end confdefs.h. */
2205 rm -f conftest.
$ac_objext
2206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2207 (eval $ac_compile) 2>conftest.er1
2209 grep -v '^ *+' conftest.er1
>conftest.err
2211 cat conftest.err
>&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); } &&
2214 { ac_try
='test -z "$ac_c_werror_flag"
2215 || test ! -s conftest.err'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; } &&
2221 { ac_try
='test -s conftest.$ac_objext'
2222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); }; }; then
2229 echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.
$ac_ext >&5
2234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2235 cat >conftest.
$ac_ext <<_ACEOF
2238 cat confdefs.h
>>conftest.
$ac_ext
2239 cat >>conftest.
$ac_ext <<_ACEOF
2240 /* end confdefs.h. */
2250 rm -f conftest.
$ac_objext
2251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2252 (eval $ac_compile) 2>conftest.er1
2254 grep -v '^ *+' conftest.er1
>conftest.err
2256 cat conftest.err
>&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); } &&
2259 { ac_try
='test -z "$ac_c_werror_flag"
2260 || test ! -s conftest.err'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; } &&
2266 { ac_try
='test -s conftest.$ac_objext'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; }; then
2274 echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.
$ac_ext >&5
2278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2281 if test -n "$ac_declaration"; then
2282 echo '#ifdef __cplusplus' >>confdefs.h
2283 echo $ac_declaration >>confdefs.h
2284 echo '#endif' >>confdefs.h
2288 echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.
$ac_ext >&5
2292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2294 ac_cpp
='$CPP $CPPFLAGS'
2295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297 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}-
2930 # FIXME: kettenis/20030102: The AC_PROG_RANLIB from Autoconf 2.13
2931 # doesn't support cross-compilation, but the one from Autoconf 2.5x
2932 # does. Override RANLIB here (i.e. before running AC_PROG_RANLIB) to
2933 # deal with the lossage. Note that CY_GNU_GETTEXT currently calls
2934 # AC_PROG_RANLIB. This can be removed when we switch to Autoconf
2936 if test -n "$ac_tool_prefix"; then
2937 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2938 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2939 echo "$as_me:$LINENO: checking for $ac_word" >&5
2940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2941 if test "${ac_cv_prog_RANLIB+set}" = set; then
2942 echo $ECHO_N "(cached) $ECHO_C" >&6
2944 if test -n "$RANLIB"; then
2945 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir
=.
2952 for ac_exec_ext
in '' $ac_executable_extensions; do
2953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2954 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 RANLIB
=$ac_cv_prog_RANLIB
2964 if test -n "$RANLIB"; then
2965 echo "$as_me:$LINENO: result: $RANLIB" >&5
2966 echo "${ECHO_T}$RANLIB" >&6
2968 echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2973 if test -z "$ac_cv_prog_RANLIB"; then
2974 ac_ct_RANLIB
=$RANLIB
2975 # Extract the first word of "ranlib", so it can be a program name with args.
2976 set dummy ranlib
; ac_word
=$2
2977 echo "$as_me:$LINENO: checking for $ac_word" >&5
2978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2979 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2980 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 if test -n "$ac_ct_RANLIB"; then
2983 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir
=.
2990 for ac_exec_ext
in '' $ac_executable_extensions; do
2991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3002 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3003 if test -n "$ac_ct_RANLIB"; then
3004 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3005 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3007 echo "$as_me:$LINENO: result: no" >&5
3008 echo "${ECHO_T}no" >&6
3011 RANLIB
=$ac_ct_RANLIB
3013 RANLIB
="$ac_cv_prog_RANLIB"
3029 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3030 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3031 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3032 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3033 echo $ECHO_N "(cached) $ECHO_C" >&6
3035 cat >conftest.
make <<\_ACEOF
3037 @
echo 'ac_maketemp="$(MAKE)"'
3039 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3040 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3041 if test -n "$ac_maketemp"; then
3042 eval ac_cv_prog_make_
${ac_make}_set
=yes
3044 eval ac_cv_prog_make_
${ac_make}_set
=no
3048 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3049 echo "$as_me:$LINENO: result: yes" >&5
3050 echo "${ECHO_T}yes" >&6
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3055 SET_MAKE
="MAKE=${MAKE-make}"
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3060 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3061 echo "$as_me:$LINENO: checking for $ac_word" >&5
3062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3063 if test "${ac_cv_prog_RANLIB+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 if test -n "$RANLIB"; then
3067 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir
=.
3074 for ac_exec_ext
in '' $ac_executable_extensions; do
3075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 RANLIB
=$ac_cv_prog_RANLIB
3086 if test -n "$RANLIB"; then
3087 echo "$as_me:$LINENO: result: $RANLIB" >&5
3088 echo "${ECHO_T}$RANLIB" >&6
3090 echo "$as_me:$LINENO: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3095 if test -z "$ac_cv_prog_RANLIB"; then
3096 ac_ct_RANLIB
=$RANLIB
3097 # Extract the first word of "ranlib", so it can be a program name with args.
3098 set dummy ranlib
; ac_word
=$2
3099 echo "$as_me:$LINENO: checking for $ac_word" >&5
3100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3101 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3104 if test -n "$ac_ct_RANLIB"; then
3105 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3111 test -z "$as_dir" && as_dir
=.
3112 for ac_exec_ext
in '' $ac_executable_extensions; do
3113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3124 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3125 if test -n "$ac_ct_RANLIB"; then
3126 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3127 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3129 echo "$as_me:$LINENO: result: no" >&5
3130 echo "${ECHO_T}no" >&6
3133 RANLIB
=$ac_ct_RANLIB
3135 RANLIB
="$ac_cv_prog_RANLIB"
3138 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3139 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3140 if test "${ac_cv_header_stdc+set}" = set; then
3141 echo $ECHO_N "(cached) $ECHO_C" >&6
3143 cat >conftest.
$ac_ext <<_ACEOF
3146 cat confdefs.h
>>conftest.
$ac_ext
3147 cat >>conftest.
$ac_ext <<_ACEOF
3148 /* end confdefs.h. */
3162 rm -f conftest.
$ac_objext
3163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3164 (eval $ac_compile) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1
>conftest.err
3168 cat conftest.err
>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try
='test -z "$ac_c_werror_flag"
3172 || test ! -s conftest.err'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; } &&
3178 { ac_try
='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3184 ac_cv_header_stdc
=yes
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.
$ac_ext >&5
3189 ac_cv_header_stdc
=no
3191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3193 if test $ac_cv_header_stdc = yes; then
3194 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3195 cat >conftest.
$ac_ext <<_ACEOF
3198 cat confdefs.h
>>conftest.
$ac_ext
3199 cat >>conftest.
$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3205 $EGREP "memchr" >/dev
/null
2>&1; then
3208 ac_cv_header_stdc
=no
3214 if test $ac_cv_header_stdc = yes; then
3215 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3216 cat >conftest.
$ac_ext <<_ACEOF
3219 cat confdefs.h
>>conftest.
$ac_ext
3220 cat >>conftest.
$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3226 $EGREP "free" >/dev
/null
2>&1; then
3229 ac_cv_header_stdc
=no
3235 if test $ac_cv_header_stdc = yes; then
3236 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3237 if test "$cross_compiling" = yes; then
3240 cat >conftest.
$ac_ext <<_ACEOF
3243 cat confdefs.h
>>conftest.
$ac_ext
3244 cat >>conftest.
$ac_ext <<_ACEOF
3245 /* end confdefs.h. */
3247 #if ((' ' & 0x0FF) == 0x020)
3248 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3249 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3251 # define ISLOWER(c) \
3252 (('a' <= (c) && (c) <= 'i') \
3253 || ('j' <= (c) && (c) <= 'r') \
3254 || ('s' <= (c) && (c) <= 'z'))
3255 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3258 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3263 for (i = 0; i < 256; i++)
3264 if (XOR (islower (i), ISLOWER (i))
3265 || toupper (i) != TOUPPER (i))
3270 rm -f conftest
$ac_exeext
3271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3272 (eval $ac_link) 2>&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); }; }; then
3283 echo "$as_me: program exited with status $ac_status" >&5
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.
$ac_ext >&5
3288 ac_cv_header_stdc
=no
3290 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3294 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3295 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3296 if test $ac_cv_header_stdc = yes; then
3298 cat >>confdefs.h
<<\_ACEOF
3299 #define STDC_HEADERS 1
3304 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3305 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3306 if test "${ac_cv_c_const+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 cat >conftest.
$ac_ext <<_ACEOF
3312 cat confdefs.h
>>conftest.
$ac_ext
3313 cat >>conftest.
$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3319 /* FIXME: Include the comments suggested by Paul. */
3321 /* Ultrix mips cc rejects this. */
3322 typedef int charset[2];
3324 /* SunOS 4.1.1 cc rejects this. */
3325 char const *const *ccp;
3327 /* NEC SVR4.0.2 mips cc rejects this. */
3328 struct point {int x, y;};
3329 static struct point const zero = {0,0};
3330 /* AIX XL C 1.02.0.0 rejects this.
3331 It does not let you subtract one const X* pointer from another in
3332 an arm of an if-expression whose if-part is not a constant
3334 const char *g = "string";
3335 ccp = &g + (g ? g-g : 0);
3336 /* HPUX 7.0 cc rejects these. */
3339 ccp = (char const *const *) p;
3340 { /* SCO 3.2v4 cc rejects this. */
3342 char const *s = 0 ? (char *) 0 : (char const *) 0;
3346 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3348 const int *foo = &x[0];
3351 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3352 typedef const int *iptr;
3356 { /* AIX XL C 1.02.0.0 rejects this saying
3357 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3358 struct s { int j; const int *ap[3]; };
3359 struct s *b; b->j = 5;
3361 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3370 rm -f conftest.
$ac_objext
3371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3372 (eval $ac_compile) 2>conftest.er1
3374 grep -v '^ *+' conftest.er1
>conftest.err
3376 cat conftest.err
>&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); } &&
3379 { ac_try
='test -z "$ac_c_werror_flag"
3380 || test ! -s conftest.err'
3381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }; } &&
3386 { ac_try
='test -s conftest.$ac_objext'
3387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); }; }; then
3394 echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.
$ac_ext >&5
3399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3401 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3402 echo "${ECHO_T}$ac_cv_c_const" >&6
3403 if test $ac_cv_c_const = no
; then
3405 cat >>confdefs.h
<<\_ACEOF
3411 echo "$as_me:$LINENO: checking for inline" >&5
3412 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3413 if test "${ac_cv_c_inline+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 for ac_kw
in inline __inline__ __inline
; do
3418 cat >conftest.
$ac_ext <<_ACEOF
3421 cat confdefs.h
>>conftest.
$ac_ext
3422 cat >>conftest.
$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3426 static $ac_kw foo_t static_foo () {return 0; }
3427 $ac_kw foo_t foo () {return 0; }
3431 rm -f conftest.
$ac_objext
3432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3433 (eval $ac_compile) 2>conftest.er1
3435 grep -v '^ *+' conftest.er1
>conftest.err
3437 cat conftest.err
>&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); } &&
3440 { ac_try
='test -z "$ac_c_werror_flag"
3441 || test ! -s conftest.err'
3442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); }; } &&
3447 { ac_try
='test -s conftest.$ac_objext'
3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); }; }; then
3453 ac_cv_c_inline
=$ac_kw; break
3455 echo "$as_me: failed program was:" >&5
3456 sed 's/^/| /' conftest.
$ac_ext >&5
3459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3463 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3464 echo "${ECHO_T}$ac_cv_c_inline" >&6
3467 case $ac_cv_c_inline in
3470 case $ac_cv_c_inline in
3472 *) ac_val
=$ac_cv_c_inline;;
3474 cat >>confdefs.h
<<_ACEOF
3476 #define inline $ac_val
3482 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3492 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3493 inttypes.h stdint.h unistd.h
3495 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3496 echo "$as_me:$LINENO: checking for $ac_header" >&5
3497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3499 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 cat >conftest.
$ac_ext <<_ACEOF
3504 cat confdefs.h
>>conftest.
$ac_ext
3505 cat >>conftest.
$ac_ext <<_ACEOF
3506 /* end confdefs.h. */
3507 $ac_includes_default
3509 #include <$ac_header>
3511 rm -f conftest.
$ac_objext
3512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3513 (eval $ac_compile) 2>conftest.er1
3515 grep -v '^ *+' conftest.er1
>conftest.err
3517 cat conftest.err
>&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); } &&
3520 { ac_try
='test -z "$ac_c_werror_flag"
3521 || test ! -s conftest.err'
3522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; } &&
3527 { ac_try
='test -s conftest.$ac_objext'
3528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); }; }; then
3533 eval "$as_ac_Header=yes"
3535 echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.
$ac_ext >&5
3538 eval "$as_ac_Header=no"
3540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3545 cat >>confdefs.h
<<_ACEOF
3546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3554 echo "$as_me:$LINENO: checking for off_t" >&5
3555 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3556 if test "${ac_cv_type_off_t+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 cat >conftest.
$ac_ext <<_ACEOF
3562 cat confdefs.h
>>conftest.
$ac_ext
3563 cat >>conftest.
$ac_ext <<_ACEOF
3564 /* end confdefs.h. */
3565 $ac_includes_default
3577 rm -f conftest.
$ac_objext
3578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3579 (eval $ac_compile) 2>conftest.er1
3581 grep -v '^ *+' conftest.er1
>conftest.err
3583 cat conftest.err
>&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); } &&
3586 { ac_try
='test -z "$ac_c_werror_flag"
3587 || test ! -s conftest.err'
3588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }; } &&
3593 { ac_try
='test -s conftest.$ac_objext'
3594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; }; then
3599 ac_cv_type_off_t
=yes
3601 echo "$as_me: failed program was:" >&5
3602 sed 's/^/| /' conftest.
$ac_ext >&5
3606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3608 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3609 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3610 if test $ac_cv_type_off_t = yes; then
3614 cat >>confdefs.h
<<_ACEOF
3620 echo "$as_me:$LINENO: checking for size_t" >&5
3621 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3622 if test "${ac_cv_type_size_t+set}" = set; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 cat >conftest.
$ac_ext <<_ACEOF
3628 cat confdefs.h
>>conftest.
$ac_ext
3629 cat >>conftest.
$ac_ext <<_ACEOF
3630 /* end confdefs.h. */
3631 $ac_includes_default
3637 if (sizeof (size_t))
3643 rm -f conftest.
$ac_objext
3644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3645 (eval $ac_compile) 2>conftest.er1
3647 grep -v '^ *+' conftest.er1
>conftest.err
3649 cat conftest.err
>&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } &&
3652 { ac_try
='test -z "$ac_c_werror_flag"
3653 || test ! -s conftest.err'
3654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; } &&
3659 { ac_try
='test -s conftest.$ac_objext'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; }; then
3665 ac_cv_type_size_t
=yes
3667 echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.
$ac_ext >&5
3670 ac_cv_type_size_t
=no
3672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3674 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3675 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3676 if test $ac_cv_type_size_t = yes; then
3680 cat >>confdefs.h
<<_ACEOF
3681 #define size_t unsigned
3686 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3687 # for constant arguments. Useless!
3688 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3689 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3690 if test "${ac_cv_working_alloca_h+set}" = set; then
3691 echo $ECHO_N "(cached) $ECHO_C" >&6
3693 cat >conftest.
$ac_ext <<_ACEOF
3696 cat confdefs.h
>>conftest.
$ac_ext
3697 cat >>conftest.
$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3703 char *p = (char *) alloca (2 * sizeof (int));
3708 rm -f conftest.
$ac_objext conftest
$ac_exeext
3709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3710 (eval $ac_link) 2>conftest.er1
3712 grep -v '^ *+' conftest.er1
>conftest.err
3714 cat conftest.err
>&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); } &&
3717 { ac_try
='test -z "$ac_c_werror_flag"
3718 || test ! -s conftest.err'
3719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); }; } &&
3724 { ac_try
='test -s conftest$ac_exeext'
3725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); }; }; then
3730 ac_cv_working_alloca_h
=yes
3732 echo "$as_me: failed program was:" >&5
3733 sed 's/^/| /' conftest.
$ac_ext >&5
3735 ac_cv_working_alloca_h
=no
3737 rm -f conftest.err conftest.
$ac_objext \
3738 conftest
$ac_exeext conftest.
$ac_ext
3740 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3741 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3742 if test $ac_cv_working_alloca_h = yes; then
3744 cat >>confdefs.h
<<\_ACEOF
3745 #define HAVE_ALLOCA_H 1
3750 echo "$as_me:$LINENO: checking for alloca" >&5
3751 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3752 if test "${ac_cv_func_alloca_works+set}" = set; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3755 cat >conftest.
$ac_ext <<_ACEOF
3758 cat confdefs.h
>>conftest.
$ac_ext
3759 cat >>conftest.
$ac_ext <<_ACEOF
3760 /* end confdefs.h. */
3762 # define alloca __builtin_alloca
3765 # include <malloc.h>
3766 # define alloca _alloca
3769 # include <alloca.h>
3774 # ifndef alloca /* predefined by HP cc +Olibcalls */
3785 char *p = (char *) alloca (1);
3790 rm -f conftest.
$ac_objext conftest
$ac_exeext
3791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3792 (eval $ac_link) 2>conftest.er1
3794 grep -v '^ *+' conftest.er1
>conftest.err
3796 cat conftest.err
>&5
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); } &&
3799 { ac_try
='test -z "$ac_c_werror_flag"
3800 || test ! -s conftest.err'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; } &&
3806 { ac_try
='test -s conftest$ac_exeext'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; }; then
3812 ac_cv_func_alloca_works
=yes
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.
$ac_ext >&5
3817 ac_cv_func_alloca_works
=no
3819 rm -f conftest.err conftest.
$ac_objext \
3820 conftest
$ac_exeext conftest.
$ac_ext
3822 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3823 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3825 if test $ac_cv_func_alloca_works = yes; then
3827 cat >>confdefs.h
<<\_ACEOF
3828 #define HAVE_ALLOCA 1
3832 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3833 # that cause trouble. Some versions do not even contain alloca or
3834 # contain a buggy version. If you still want to use their alloca,
3835 # use ar to extract alloca.o from them instead of compiling alloca.c.
3837 ALLOCA
=alloca.
$ac_objext
3839 cat >>confdefs.h
<<\_ACEOF
3844 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3845 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3846 if test "${ac_cv_os_cray+set}" = set; then
3847 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 cat >conftest.
$ac_ext <<_ACEOF
3852 cat confdefs.h
>>conftest.
$ac_ext
3853 cat >>conftest.
$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #if defined(CRAY) && ! defined(CRAY2)
3862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3863 $EGREP "webecray" >/dev
/null
2>&1; then
3871 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3872 echo "${ECHO_T}$ac_cv_os_cray" >&6
3873 if test $ac_cv_os_cray = yes; then
3874 for ac_func
in _getb67 GETB67 getb67
; do
3875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3876 echo "$as_me:$LINENO: checking for $ac_func" >&5
3877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3878 if eval "test \"\${$as_ac_var+set}\" = set"; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3881 cat >conftest.
$ac_ext <<_ACEOF
3884 cat confdefs.h
>>conftest.
$ac_ext
3885 cat >>conftest.
$ac_ext <<_ACEOF
3886 /* end confdefs.h. */
3887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3889 #define $ac_func innocuous_$ac_func
3891 /* System header to define __stub macros and hopefully few prototypes,
3892 which can conflict with char $ac_func (); below.
3893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3894 <limits.h> exists even on freestanding compilers. */
3897 # include <limits.h>
3899 # include <assert.h>
3904 /* Override any gcc2 internal prototype to avoid an error. */
3909 /* We use char because int might match the return type of a gcc2
3910 builtin and then its argument prototype would still apply. */
3912 /* The GNU C library defines this for functions which it implements
3913 to always fail with ENOSYS. Some functions are actually named
3914 something starting with __ and the normal name is an alias. */
3915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3918 char (*f) () = $ac_func;
3927 return f != $ac_func;
3932 rm -f conftest.
$ac_objext conftest
$ac_exeext
3933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3934 (eval $ac_link) 2>conftest.er1
3936 grep -v '^ *+' conftest.er1
>conftest.err
3938 cat conftest.err
>&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); } &&
3941 { ac_try
='test -z "$ac_c_werror_flag"
3942 || test ! -s conftest.err'
3943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); }; } &&
3948 { ac_try
='test -s conftest$ac_exeext'
3949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953 (exit $ac_status); }; }; then
3954 eval "$as_ac_var=yes"
3956 echo "$as_me: failed program was:" >&5
3957 sed 's/^/| /' conftest.
$ac_ext >&5
3959 eval "$as_ac_var=no"
3961 rm -f conftest.err conftest.
$ac_objext \
3962 conftest
$ac_exeext conftest.
$ac_ext
3964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3966 if test `eval echo '${'$as_ac_var'}'` = yes; then
3968 cat >>confdefs.h
<<_ACEOF
3969 #define CRAY_STACKSEG_END $ac_func
3978 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3979 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3980 if test "${ac_cv_c_stack_direction+set}" = set; then
3981 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 if test "$cross_compiling" = yes; then
3984 ac_cv_c_stack_direction
=0
3986 cat >conftest.
$ac_ext <<_ACEOF
3989 cat confdefs.h
>>conftest.
$ac_ext
3990 cat >>conftest.
$ac_ext <<_ACEOF
3991 /* end confdefs.h. */
3993 find_stack_direction ()
3995 static char *addr = 0;
4000 return find_stack_direction ();
4003 return (&dummy > addr) ? 1 : -1;
4009 exit (find_stack_direction () < 0);
4012 rm -f conftest
$ac_exeext
4013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4014 (eval $ac_link) 2>&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); }; }; then
4023 ac_cv_c_stack_direction
=1
4025 echo "$as_me: program exited with status $ac_status" >&5
4026 echo "$as_me: failed program was:" >&5
4027 sed 's/^/| /' conftest.
$ac_ext >&5
4030 ac_cv_c_stack_direction
=-1
4032 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4035 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4036 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4038 cat >>confdefs.h
<<_ACEOF
4039 #define STACK_DIRECTION $ac_cv_c_stack_direction
4047 for ac_header
in stdlib.h unistd.h
4049 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4051 echo "$as_me:$LINENO: checking for $ac_header" >&5
4052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
4056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4059 # Is the header compilable?
4060 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4061 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4062 cat >conftest.
$ac_ext <<_ACEOF
4065 cat confdefs.h
>>conftest.
$ac_ext
4066 cat >>conftest.
$ac_ext <<_ACEOF
4067 /* end confdefs.h. */
4068 $ac_includes_default
4069 #include <$ac_header>
4071 rm -f conftest.
$ac_objext
4072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4073 (eval $ac_compile) 2>conftest.er1
4075 grep -v '^ *+' conftest.er1
>conftest.err
4077 cat conftest.err
>&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } &&
4080 { ac_try
='test -z "$ac_c_werror_flag"
4081 || test ! -s conftest.err'
4082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; } &&
4087 { ac_try
='test -s conftest.$ac_objext'
4088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; }; then
4093 ac_header_compiler
=yes
4095 echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.
$ac_ext >&5
4098 ac_header_compiler
=no
4100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4102 echo "${ECHO_T}$ac_header_compiler" >&6
4104 # Is the header present?
4105 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4106 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4107 cat >conftest.
$ac_ext <<_ACEOF
4110 cat confdefs.h
>>conftest.
$ac_ext
4111 cat >>conftest.
$ac_ext <<_ACEOF
4112 /* end confdefs.h. */
4113 #include <$ac_header>
4115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4116 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4118 grep -v '^ *+' conftest.er1
>conftest.err
4120 cat conftest.err
>&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } >/dev
/null
; then
4123 if test -s conftest.err
; then
4124 ac_cpp_err
=$ac_c_preproc_warn_flag
4125 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4132 if test -z "$ac_cpp_err"; then
4133 ac_header_preproc
=yes
4135 echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.
$ac_ext >&5
4138 ac_header_preproc
=no
4140 rm -f conftest.err conftest.
$ac_ext
4141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4142 echo "${ECHO_T}$ac_header_preproc" >&6
4144 # So? What about this header?
4145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4147 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4148 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4150 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4151 ac_header_preproc
=yes
4154 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4155 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4156 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4157 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4158 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4159 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4160 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4161 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4164 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4165 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4168 ## ------------------------------------------ ##
4169 ## Report this to the AC_PACKAGE_NAME lists. ##
4170 ## ------------------------------------------ ##
4173 sed "s/^/$as_me: WARNING: /" >&2
4176 echo "$as_me:$LINENO: checking for $ac_header" >&5
4177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 eval "$as_ac_Header=\$ac_header_preproc"
4183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4188 cat >>confdefs.h
<<_ACEOF
4189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4197 for ac_func
in getpagesize
4199 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4200 echo "$as_me:$LINENO: checking for $ac_func" >&5
4201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4202 if eval "test \"\${$as_ac_var+set}\" = set"; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 cat >conftest.
$ac_ext <<_ACEOF
4208 cat confdefs.h
>>conftest.
$ac_ext
4209 cat >>conftest.
$ac_ext <<_ACEOF
4210 /* end confdefs.h. */
4211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4213 #define $ac_func innocuous_$ac_func
4215 /* System header to define __stub macros and hopefully few prototypes,
4216 which can conflict with char $ac_func (); below.
4217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4218 <limits.h> exists even on freestanding compilers. */
4221 # include <limits.h>
4223 # include <assert.h>
4228 /* Override any gcc2 internal prototype to avoid an error. */
4233 /* We use char because int might match the return type of a gcc2
4234 builtin and then its argument prototype would still apply. */
4236 /* The GNU C library defines this for functions which it implements
4237 to always fail with ENOSYS. Some functions are actually named
4238 something starting with __ and the normal name is an alias. */
4239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4242 char (*f) () = $ac_func;
4251 return f != $ac_func;
4256 rm -f conftest.
$ac_objext conftest
$ac_exeext
4257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4258 (eval $ac_link) 2>conftest.er1
4260 grep -v '^ *+' conftest.er1
>conftest.err
4262 cat conftest.err
>&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); } &&
4265 { ac_try
='test -z "$ac_c_werror_flag"
4266 || test ! -s conftest.err'
4267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); }; } &&
4272 { ac_try
='test -s conftest$ac_exeext'
4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; }; then
4278 eval "$as_ac_var=yes"
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.
$ac_ext >&5
4283 eval "$as_ac_var=no"
4285 rm -f conftest.err conftest.
$ac_objext \
4286 conftest
$ac_exeext conftest.
$ac_ext
4288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4290 if test `eval echo '${'$as_ac_var'}'` = yes; then
4291 cat >>confdefs.h
<<_ACEOF
4292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4298 echo "$as_me:$LINENO: checking for working mmap" >&5
4299 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4300 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4303 if test "$cross_compiling" = yes; then
4304 ac_cv_func_mmap_fixed_mapped
=no
4306 cat >conftest.
$ac_ext <<_ACEOF
4309 cat confdefs.h
>>conftest.
$ac_ext
4310 cat >>conftest.
$ac_ext <<_ACEOF
4311 /* end confdefs.h. */
4312 $ac_includes_default
4313 /* malloc might have been renamed as rpl_malloc. */
4316 /* Thanks to Mike Haertel and Jim Avera for this test.
4317 Here is a matrix of mmap possibilities:
4318 mmap private not fixed
4319 mmap private fixed at somewhere currently unmapped
4320 mmap private fixed at somewhere already mapped
4321 mmap shared not fixed
4322 mmap shared fixed at somewhere currently unmapped
4323 mmap shared fixed at somewhere already mapped
4324 For private mappings, we should verify that changes cannot be read()
4325 back from the file, nor mmap's back from the file at a different
4326 address. (There have been systems where private was not correctly
4327 implemented like the infamous i386 svr4.0, and systems where the
4328 VM page cache was not coherent with the file system buffer cache
4329 like early versions of FreeBSD and possibly contemporary NetBSD.)
4330 For shared mappings, we should conversely verify that changes get
4331 propagated back to all the places they're supposed to be.
4333 Grep wants private fixed already mapped.
4334 The main things grep needs to know about mmap are:
4335 * does it exist and is it safe to write into the mmap'd area
4336 * how to use it (BSD variants) */
4339 #include <sys/mman.h>
4341 #if !STDC_HEADERS && !HAVE_STDLIB_H
4345 /* This mess was copied from the GNU getpagesize.h. */
4346 #if !HAVE_GETPAGESIZE
4347 /* Assume that all systems that can run configure have sys/param.h. */
4348 # if !HAVE_SYS_PARAM_H
4349 # define HAVE_SYS_PARAM_H 1
4352 # ifdef _SC_PAGESIZE
4353 # define getpagesize() sysconf(_SC_PAGESIZE)
4354 # else /* no _SC_PAGESIZE */
4355 # if HAVE_SYS_PARAM_H
4356 # include <sys/param.h>
4357 # ifdef EXEC_PAGESIZE
4358 # define getpagesize() EXEC_PAGESIZE
4359 # else /* no EXEC_PAGESIZE */
4361 # define getpagesize() NBPG * CLSIZE
4364 # endif /* no CLSIZE */
4365 # else /* no NBPG */
4367 # define getpagesize() NBPC
4368 # else /* no NBPC */
4370 # define getpagesize() PAGESIZE
4371 # endif /* PAGESIZE */
4372 # endif /* no NBPC */
4373 # endif /* no NBPG */
4374 # endif /* no EXEC_PAGESIZE */
4375 # else /* no HAVE_SYS_PARAM_H */
4376 # define getpagesize() 8192 /* punt totally */
4377 # endif /* no HAVE_SYS_PARAM_H */
4378 # endif /* no _SC_PAGESIZE */
4380 #endif /* no HAVE_GETPAGESIZE */
4385 char *data, *data2, *data3;
4389 pagesize = getpagesize ();
4391 /* First, make a file with some known garbage in it. */
4392 data = (char *) malloc (pagesize);
4395 for (i = 0; i < pagesize; ++i)
4396 *(data + i) = rand ();
4398 fd = creat ("conftest.mmap", 0600);
4401 if (write (fd, data, pagesize) != pagesize)
4405 /* Next, try to mmap the file at a fixed address which already has
4406 something else allocated at it. If we can, also make sure that
4407 we see the same garbage. */
4408 fd = open ("conftest.mmap", O_RDWR);
4411 data2 = (char *) malloc (2 * pagesize);
4414 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4415 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4416 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4418 for (i = 0; i < pagesize; ++i)
4419 if (*(data + i) != *(data2 + i))
4422 /* Finally, make sure that changes to the mapped area do not
4423 percolate back to the file as seen by read(). (This is a bug on
4424 some variants of i386 svr4.0.) */
4425 for (i = 0; i < pagesize; ++i)
4426 *(data2 + i) = *(data2 + i) + 1;
4427 data3 = (char *) malloc (pagesize);
4430 if (read (fd, data3, pagesize) != pagesize)
4432 for (i = 0; i < pagesize; ++i)
4433 if (*(data + i) != *(data3 + i))
4439 rm -f conftest
$ac_exeext
4440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4441 (eval $ac_link) 2>&5
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); }; }; then
4450 ac_cv_func_mmap_fixed_mapped
=yes
4452 echo "$as_me: program exited with status $ac_status" >&5
4453 echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.
$ac_ext >&5
4457 ac_cv_func_mmap_fixed_mapped
=no
4459 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4462 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4463 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4464 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4466 cat >>confdefs.h
<<\_ACEOF
4483 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4484 unistd.h values.h sys
/param.h
4486 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4488 echo "$as_me:$LINENO: checking for $ac_header" >&5
4489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4491 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4496 # Is the header compilable?
4497 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4499 cat >conftest.
$ac_ext <<_ACEOF
4502 cat confdefs.h
>>conftest.
$ac_ext
4503 cat >>conftest.
$ac_ext <<_ACEOF
4504 /* end confdefs.h. */
4505 $ac_includes_default
4506 #include <$ac_header>
4508 rm -f conftest.
$ac_objext
4509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4510 (eval $ac_compile) 2>conftest.er1
4512 grep -v '^ *+' conftest.er1
>conftest.err
4514 cat conftest.err
>&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); } &&
4517 { ac_try
='test -z "$ac_c_werror_flag"
4518 || test ! -s conftest.err'
4519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }; } &&
4524 { ac_try
='test -s conftest.$ac_objext'
4525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); }; }; then
4530 ac_header_compiler
=yes
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.
$ac_ext >&5
4535 ac_header_compiler
=no
4537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4539 echo "${ECHO_T}$ac_header_compiler" >&6
4541 # Is the header present?
4542 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4544 cat >conftest.
$ac_ext <<_ACEOF
4547 cat confdefs.h
>>conftest.
$ac_ext
4548 cat >>conftest.
$ac_ext <<_ACEOF
4549 /* end confdefs.h. */
4550 #include <$ac_header>
4552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4553 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4555 grep -v '^ *+' conftest.er1
>conftest.err
4557 cat conftest.err
>&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); } >/dev
/null
; then
4560 if test -s conftest.err
; then
4561 ac_cpp_err
=$ac_c_preproc_warn_flag
4562 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4569 if test -z "$ac_cpp_err"; then
4570 ac_header_preproc
=yes
4572 echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.
$ac_ext >&5
4575 ac_header_preproc
=no
4577 rm -f conftest.err conftest.
$ac_ext
4578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4579 echo "${ECHO_T}$ac_header_preproc" >&6
4581 # So? What about this header?
4582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4588 ac_header_preproc
=yes
4591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4605 ## ------------------------------------------ ##
4606 ## Report this to the AC_PACKAGE_NAME lists. ##
4607 ## ------------------------------------------ ##
4610 sed "s/^/$as_me: WARNING: /" >&2
4613 echo "$as_me:$LINENO: checking for $ac_header" >&5
4614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 eval "$as_ac_Header=\$ac_header_preproc"
4620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4625 cat >>confdefs.h
<<_ACEOF
4626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4643 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4644 __argz_count __argz_stringify __argz_next
4646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4647 echo "$as_me:$LINENO: checking for $ac_func" >&5
4648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4649 if eval "test \"\${$as_ac_var+set}\" = set"; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 cat >conftest.
$ac_ext <<_ACEOF
4655 cat confdefs.h
>>conftest.
$ac_ext
4656 cat >>conftest.
$ac_ext <<_ACEOF
4657 /* end confdefs.h. */
4658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4660 #define $ac_func innocuous_$ac_func
4662 /* System header to define __stub macros and hopefully few prototypes,
4663 which can conflict with char $ac_func (); below.
4664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4665 <limits.h> exists even on freestanding compilers. */
4668 # include <limits.h>
4670 # include <assert.h>
4675 /* Override any gcc2 internal prototype to avoid an error. */
4680 /* We use char because int might match the return type of a gcc2
4681 builtin and then its argument prototype would still apply. */
4683 /* The GNU C library defines this for functions which it implements
4684 to always fail with ENOSYS. Some functions are actually named
4685 something starting with __ and the normal name is an alias. */
4686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4689 char (*f) () = $ac_func;
4698 return f != $ac_func;
4703 rm -f conftest.
$ac_objext conftest
$ac_exeext
4704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4705 (eval $ac_link) 2>conftest.er1
4707 grep -v '^ *+' conftest.er1
>conftest.err
4709 cat conftest.err
>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try
='test -z "$ac_c_werror_flag"
4713 || test ! -s conftest.err'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; } &&
4719 { ac_try
='test -s conftest$ac_exeext'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; }; then
4725 eval "$as_ac_var=yes"
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.
$ac_ext >&5
4730 eval "$as_ac_var=no"
4732 rm -f conftest.err conftest.
$ac_objext \
4733 conftest
$ac_exeext conftest.
$ac_ext
4735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4737 if test `eval echo '${'$as_ac_var'}'` = yes; then
4738 cat >>confdefs.h
<<_ACEOF
4739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4746 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4748 for ac_func
in stpcpy
4750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4751 echo "$as_me:$LINENO: checking for $ac_func" >&5
4752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4753 if eval "test \"\${$as_ac_var+set}\" = set"; then
4754 echo $ECHO_N "(cached) $ECHO_C" >&6
4756 cat >conftest.
$ac_ext <<_ACEOF
4759 cat confdefs.h
>>conftest.
$ac_ext
4760 cat >>conftest.
$ac_ext <<_ACEOF
4761 /* end confdefs.h. */
4762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4764 #define $ac_func innocuous_$ac_func
4766 /* System header to define __stub macros and hopefully few prototypes,
4767 which can conflict with char $ac_func (); below.
4768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4769 <limits.h> exists even on freestanding compilers. */
4772 # include <limits.h>
4774 # include <assert.h>
4779 /* Override any gcc2 internal prototype to avoid an error. */
4784 /* We use char because int might match the return type of a gcc2
4785 builtin and then its argument prototype would still apply. */
4787 /* The GNU C library defines this for functions which it implements
4788 to always fail with ENOSYS. Some functions are actually named
4789 something starting with __ and the normal name is an alias. */
4790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4793 char (*f) () = $ac_func;
4802 return f != $ac_func;
4807 rm -f conftest.
$ac_objext conftest
$ac_exeext
4808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4809 (eval $ac_link) 2>conftest.er1
4811 grep -v '^ *+' conftest.er1
>conftest.err
4813 cat conftest.err
>&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); } &&
4816 { ac_try
='test -z "$ac_c_werror_flag"
4817 || test ! -s conftest.err'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; } &&
4823 { ac_try
='test -s conftest$ac_exeext'
4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; }; then
4829 eval "$as_ac_var=yes"
4831 echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.
$ac_ext >&5
4834 eval "$as_ac_var=no"
4836 rm -f conftest.err conftest.
$ac_objext \
4837 conftest
$ac_exeext conftest.
$ac_ext
4839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4841 if test `eval echo '${'$as_ac_var'}'` = yes; then
4842 cat >>confdefs.h
<<_ACEOF
4843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4850 if test "${ac_cv_func_stpcpy}" = "yes"; then
4852 cat >>confdefs.h
<<\_ACEOF
4853 #define HAVE_STPCPY 1
4858 if test $ac_cv_header_locale_h = yes; then
4859 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4860 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4861 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 cat >conftest.
$ac_ext <<_ACEOF
4867 cat confdefs.h
>>conftest.
$ac_ext
4868 cat >>conftest.
$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4879 rm -f conftest.
$ac_objext conftest
$ac_exeext
4880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4881 (eval $ac_link) 2>conftest.er1
4883 grep -v '^ *+' conftest.er1
>conftest.err
4885 cat conftest.err
>&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); } &&
4888 { ac_try
='test -z "$ac_c_werror_flag"
4889 || test ! -s conftest.err'
4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); }; } &&
4895 { ac_try
='test -s conftest$ac_exeext'
4896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900 (exit $ac_status); }; }; then
4901 am_cv_val_LC_MESSAGES
=yes
4903 echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.
$ac_ext >&5
4906 am_cv_val_LC_MESSAGES
=no
4908 rm -f conftest.err conftest.
$ac_objext \
4909 conftest
$ac_exeext conftest.
$ac_ext
4911 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4912 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4913 if test $am_cv_val_LC_MESSAGES = yes; then
4915 cat >>confdefs.h
<<\_ACEOF
4916 #define HAVE_LC_MESSAGES 1
4921 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4922 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4923 # Check whether --enable-nls or --disable-nls was given.
4924 if test "${enable_nls+set}" = set; then
4925 enableval
="$enable_nls"
4930 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4931 echo "${ECHO_T}$USE_NLS" >&6
4934 USE_INCLUDED_LIBINTL
=no
4936 if test "$USE_NLS" = "yes"; then
4938 cat >>confdefs.h
<<\_ACEOF
4939 #define ENABLE_NLS 1
4942 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4943 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4945 # Check whether --with-included-gettext or --without-included-gettext was given.
4946 if test "${with_included_gettext+set}" = set; then
4947 withval
="$with_included_gettext"
4948 nls_cv_force_use_gnu_gettext
=$withval
4950 nls_cv_force_use_gnu_gettext
=no
4952 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4953 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4955 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4956 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4958 nls_cv_header_libgt
=
4961 if test "${ac_cv_header_libintl_h+set}" = set; then
4962 echo "$as_me:$LINENO: checking for libintl.h" >&5
4963 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4964 if test "${ac_cv_header_libintl_h+set}" = set; then
4965 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4968 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4970 # Is the header compilable?
4971 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4972 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4973 cat >conftest.
$ac_ext <<_ACEOF
4976 cat confdefs.h
>>conftest.
$ac_ext
4977 cat >>conftest.
$ac_ext <<_ACEOF
4978 /* end confdefs.h. */
4979 $ac_includes_default
4980 #include <libintl.h>
4982 rm -f conftest.
$ac_objext
4983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4984 (eval $ac_compile) 2>conftest.er1
4986 grep -v '^ *+' conftest.er1
>conftest.err
4988 cat conftest.err
>&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); } &&
4991 { ac_try
='test -z "$ac_c_werror_flag"
4992 || test ! -s conftest.err'
4993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); }; } &&
4998 { ac_try
='test -s conftest.$ac_objext'
4999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); }; }; then
5004 ac_header_compiler
=yes
5006 echo "$as_me: failed program was:" >&5
5007 sed 's/^/| /' conftest.
$ac_ext >&5
5009 ac_header_compiler
=no
5011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5013 echo "${ECHO_T}$ac_header_compiler" >&6
5015 # Is the header present?
5016 echo "$as_me:$LINENO: checking libintl.h presence" >&5
5017 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
5018 cat >conftest.
$ac_ext <<_ACEOF
5021 cat confdefs.h
>>conftest.
$ac_ext
5022 cat >>conftest.
$ac_ext <<_ACEOF
5023 /* end confdefs.h. */
5024 #include <libintl.h>
5026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5027 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5029 grep -v '^ *+' conftest.er1
>conftest.err
5031 cat conftest.err
>&5
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); } >/dev
/null
; then
5034 if test -s conftest.err
; then
5035 ac_cpp_err
=$ac_c_preproc_warn_flag
5036 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5043 if test -z "$ac_cpp_err"; then
5044 ac_header_preproc
=yes
5046 echo "$as_me: failed program was:" >&5
5047 sed 's/^/| /' conftest.
$ac_ext >&5
5049 ac_header_preproc
=no
5051 rm -f conftest.err conftest.
$ac_ext
5052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5053 echo "${ECHO_T}$ac_header_preproc" >&6
5055 # So? What about this header?
5056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5058 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5059 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5060 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5061 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5062 ac_header_preproc
=yes
5065 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5066 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5067 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5068 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5069 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5070 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5071 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5072 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5073 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5074 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5075 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5076 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5079 ## ------------------------------------------ ##
5080 ## Report this to the AC_PACKAGE_NAME lists. ##
5081 ## ------------------------------------------ ##
5084 sed "s/^/$as_me: WARNING: /" >&2
5087 echo "$as_me:$LINENO: checking for libintl.h" >&5
5088 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
5089 if test "${ac_cv_header_libintl_h+set}" = set; then
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 ac_cv_header_libintl_h
=$ac_header_preproc
5094 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5095 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
5098 if test $ac_cv_header_libintl_h = yes; then
5099 echo "$as_me:$LINENO: checking for gettext in libc" >&5
5100 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
5101 if test "${gt_cv_func_gettext_libc+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 cat >conftest.
$ac_ext <<_ACEOF
5107 cat confdefs.h
>>conftest.
$ac_ext
5108 cat >>conftest.
$ac_ext <<_ACEOF
5109 /* end confdefs.h. */
5110 #include <libintl.h>
5114 return (int) gettext ("")
5119 rm -f conftest.
$ac_objext conftest
$ac_exeext
5120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5121 (eval $ac_link) 2>conftest.er1
5123 grep -v '^ *+' conftest.er1
>conftest.err
5125 cat conftest.err
>&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } &&
5128 { ac_try
='test -z "$ac_c_werror_flag"
5129 || test ! -s conftest.err'
5130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); }; } &&
5135 { ac_try
='test -s conftest$ac_exeext'
5136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140 (exit $ac_status); }; }; then
5141 gt_cv_func_gettext_libc
=yes
5143 echo "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.
$ac_ext >&5
5146 gt_cv_func_gettext_libc
=no
5148 rm -f conftest.err conftest.
$ac_objext \
5149 conftest
$ac_exeext conftest.
$ac_ext
5151 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
5152 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
5154 if test "$gt_cv_func_gettext_libc" != "yes"; then
5155 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5156 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
5157 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5160 ac_check_lib_save_LIBS
=$LIBS
5162 cat >conftest.
$ac_ext <<_ACEOF
5165 cat confdefs.h
>>conftest.
$ac_ext
5166 cat >>conftest.
$ac_ext <<_ACEOF
5167 /* end confdefs.h. */
5169 /* Override any gcc2 internal prototype to avoid an error. */
5173 /* We use char because int might match the return type of a gcc2
5174 builtin and then its argument prototype would still apply. */
5175 char bindtextdomain ();
5184 rm -f conftest.
$ac_objext conftest
$ac_exeext
5185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5186 (eval $ac_link) 2>conftest.er1
5188 grep -v '^ *+' conftest.er1
>conftest.err
5190 cat conftest.err
>&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } &&
5193 { ac_try
='test -z "$ac_c_werror_flag"
5194 || test ! -s conftest.err'
5195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); }; } &&
5200 { ac_try
='test -s conftest$ac_exeext'
5201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); }; }; then
5206 ac_cv_lib_intl_bindtextdomain
=yes
5208 echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.
$ac_ext >&5
5211 ac_cv_lib_intl_bindtextdomain
=no
5213 rm -f conftest.err conftest.
$ac_objext \
5214 conftest
$ac_exeext conftest.
$ac_ext
5215 LIBS
=$ac_check_lib_save_LIBS
5217 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5218 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5219 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5220 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5221 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5222 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5223 echo $ECHO_N "(cached) $ECHO_C" >&6
5225 cat >conftest.
$ac_ext <<_ACEOF
5228 cat confdefs.h
>>conftest.
$ac_ext
5229 cat >>conftest.
$ac_ext <<_ACEOF
5230 /* end confdefs.h. */
5235 return (int) gettext ("")
5240 rm -f conftest.
$ac_objext conftest
$ac_exeext
5241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5242 (eval $ac_link) 2>conftest.er1
5244 grep -v '^ *+' conftest.er1
>conftest.err
5246 cat conftest.err
>&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); } &&
5249 { ac_try
='test -z "$ac_c_werror_flag"
5250 || test ! -s conftest.err'
5251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); }; } &&
5256 { ac_try
='test -s conftest$ac_exeext'
5257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); }; }; then
5262 gt_cv_func_gettext_libintl
=yes
5264 echo "$as_me: failed program was:" >&5
5265 sed 's/^/| /' conftest.
$ac_ext >&5
5267 gt_cv_func_gettext_libintl
=no
5269 rm -f conftest.err conftest.
$ac_objext \
5270 conftest
$ac_exeext conftest.
$ac_ext
5272 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5273 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5278 if test "$gt_cv_func_gettext_libc" = "yes" \
5279 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5281 cat >>confdefs.h
<<\_ACEOF
5282 #define HAVE_GETTEXT 1
5285 # Extract the first word of "msgfmt", so it can be a program name with args.
5286 set dummy msgfmt
; ac_word
=$2
5287 echo "$as_me:$LINENO: checking for $ac_word" >&5
5288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5289 if test "${ac_cv_path_MSGFMT+set}" = set; then
5290 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5297 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5298 for ac_dir
in $PATH; do
5299 test -z "$ac_dir" && ac_dir
=.
5300 if test -f $ac_dir/$ac_word; then
5301 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5302 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5308 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5312 MSGFMT
="$ac_cv_path_MSGFMT"
5313 if test -n "$MSGFMT"; then
5314 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5315 echo "${ECHO_T}$MSGFMT" >&6
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5320 if test "$MSGFMT" != "no"; then
5322 for ac_func
in dcgettext
5324 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5325 echo "$as_me:$LINENO: checking for $ac_func" >&5
5326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5327 if eval "test \"\${$as_ac_var+set}\" = set"; then
5328 echo $ECHO_N "(cached) $ECHO_C" >&6
5330 cat >conftest.
$ac_ext <<_ACEOF
5333 cat confdefs.h
>>conftest.
$ac_ext
5334 cat >>conftest.
$ac_ext <<_ACEOF
5335 /* end confdefs.h. */
5336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5338 #define $ac_func innocuous_$ac_func
5340 /* System header to define __stub macros and hopefully few prototypes,
5341 which can conflict with char $ac_func (); below.
5342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5343 <limits.h> exists even on freestanding compilers. */
5346 # include <limits.h>
5348 # include <assert.h>
5353 /* Override any gcc2 internal prototype to avoid an error. */
5358 /* We use char because int might match the return type of a gcc2
5359 builtin and then its argument prototype would still apply. */
5361 /* The GNU C library defines this for functions which it implements
5362 to always fail with ENOSYS. Some functions are actually named
5363 something starting with __ and the normal name is an alias. */
5364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5367 char (*f) () = $ac_func;
5376 return f != $ac_func;
5381 rm -f conftest.
$ac_objext conftest
$ac_exeext
5382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5383 (eval $ac_link) 2>conftest.er1
5385 grep -v '^ *+' conftest.er1
>conftest.err
5387 cat conftest.err
>&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); } &&
5390 { ac_try
='test -z "$ac_c_werror_flag"
5391 || test ! -s conftest.err'
5392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); }; } &&
5397 { ac_try
='test -s conftest$ac_exeext'
5398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402 (exit $ac_status); }; }; then
5403 eval "$as_ac_var=yes"
5405 echo "$as_me: failed program was:" >&5
5406 sed 's/^/| /' conftest.
$ac_ext >&5
5408 eval "$as_ac_var=no"
5410 rm -f conftest.err conftest.
$ac_objext \
5411 conftest
$ac_exeext conftest.
$ac_ext
5413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5415 if test `eval echo '${'$as_ac_var'}'` = yes; then
5416 cat >>confdefs.h
<<_ACEOF
5417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5423 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5424 set dummy gmsgfmt
; ac_word
=$2
5425 echo "$as_me:$LINENO: checking for $ac_word" >&5
5426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5427 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5453 GMSGFMT
=$ac_cv_path_GMSGFMT
5455 if test -n "$GMSGFMT"; then
5456 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5457 echo "${ECHO_T}$GMSGFMT" >&6
5459 echo "$as_me:$LINENO: result: no" >&5
5460 echo "${ECHO_T}no" >&6
5463 # Extract the first word of "xgettext", so it can be a program name with args.
5464 set dummy xgettext
; ac_word
=$2
5465 echo "$as_me:$LINENO: checking for $ac_word" >&5
5466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5467 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5468 echo $ECHO_N "(cached) $ECHO_C" >&6
5472 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5475 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5476 for ac_dir
in $PATH; do
5477 test -z "$ac_dir" && ac_dir
=.
5478 if test -f $ac_dir/$ac_word; then
5479 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5480 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5486 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5490 XGETTEXT
="$ac_cv_path_XGETTEXT"
5491 if test -n "$XGETTEXT"; then
5492 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5493 echo "${ECHO_T}$XGETTEXT" >&6
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5499 cat >conftest.
$ac_ext <<_ACEOF
5502 cat confdefs.h
>>conftest.
$ac_ext
5503 cat >>conftest.
$ac_ext <<_ACEOF
5504 /* end confdefs.h. */
5509 extern int _nl_msg_cat_cntr;
5510 return _nl_msg_cat_cntr
5515 rm -f conftest.
$ac_objext conftest
$ac_exeext
5516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5517 (eval $ac_link) 2>conftest.er1
5519 grep -v '^ *+' conftest.er1
>conftest.err
5521 cat conftest.err
>&5
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); } &&
5524 { ac_try
='test -z "$ac_c_werror_flag"
5525 || test ! -s conftest.err'
5526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); }; } &&
5531 { ac_try
='test -s conftest$ac_exeext'
5532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); }; }; then
5540 echo "$as_me: failed program was:" >&5
5541 sed 's/^/| /' conftest.
$ac_ext >&5
5546 rm -f conftest.err conftest.
$ac_objext \
5547 conftest
$ac_exeext conftest.
$ac_ext
5557 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
5558 # Neither gettext nor catgets in included in the C library.
5559 # Fall back on GNU gettext library (assuming it is present).
5560 nls_cv_use_gnu_gettext
=yes
5564 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5565 INTLOBJS
="\$(GETTOBJS)"
5566 # Extract the first word of "msgfmt", so it can be a program name with args.
5567 set dummy msgfmt
; ac_word
=$2
5568 echo "$as_me:$LINENO: checking for $ac_word" >&5
5569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5570 if test "${ac_cv_path_MSGFMT+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5575 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5578 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5579 for ac_dir
in $PATH; do
5580 test -z "$ac_dir" && ac_dir
=.
5581 if test -f $ac_dir/$ac_word; then
5582 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5583 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5589 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5593 MSGFMT
="$ac_cv_path_MSGFMT"
5594 if test -n "$MSGFMT"; then
5595 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5596 echo "${ECHO_T}$MSGFMT" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5602 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5603 set dummy gmsgfmt
; ac_word
=$2
5604 echo "$as_me:$LINENO: checking for $ac_word" >&5
5605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5606 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_exec_ext
in '' $ac_executable_extensions; do
5620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5632 GMSGFMT
=$ac_cv_path_GMSGFMT
5634 if test -n "$GMSGFMT"; then
5635 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5636 echo "${ECHO_T}$GMSGFMT" >&6
5638 echo "$as_me:$LINENO: result: no" >&5
5639 echo "${ECHO_T}no" >&6
5642 # Extract the first word of "xgettext", so it can be a program name with args.
5643 set dummy xgettext
; ac_word
=$2
5644 echo "$as_me:$LINENO: checking for $ac_word" >&5
5645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5646 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5654 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5655 for ac_dir
in $PATH; do
5656 test -z "$ac_dir" && ac_dir
=.
5657 if test -f $ac_dir/$ac_word; then
5658 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5659 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5665 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5669 XGETTEXT
="$ac_cv_path_XGETTEXT"
5670 if test -n "$XGETTEXT"; then
5671 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5672 echo "${ECHO_T}$XGETTEXT" >&6
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5679 USE_INCLUDED_LIBINTL
=yes
5683 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5685 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5686 nls_cv_header_intl
=libintl.h
5687 nls_cv_header_libgt
=libgettext.h
5690 if test "$XGETTEXT" != ":"; then
5691 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5694 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5695 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5700 # We need to process the po/ directory.
5704 nls_cv_header_intl
=libintl.h
5705 nls_cv_header_libgt
=libgettext.h
5708 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5709 # because some of the sources are only built for this goal.
5710 if test "$PACKAGE" = gettext; then
5712 USE_INCLUDED_LIBINTL
=yes
5715 for lang
in $ALL_LINGUAS; do
5716 GMOFILES
="$GMOFILES $lang.gmo"
5717 POFILES
="$POFILES $lang.po"
5733 if test "x$CATOBJEXT" != "x"; then
5734 if test "x$ALL_LINGUAS" = "x"; then
5737 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5738 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5740 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5741 case "$ALL_LINGUAS" in
5742 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5745 LINGUAS
=$NEW_LINGUAS
5746 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5747 echo "${ECHO_T}$LINGUAS" >&6
5750 if test -n "$LINGUAS"; then
5751 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5755 if test $ac_cv_header_locale_h = yes; then
5756 INCLUDE_LOCALE_H
="#include <locale.h>"
5759 /* The system does not provide the header <locale.h>. Take care yourself. */"
5763 if test -f $srcdir/po2tbl.
sed.
in; then
5764 if test "$CATOBJEXT" = ".cat"; then
5765 if test "${ac_cv_header_linux_version_h+set}" = set; then
5766 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5767 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5768 if test "${ac_cv_header_linux_version_h+set}" = set; then
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
5771 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5772 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5774 # Is the header compilable?
5775 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5776 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5777 cat >conftest.
$ac_ext <<_ACEOF
5780 cat confdefs.h
>>conftest.
$ac_ext
5781 cat >>conftest.
$ac_ext <<_ACEOF
5782 /* end confdefs.h. */
5783 $ac_includes_default
5784 #include <linux/version.h>
5786 rm -f conftest.
$ac_objext
5787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5788 (eval $ac_compile) 2>conftest.er1
5790 grep -v '^ *+' conftest.er1
>conftest.err
5792 cat conftest.err
>&5
5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 (exit $ac_status); } &&
5795 { ac_try
='test -z "$ac_c_werror_flag"
5796 || test ! -s conftest.err'
5797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); }; } &&
5802 { ac_try
='test -s conftest.$ac_objext'
5803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807 (exit $ac_status); }; }; then
5808 ac_header_compiler
=yes
5810 echo "$as_me: failed program was:" >&5
5811 sed 's/^/| /' conftest.
$ac_ext >&5
5813 ac_header_compiler
=no
5815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5817 echo "${ECHO_T}$ac_header_compiler" >&6
5819 # Is the header present?
5820 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5821 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5822 cat >conftest.
$ac_ext <<_ACEOF
5825 cat confdefs.h
>>conftest.
$ac_ext
5826 cat >>conftest.
$ac_ext <<_ACEOF
5827 /* end confdefs.h. */
5828 #include <linux/version.h>
5830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5833 grep -v '^ *+' conftest.er1
>conftest.err
5835 cat conftest.err
>&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } >/dev
/null
; then
5838 if test -s conftest.err
; then
5839 ac_cpp_err
=$ac_c_preproc_warn_flag
5840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5847 if test -z "$ac_cpp_err"; then
5848 ac_header_preproc
=yes
5850 echo "$as_me: failed program was:" >&5
5851 sed 's/^/| /' conftest.
$ac_ext >&5
5853 ac_header_preproc
=no
5855 rm -f conftest.err conftest.
$ac_ext
5856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5857 echo "${ECHO_T}$ac_header_preproc" >&6
5859 # So? What about this header?
5860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5862 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5863 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5864 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5865 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5866 ac_header_preproc
=yes
5869 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5870 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5871 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5872 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5873 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5874 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5875 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5876 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5877 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5878 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5879 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5880 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5883 ## ------------------------------------------ ##
5884 ## Report this to the AC_PACKAGE_NAME lists. ##
5885 ## ------------------------------------------ ##
5888 sed "s/^/$as_me: WARNING: /" >&2
5891 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5892 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5893 if test "${ac_cv_header_linux_version_h+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 ac_cv_header_linux_version_h
=$ac_header_preproc
5898 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5899 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5902 if test $ac_cv_header_linux_version_h = yes; then
5910 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5912 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5913 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5916 if test "$PACKAGE" = "gettext"; then
5926 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5932 if test -f $srcdir/po
/POTFILES.
in; then
5933 test -d po || mkdir po
5934 if test "x$srcdir" != "x."; then
5935 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5936 posrcprefix
="$srcdir/"
5938 posrcprefix
="../$srcdir/"
5944 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5945 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5949 localedir
='${datadir}/locale'
5952 if test "x$POSUB" != x
; then
5954 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5955 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5956 # Look for .po and .gmo files in the source directory.
5959 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5960 # If there aren't any .gmo files the shell will give us the
5961 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5963 case "$cat" in *\
**)
5966 # The quadruple backslash is collapsed to a double backslash
5967 # by the backticks, then collapsed again by the double quotes,
5968 # leaving us with one backslash in the sed expression (right
5969 # before the dot that mustn't act as a wildcard).
5970 cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"`
5971 lang
=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"`
5972 # The user is allowed to set LINGUAS to a list of languages to
5973 # install catalogs for. If it's empty that means "all of them."
5974 if test "x$LINGUAS" = x
; then
5975 CATALOGS
="$CATALOGS $cat"
5976 XLINGUAS
="$XLINGUAS $lang"
5978 case "$LINGUAS" in *$lang*)
5979 CATALOGS
="$CATALOGS $cat"
5980 XLINGUAS
="$XLINGUAS $lang"
5986 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5987 echo "${ECHO_T}$LINGUAS" >&6
5989 CONFIG_ALL
="$CONFIG_ALL all-po"
5990 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
5991 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
5992 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
5997 cat >>confdefs.h
<<_ACEOF
5998 #define PACKAGE "$PACKAGE"
6003 debugdir
=${libdir}/debug
6006 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
6007 if test "${with_separate_debug_dir+set}" = set; then
6008 withval
="$with_separate_debug_dir"
6009 debugdir
="${withval}"
6013 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
6014 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6015 ac_define_dir
=`eval echo $debugdir`
6016 ac_define_dir
=`eval echo $ac_define_dir`
6018 cat >>confdefs.h
<<_ACEOF
6019 #define DEBUGDIR "$ac_define_dir"
6023 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
6027 subdirs
="$subdirs doc testsuite"
6030 .
$srcdir/configure.
host
6032 .
$srcdir/configure.tgt
6034 # Fetch the default architecture and default target vector from BFD.
6035 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
6037 # We only want the first architecture, so strip off the others if
6038 # there is more than one.
6039 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
6041 if test "x$targ_archs" != x
; then
6043 cat >>confdefs.h
<<_ACEOF
6044 #define DEFAULT_BFD_ARCH $targ_archs
6048 if test "x$targ_defvec" != x
; then
6050 cat >>confdefs.h
<<_ACEOF
6051 #define DEFAULT_BFD_VEC $targ_defvec
6056 test "$program_prefix" != NONE
&&
6057 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
6058 # Use a double $ so make ignores it.
6059 test "$program_suffix" != NONE
&&
6060 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
6061 # Double any \ or $. echo might interpret backslashes.
6062 # By default was `s,x,x', remove it if useless.
6063 cat <<\_ACEOF
>conftest.
sed
6064 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
6066 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
6070 # The CLI cannot be disabled yet, but may be in the future.
6073 # Check whether --enable-gdbcli or --disable-gdbcli was given.
6074 if test "${enable_gdbcli+set}" = set; then
6075 enableval
="$enable_gdbcli"
6080 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
6081 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
6082 { (exit 1); exit 1; }; } ;;
6084 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
6085 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
6086 { (exit 1); exit 1; }; } ;;
6091 if test x
"$enable_gdbcli" = xyes
; then
6092 if test -d $srcdir/cli
; then
6093 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
6094 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
6095 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
6096 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
6101 # Check whether --enable-gdbmi or --disable-gdbmi was given.
6102 if test "${enable_gdbmi+set}" = set; then
6103 enableval
="$enable_gdbmi"
6108 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
6109 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
6110 { (exit 1); exit 1; }; } ;;
6115 if test x
"$enable_gdbmi" = xyes
; then
6116 if test -d $srcdir/mi
; then
6117 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
6118 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
6119 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
6120 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
6125 # Check whether --enable-tui or --disable-tui was given.
6126 if test "${enable_tui+set}" = set; then
6127 enableval
="$enable_tui"
6132 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
6133 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
6134 { (exit 1); exit 1; }; } ;;
6141 # Check whether --enable-gdbtk or --disable-gdbtk was given.
6142 if test "${enable_gdbtk+set}" = set; then
6143 enableval
="$enable_gdbtk"
6148 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
6149 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
6150 { (exit 1); exit 1; }; } ;;
6153 if test -d $srcdir/gdbtk
; then
6159 # We unconditionally disable gdbtk tests on selected platforms.
6162 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
6163 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
6167 # Libunwind support.
6169 # Check whether --with-libunwind or --without-libunwind was given.
6170 if test "${with_libunwind+set}" = set; then
6171 withval
="$with_libunwind"
6172 case "${withval}" in
6173 yes) enable_libunwind
=yes ;;
6174 no
) enable_libunwind
=no
;;
6175 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
6176 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
6177 { (exit 1); exit 1; }; } ;;
6182 for ac_header
in libunwind.h
6184 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6186 echo "$as_me:$LINENO: checking for $ac_header" >&5
6187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6194 # Is the header compilable?
6195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6197 cat >conftest.
$ac_ext <<_ACEOF
6200 cat confdefs.h
>>conftest.
$ac_ext
6201 cat >>conftest.
$ac_ext <<_ACEOF
6202 /* end confdefs.h. */
6203 $ac_includes_default
6204 #include <$ac_header>
6206 rm -f conftest.
$ac_objext
6207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6208 (eval $ac_compile) 2>conftest.er1
6210 grep -v '^ *+' conftest.er1
>conftest.err
6212 cat conftest.err
>&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } &&
6215 { ac_try
='test -z "$ac_c_werror_flag"
6216 || test ! -s conftest.err'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; } &&
6222 { ac_try
='test -s conftest.$ac_objext'
6223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); }; }; then
6228 ac_header_compiler
=yes
6230 echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.
$ac_ext >&5
6233 ac_header_compiler
=no
6235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6237 echo "${ECHO_T}$ac_header_compiler" >&6
6239 # Is the header present?
6240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6242 cat >conftest.
$ac_ext <<_ACEOF
6245 cat confdefs.h
>>conftest.
$ac_ext
6246 cat >>conftest.
$ac_ext <<_ACEOF
6247 /* end confdefs.h. */
6248 #include <$ac_header>
6250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6251 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6253 grep -v '^ *+' conftest.er1
>conftest.err
6255 cat conftest.err
>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } >/dev
/null
; then
6258 if test -s conftest.err
; then
6259 ac_cpp_err
=$ac_c_preproc_warn_flag
6260 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6267 if test -z "$ac_cpp_err"; then
6268 ac_header_preproc
=yes
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6273 ac_header_preproc
=no
6275 rm -f conftest.err conftest.
$ac_ext
6276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6277 echo "${ECHO_T}$ac_header_preproc" >&6
6279 # So? What about this header?
6280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6286 ac_header_preproc
=yes
6289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6303 ## ------------------------------------------ ##
6304 ## Report this to the AC_PACKAGE_NAME lists. ##
6305 ## ------------------------------------------ ##
6308 sed "s/^/$as_me: WARNING: /" >&2
6311 echo "$as_me:$LINENO: checking for $ac_header" >&5
6312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 eval "$as_ac_Header=\$ac_header_preproc"
6318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6323 cat >>confdefs.h
<<_ACEOF
6324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6332 for ac_header
in libunwind-ia64.h
6334 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6336 echo "$as_me:$LINENO: checking for $ac_header" >&5
6337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6344 # Is the header compilable?
6345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6347 cat >conftest.
$ac_ext <<_ACEOF
6350 cat confdefs.h
>>conftest.
$ac_ext
6351 cat >>conftest.
$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6353 $ac_includes_default
6354 #include <$ac_header>
6356 rm -f conftest.
$ac_objext
6357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6358 (eval $ac_compile) 2>conftest.er1
6360 grep -v '^ *+' conftest.er1
>conftest.err
6362 cat conftest.err
>&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } &&
6365 { ac_try
='test -z "$ac_c_werror_flag"
6366 || test ! -s conftest.err'
6367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 (exit $ac_status); }; } &&
6372 { ac_try
='test -s conftest.$ac_objext'
6373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); }; }; then
6378 ac_header_compiler
=yes
6380 echo "$as_me: failed program was:" >&5
6381 sed 's/^/| /' conftest.
$ac_ext >&5
6383 ac_header_compiler
=no
6385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6387 echo "${ECHO_T}$ac_header_compiler" >&6
6389 # Is the header present?
6390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6392 cat >conftest.
$ac_ext <<_ACEOF
6395 cat confdefs.h
>>conftest.
$ac_ext
6396 cat >>conftest.
$ac_ext <<_ACEOF
6397 /* end confdefs.h. */
6398 #include <$ac_header>
6400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6403 grep -v '^ *+' conftest.er1
>conftest.err
6405 cat conftest.err
>&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); } >/dev
/null
; then
6408 if test -s conftest.err
; then
6409 ac_cpp_err
=$ac_c_preproc_warn_flag
6410 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6417 if test -z "$ac_cpp_err"; then
6418 ac_header_preproc
=yes
6420 echo "$as_me: failed program was:" >&5
6421 sed 's/^/| /' conftest.
$ac_ext >&5
6423 ac_header_preproc
=no
6425 rm -f conftest.err conftest.
$ac_ext
6426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6427 echo "${ECHO_T}$ac_header_preproc" >&6
6429 # So? What about this header?
6430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6436 ac_header_preproc
=yes
6439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6446 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6453 ## ------------------------------------------ ##
6454 ## Report this to the AC_PACKAGE_NAME lists. ##
6455 ## ------------------------------------------ ##
6458 sed "s/^/$as_me: WARNING: /" >&2
6461 echo "$as_me:$LINENO: checking for $ac_header" >&5
6462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 eval "$as_ac_Header=\$ac_header_preproc"
6468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6473 cat >>confdefs.h
<<_ACEOF
6474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6481 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
6482 enable_libunwind
=yes;
6487 if test x
"$enable_libunwind" = xyes
; then
6489 for ac_header
in libunwind.h
6491 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6493 echo "$as_me:$LINENO: checking for $ac_header" >&5
6494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6496 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6501 # Is the header compilable?
6502 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6503 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6504 cat >conftest.
$ac_ext <<_ACEOF
6507 cat confdefs.h
>>conftest.
$ac_ext
6508 cat >>conftest.
$ac_ext <<_ACEOF
6509 /* end confdefs.h. */
6510 $ac_includes_default
6511 #include <$ac_header>
6513 rm -f conftest.
$ac_objext
6514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6515 (eval $ac_compile) 2>conftest.er1
6517 grep -v '^ *+' conftest.er1
>conftest.err
6519 cat conftest.err
>&5
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); } &&
6522 { ac_try
='test -z "$ac_c_werror_flag"
6523 || test ! -s conftest.err'
6524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); }; } &&
6529 { ac_try
='test -s conftest.$ac_objext'
6530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); }; }; then
6535 ac_header_compiler
=yes
6537 echo "$as_me: failed program was:" >&5
6538 sed 's/^/| /' conftest.
$ac_ext >&5
6540 ac_header_compiler
=no
6542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6543 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6544 echo "${ECHO_T}$ac_header_compiler" >&6
6546 # Is the header present?
6547 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6549 cat >conftest.
$ac_ext <<_ACEOF
6552 cat confdefs.h
>>conftest.
$ac_ext
6553 cat >>conftest.
$ac_ext <<_ACEOF
6554 /* end confdefs.h. */
6555 #include <$ac_header>
6557 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6558 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6560 grep -v '^ *+' conftest.er1
>conftest.err
6562 cat conftest.err
>&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } >/dev
/null
; then
6565 if test -s conftest.err
; then
6566 ac_cpp_err
=$ac_c_preproc_warn_flag
6567 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6574 if test -z "$ac_cpp_err"; then
6575 ac_header_preproc
=yes
6577 echo "$as_me: failed program was:" >&5
6578 sed 's/^/| /' conftest.
$ac_ext >&5
6580 ac_header_preproc
=no
6582 rm -f conftest.err conftest.
$ac_ext
6583 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6584 echo "${ECHO_T}$ac_header_preproc" >&6
6586 # So? What about this header?
6587 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6589 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6590 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6592 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6593 ac_header_preproc
=yes
6596 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6597 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6598 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6599 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6600 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6601 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6602 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6603 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6606 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6607 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6610 ## ------------------------------------------ ##
6611 ## Report this to the AC_PACKAGE_NAME lists. ##
6612 ## ------------------------------------------ ##
6615 sed "s/^/$as_me: WARNING: /" >&2
6618 echo "$as_me:$LINENO: checking for $ac_header" >&5
6619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6621 echo $ECHO_N "(cached) $ECHO_C" >&6
6623 eval "$as_ac_Header=\$ac_header_preproc"
6625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6630 cat >>confdefs.h
<<_ACEOF
6631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6639 for ac_header
in libunwind-ia64.h
6641 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6643 echo "$as_me:$LINENO: checking for $ac_header" >&5
6644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6651 # Is the header compilable?
6652 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6654 cat >conftest.
$ac_ext <<_ACEOF
6657 cat confdefs.h
>>conftest.
$ac_ext
6658 cat >>conftest.
$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6660 $ac_includes_default
6661 #include <$ac_header>
6663 rm -f conftest.
$ac_objext
6664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6665 (eval $ac_compile) 2>conftest.er1
6667 grep -v '^ *+' conftest.er1
>conftest.err
6669 cat conftest.err
>&5
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); } &&
6672 { ac_try
='test -z "$ac_c_werror_flag"
6673 || test ! -s conftest.err'
6674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); }; } &&
6679 { ac_try
='test -s conftest.$ac_objext'
6680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); }; }; then
6685 ac_header_compiler
=yes
6687 echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.
$ac_ext >&5
6690 ac_header_compiler
=no
6692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6694 echo "${ECHO_T}$ac_header_compiler" >&6
6696 # Is the header present?
6697 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6698 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6699 cat >conftest.
$ac_ext <<_ACEOF
6702 cat confdefs.h
>>conftest.
$ac_ext
6703 cat >>conftest.
$ac_ext <<_ACEOF
6704 /* end confdefs.h. */
6705 #include <$ac_header>
6707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6708 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6710 grep -v '^ *+' conftest.er1
>conftest.err
6712 cat conftest.err
>&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } >/dev
/null
; then
6715 if test -s conftest.err
; then
6716 ac_cpp_err
=$ac_c_preproc_warn_flag
6717 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6724 if test -z "$ac_cpp_err"; then
6725 ac_header_preproc
=yes
6727 echo "$as_me: failed program was:" >&5
6728 sed 's/^/| /' conftest.
$ac_ext >&5
6730 ac_header_preproc
=no
6732 rm -f conftest.err conftest.
$ac_ext
6733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6734 echo "${ECHO_T}$ac_header_preproc" >&6
6736 # So? What about this header?
6737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6742 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6743 ac_header_preproc
=yes
6746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6750 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6751 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6752 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6753 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6756 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6757 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6760 ## ------------------------------------------ ##
6761 ## Report this to the AC_PACKAGE_NAME lists. ##
6762 ## ------------------------------------------ ##
6765 sed "s/^/$as_me: WARNING: /" >&2
6768 echo "$as_me:$LINENO: checking for $ac_header" >&5
6769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6771 echo $ECHO_N "(cached) $ECHO_C" >&6
6773 eval "$as_ac_Header=\$ac_header_preproc"
6775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6780 cat >>confdefs.h
<<_ACEOF
6781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6788 cat >>confdefs.h
<<\_ACEOF
6789 #define HAVE_LIBUNWIND 1
6792 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
6793 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
6794 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
6797 # Profiling support.
6798 # Check whether --enable-profiling or --disable-profiling was given.
6799 if test "${enable_profiling+set}" = set; then
6800 enableval
="$enable_profiling"
6805 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
6806 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
6807 { (exit 1); exit 1; }; } ;;
6815 for ac_func
in monstartup _mcleanup
6817 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6818 echo "$as_me:$LINENO: checking for $ac_func" >&5
6819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6820 if eval "test \"\${$as_ac_var+set}\" = set"; then
6821 echo $ECHO_N "(cached) $ECHO_C" >&6
6823 cat >conftest.
$ac_ext <<_ACEOF
6826 cat confdefs.h
>>conftest.
$ac_ext
6827 cat >>conftest.
$ac_ext <<_ACEOF
6828 /* end confdefs.h. */
6829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6831 #define $ac_func innocuous_$ac_func
6833 /* System header to define __stub macros and hopefully few prototypes,
6834 which can conflict with char $ac_func (); below.
6835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6836 <limits.h> exists even on freestanding compilers. */
6839 # include <limits.h>
6841 # include <assert.h>
6846 /* Override any gcc2 internal prototype to avoid an error. */
6851 /* We use char because int might match the return type of a gcc2
6852 builtin and then its argument prototype would still apply. */
6854 /* The GNU C library defines this for functions which it implements
6855 to always fail with ENOSYS. Some functions are actually named
6856 something starting with __ and the normal name is an alias. */
6857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6860 char (*f) () = $ac_func;
6869 return f != $ac_func;
6874 rm -f conftest.
$ac_objext conftest
$ac_exeext
6875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6876 (eval $ac_link) 2>conftest.er1
6878 grep -v '^ *+' conftest.er1
>conftest.err
6880 cat conftest.err
>&5
6881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); } &&
6883 { ac_try
='test -z "$ac_c_werror_flag"
6884 || test ! -s conftest.err'
6885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; } &&
6890 { ac_try
='test -s conftest$ac_exeext'
6891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); }; }; then
6896 eval "$as_ac_var=yes"
6898 echo "$as_me: failed program was:" >&5
6899 sed 's/^/| /' conftest.
$ac_ext >&5
6901 eval "$as_ac_var=no"
6903 rm -f conftest.err conftest.
$ac_objext \
6904 conftest
$ac_exeext conftest.
$ac_ext
6906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6908 if test `eval echo '${'$as_ac_var'}'` = yes; then
6909 cat >>confdefs.h
<<_ACEOF
6910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6916 echo "$as_me:$LINENO: checking for _etext" >&5
6917 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
6918 if test "${ac_cv_var__etext+set}" = set; then
6919 echo $ECHO_N "(cached) $ECHO_C" >&6
6921 cat >conftest.
$ac_ext <<_ACEOF
6924 cat confdefs.h
>>conftest.
$ac_ext
6925 cat >>conftest.
$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6938 rm -f conftest.
$ac_objext conftest
$ac_exeext
6939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6940 (eval $ac_link) 2>conftest.er1
6942 grep -v '^ *+' conftest.er1
>conftest.err
6944 cat conftest.err
>&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); } &&
6947 { ac_try
='test -z "$ac_c_werror_flag"
6948 || test ! -s conftest.err'
6949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; } &&
6954 { ac_try
='test -s conftest$ac_exeext'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; }; then
6960 ac_cv_var__etext
=yes
6962 echo "$as_me: failed program was:" >&5
6963 sed 's/^/| /' conftest.
$ac_ext >&5
6967 rm -f conftest.err conftest.
$ac_objext \
6968 conftest
$ac_exeext conftest.
$ac_ext
6970 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
6971 echo "${ECHO_T}$ac_cv_var__etext" >&6
6972 if test $ac_cv_var__etext = yes; then
6974 cat >>confdefs.h
<<\_ACEOF
6975 #define HAVE__ETEXT 1
6979 if test "$enable_profiling" = yes ; then
6980 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
6981 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
6982 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
6983 { (exit 1); exit 1; }; }
6986 OLD_CFLAGS
="$CFLAGS"
6987 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
6989 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
6990 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
6991 if test "${ac_cv_cc_supports_pg+set}" = set; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6
6994 cat >conftest.
$ac_ext <<_ACEOF
6997 cat confdefs.h
>>conftest.
$ac_ext
6998 cat >>conftest.
$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7009 rm -f conftest.
$ac_objext
7010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7011 (eval $ac_compile) 2>conftest.er1
7013 grep -v '^ *+' conftest.er1
>conftest.err
7015 cat conftest.err
>&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } &&
7018 { ac_try
='test -z "$ac_c_werror_flag"
7019 || test ! -s conftest.err'
7020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); }; } &&
7025 { ac_try
='test -s conftest.$ac_objext'
7026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); }; }; then
7031 ac_cv_cc_supports_pg
=yes
7033 echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.
$ac_ext >&5
7036 ac_cv_cc_supports_pg
=no
7038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7040 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
7041 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
7043 if test $ac_cv_cc_supports_pg = no
; then
7044 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
7045 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
7046 { (exit 1); exit 1; }; }
7049 CFLAGS
="$OLD_CFLAGS"
7052 # --------------------- #
7053 # Checks for programs. #
7054 # --------------------- #
7056 for ac_prog
in gawk mawk nawk
awk
7058 # Extract the first word of "$ac_prog", so it can be a program name with args.
7059 set dummy
$ac_prog; ac_word
=$2
7060 echo "$as_me:$LINENO: checking for $ac_word" >&5
7061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7062 if test "${ac_cv_prog_AWK+set}" = set; then
7063 echo $ECHO_N "(cached) $ECHO_C" >&6
7065 if test -n "$AWK"; then
7066 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
7068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7072 test -z "$as_dir" && as_dir
=.
7073 for ac_exec_ext
in '' $ac_executable_extensions; do
7074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7075 ac_cv_prog_AWK
="$ac_prog"
7076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7085 if test -n "$AWK"; then
7086 echo "$as_me:$LINENO: result: $AWK" >&5
7087 echo "${ECHO_T}$AWK" >&6
7089 echo "$as_me:$LINENO: result: no" >&5
7090 echo "${ECHO_T}no" >&6
7093 test -n "$AWK" && break
7096 # Find a good install program. We prefer a C program (faster),
7097 # so one script is as good as another. But avoid the broken or
7098 # incompatible versions:
7099 # SysV /etc/install, /usr/sbin/install
7100 # SunOS /usr/etc/install
7101 # IRIX /sbin/install
7103 # AmigaOS /C/install, which installs bootblocks on floppy discs
7104 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7105 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7106 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7107 # OS/2's system install, which has a completely different semantic
7108 # ./install, which can be erroneously created by make from ./install.sh.
7109 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7110 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7111 if test -z "$INSTALL"; then
7112 if test "${ac_cv_path_install+set}" = set; then
7113 echo $ECHO_N "(cached) $ECHO_C" >&6
7115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7119 test -z "$as_dir" && as_dir
=.
7120 # Account for people who put trailing slashes in PATH elements.
7122 .
/ | .
// |
/cC
/* | \
7123 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7124 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7127 # OSF1 and SCO ODT 3.0 have their own names for install.
7128 # Don't use installbsd from OSF since it installs stuff as root
7130 for ac_prog
in ginstall scoinst
install; do
7131 for ac_exec_ext
in '' $ac_executable_extensions; do
7132 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7133 if test $ac_prog = install &&
7134 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7135 # AIX install. It has an incompatible calling convention.
7137 elif test $ac_prog = install &&
7138 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7139 # program-specific install script used by HP pwplus--don't use.
7142 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7154 if test "${ac_cv_path_install+set}" = set; then
7155 INSTALL
=$ac_cv_path_install
7157 # As a last resort, use the slow shell script. We don't cache a
7158 # path for INSTALL within a source directory, because that will
7159 # break other packages using the cache if that directory is
7160 # removed, or if the path is relative.
7161 INSTALL
=$ac_install_sh
7164 echo "$as_me:$LINENO: result: $INSTALL" >&5
7165 echo "${ECHO_T}$INSTALL" >&6
7167 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7168 # It thinks the first close brace ends the variable substitution.
7169 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7171 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7173 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7175 echo "$as_me:$LINENO: checking whether ln -s works" >&5
7176 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7178 if test "$LN_S" = "ln -s"; then
7179 echo "$as_me:$LINENO: result: yes" >&5
7180 echo "${ECHO_T}yes" >&6
7182 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7183 echo "${ECHO_T}no, using $LN_S" >&6
7186 if test -n "$ac_tool_prefix"; then
7187 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7188 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7189 echo "$as_me:$LINENO: checking for $ac_word" >&5
7190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7191 if test "${ac_cv_prog_RANLIB+set}" = set; then
7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 if test -n "$RANLIB"; then
7195 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7201 test -z "$as_dir" && as_dir
=.
7202 for ac_exec_ext
in '' $ac_executable_extensions; do
7203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7204 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 RANLIB
=$ac_cv_prog_RANLIB
7214 if test -n "$RANLIB"; then
7215 echo "$as_me:$LINENO: result: $RANLIB" >&5
7216 echo "${ECHO_T}$RANLIB" >&6
7218 echo "$as_me:$LINENO: result: no" >&5
7219 echo "${ECHO_T}no" >&6
7223 if test -z "$ac_cv_prog_RANLIB"; then
7224 ac_ct_RANLIB
=$RANLIB
7225 # Extract the first word of "ranlib", so it can be a program name with args.
7226 set dummy ranlib
; ac_word
=$2
7227 echo "$as_me:$LINENO: checking for $ac_word" >&5
7228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7229 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7230 echo $ECHO_N "(cached) $ECHO_C" >&6
7232 if test -n "$ac_ct_RANLIB"; then
7233 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7239 test -z "$as_dir" && as_dir
=.
7240 for ac_exec_ext
in '' $ac_executable_extensions; do
7241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7242 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
7252 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7253 if test -n "$ac_ct_RANLIB"; then
7254 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7255 echo "${ECHO_T}$ac_ct_RANLIB" >&6
7257 echo "$as_me:$LINENO: result: no" >&5
7258 echo "${ECHO_T}no" >&6
7261 RANLIB
=$ac_ct_RANLIB
7263 RANLIB
="$ac_cv_prog_RANLIB"
7266 for ac_prog
in 'bison -y' byacc
7268 # Extract the first word of "$ac_prog", so it can be a program name with args.
7269 set dummy
$ac_prog; ac_word
=$2
7270 echo "$as_me:$LINENO: checking for $ac_word" >&5
7271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7272 if test "${ac_cv_prog_YACC+set}" = set; then
7273 echo $ECHO_N "(cached) $ECHO_C" >&6
7275 if test -n "$YACC"; then
7276 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
7278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7282 test -z "$as_dir" && as_dir
=.
7283 for ac_exec_ext
in '' $ac_executable_extensions; do
7284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7285 ac_cv_prog_YACC
="$ac_prog"
7286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7294 YACC
=$ac_cv_prog_YACC
7295 if test -n "$YACC"; then
7296 echo "$as_me:$LINENO: result: $YACC" >&5
7297 echo "${ECHO_T}$YACC" >&6
7299 echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6
7303 test -n "$YACC" && break
7305 test -n "$YACC" || YACC
="yacc"
7308 if test -n "$ac_tool_prefix"; then
7309 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7310 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7311 echo "$as_me:$LINENO: checking for $ac_word" >&5
7312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7313 if test "${ac_cv_prog_AR+set}" = set; then
7314 echo $ECHO_N "(cached) $ECHO_C" >&6
7316 if test -n "$AR"; then
7317 ac_cv_prog_AR
="$AR" # Let the user override the test.
7319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir
=.
7324 for ac_exec_ext
in '' $ac_executable_extensions; do
7325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 if test -n "$AR"; then
7337 echo "$as_me:$LINENO: result: $AR" >&5
7338 echo "${ECHO_T}$AR" >&6
7340 echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6
7345 if test -z "$ac_cv_prog_AR"; then
7347 # Extract the first word of "ar", so it can be a program name with args.
7348 set dummy
ar; ac_word
=$2
7349 echo "$as_me:$LINENO: checking for $ac_word" >&5
7350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7351 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 if test -n "$ac_ct_AR"; then
7355 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir
=.
7362 for ac_exec_ext
in '' $ac_executable_extensions; do
7363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_prog_ac_ct_AR
="ar"
7365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7373 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7374 if test -n "$ac_ct_AR"; then
7375 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7376 echo "${ECHO_T}$ac_ct_AR" >&6
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7387 if test -n "$ac_tool_prefix"; then
7388 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7389 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7390 echo "$as_me:$LINENO: checking for $ac_word" >&5
7391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7392 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7393 echo $ECHO_N "(cached) $ECHO_C" >&6
7395 if test -n "$DLLTOOL"; then
7396 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7402 test -z "$as_dir" && as_dir
=.
7403 for ac_exec_ext
in '' $ac_executable_extensions; do
7404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7405 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 DLLTOOL
=$ac_cv_prog_DLLTOOL
7415 if test -n "$DLLTOOL"; then
7416 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7417 echo "${ECHO_T}$DLLTOOL" >&6
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7424 if test -z "$ac_cv_prog_DLLTOOL"; then
7425 ac_ct_DLLTOOL
=$DLLTOOL
7426 # Extract the first word of "dlltool", so it can be a program name with args.
7427 set dummy dlltool
; ac_word
=$2
7428 echo "$as_me:$LINENO: checking for $ac_word" >&5
7429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7430 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 if test -n "$ac_ct_DLLTOOL"; then
7434 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7440 test -z "$as_dir" && as_dir
=.
7441 for ac_exec_ext
in '' $ac_executable_extensions; do
7442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7443 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7453 if test -n "$ac_ct_DLLTOOL"; then
7454 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7455 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7461 DLLTOOL
=$ac_ct_DLLTOOL
7463 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7466 if test -n "$ac_tool_prefix"; then
7467 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7468 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
7469 echo "$as_me:$LINENO: checking for $ac_word" >&5
7470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7471 if test "${ac_cv_prog_WINDRES+set}" = set; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6
7474 if test -n "$WINDRES"; then
7475 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
7477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7481 test -z "$as_dir" && as_dir
=.
7482 for ac_exec_ext
in '' $ac_executable_extensions; do
7483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7484 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
7485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7493 WINDRES
=$ac_cv_prog_WINDRES
7494 if test -n "$WINDRES"; then
7495 echo "$as_me:$LINENO: result: $WINDRES" >&5
7496 echo "${ECHO_T}$WINDRES" >&6
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7503 if test -z "$ac_cv_prog_WINDRES"; then
7504 ac_ct_WINDRES
=$WINDRES
7505 # Extract the first word of "windres", so it can be a program name with args.
7506 set dummy windres
; ac_word
=$2
7507 echo "$as_me:$LINENO: checking for $ac_word" >&5
7508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7509 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
7510 echo $ECHO_N "(cached) $ECHO_C" >&6
7512 if test -n "$ac_ct_WINDRES"; then
7513 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
7515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7519 test -z "$as_dir" && as_dir
=.
7520 for ac_exec_ext
in '' $ac_executable_extensions; do
7521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7522 ac_cv_prog_ac_ct_WINDRES
="windres"
7523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7531 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
7532 if test -n "$ac_ct_WINDRES"; then
7533 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
7534 echo "${ECHO_T}$ac_ct_WINDRES" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7540 WINDRES
=$ac_ct_WINDRES
7542 WINDRES
="$ac_cv_prog_WINDRES"
7546 # Needed for GNU/Hurd.
7547 if test -n "$ac_tool_prefix"; then
7548 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
7549 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
7550 echo "$as_me:$LINENO: checking for $ac_word" >&5
7551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7552 if test "${ac_cv_prog_MIG+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7555 if test -n "$MIG"; then
7556 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
7558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7562 test -z "$as_dir" && as_dir
=.
7563 for ac_exec_ext
in '' $ac_executable_extensions; do
7564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7565 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
7566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7575 if test -n "$MIG"; then
7576 echo "$as_me:$LINENO: result: $MIG" >&5
7577 echo "${ECHO_T}$MIG" >&6
7579 echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6
7584 if test -z "$ac_cv_prog_MIG"; then
7586 # Extract the first word of "mig", so it can be a program name with args.
7587 set dummy mig
; ac_word
=$2
7588 echo "$as_me:$LINENO: checking for $ac_word" >&5
7589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7590 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
7591 echo $ECHO_N "(cached) $ECHO_C" >&6
7593 if test -n "$ac_ct_MIG"; then
7594 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
7596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir
=.
7601 for ac_exec_ext
in '' $ac_executable_extensions; do
7602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_prog_ac_ct_MIG
="mig"
7604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
7613 if test -n "$ac_ct_MIG"; then
7614 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
7615 echo "${ECHO_T}$ac_ct_MIG" >&6
7617 echo "$as_me:$LINENO: result: no" >&5
7618 echo "${ECHO_T}no" >&6
7623 MIG
="$ac_cv_prog_MIG"
7627 # ---------------------- #
7628 # Checks for libraries. #
7629 # ---------------------- #
7631 # We might need to link with -lm; most simulators need it.
7633 echo "$as_me:$LINENO: checking for main in -lm" >&5
7634 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
7635 if test "${ac_cv_lib_m_main+set}" = set; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7638 ac_check_lib_save_LIBS
=$LIBS
7640 cat >conftest.
$ac_ext <<_ACEOF
7643 cat confdefs.h
>>conftest.
$ac_ext
7644 cat >>conftest.
$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7656 rm -f conftest.
$ac_objext conftest
$ac_exeext
7657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7658 (eval $ac_link) 2>conftest.er1
7660 grep -v '^ *+' conftest.er1
>conftest.err
7662 cat conftest.err
>&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); } &&
7665 { ac_try
='test -z "$ac_c_werror_flag"
7666 || test ! -s conftest.err'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; } &&
7672 { ac_try
='test -s conftest$ac_exeext'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; }; then
7678 ac_cv_lib_m_main
=yes
7680 echo "$as_me: failed program was:" >&5
7681 sed 's/^/| /' conftest.
$ac_ext >&5
7685 rm -f conftest.err conftest.
$ac_objext \
7686 conftest
$ac_exeext conftest.
$ac_ext
7687 LIBS
=$ac_check_lib_save_LIBS
7689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
7690 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
7691 if test $ac_cv_lib_m_main = yes; then
7692 cat >>confdefs.h
<<_ACEOF
7701 # We need to link with -lw to get `wctype' on Solaris before Solaris
7702 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
7703 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
7704 # is known to have this problem). Therefore we avoid libw if we can.
7705 echo "$as_me:$LINENO: checking for wctype" >&5
7706 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
7707 if test "${ac_cv_func_wctype+set}" = set; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6
7710 cat >conftest.
$ac_ext <<_ACEOF
7713 cat confdefs.h
>>conftest.
$ac_ext
7714 cat >>conftest.
$ac_ext <<_ACEOF
7715 /* end confdefs.h. */
7716 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
7717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7718 #define wctype innocuous_wctype
7720 /* System header to define __stub macros and hopefully few prototypes,
7721 which can conflict with char wctype (); below.
7722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7723 <limits.h> exists even on freestanding compilers. */
7726 # include <limits.h>
7728 # include <assert.h>
7733 /* Override any gcc2 internal prototype to avoid an error. */
7738 /* We use char because int might match the return type of a gcc2
7739 builtin and then its argument prototype would still apply. */
7741 /* The GNU C library defines this for functions which it implements
7742 to always fail with ENOSYS. Some functions are actually named
7743 something starting with __ and the normal name is an alias. */
7744 #if defined (__stub_wctype) || defined (__stub___wctype)
7747 char (*f) () = wctype;
7761 rm -f conftest.
$ac_objext conftest
$ac_exeext
7762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7763 (eval $ac_link) 2>conftest.er1
7765 grep -v '^ *+' conftest.er1
>conftest.err
7767 cat conftest.err
>&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); } &&
7770 { ac_try
='test -z "$ac_c_werror_flag"
7771 || test ! -s conftest.err'
7772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7776 (exit $ac_status); }; } &&
7777 { ac_try
='test -s conftest$ac_exeext'
7778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); }; }; then
7783 ac_cv_func_wctype
=yes
7785 echo "$as_me: failed program was:" >&5
7786 sed 's/^/| /' conftest.
$ac_ext >&5
7788 ac_cv_func_wctype
=no
7790 rm -f conftest.err conftest.
$ac_objext \
7791 conftest
$ac_exeext conftest.
$ac_ext
7793 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
7794 echo "${ECHO_T}$ac_cv_func_wctype" >&6
7795 if test $ac_cv_func_wctype = yes; then
7799 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
7800 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
7801 if test "${ac_cv_lib_w_wctype+set}" = set; then
7802 echo $ECHO_N "(cached) $ECHO_C" >&6
7804 ac_check_lib_save_LIBS
=$LIBS
7806 cat >conftest.
$ac_ext <<_ACEOF
7809 cat confdefs.h
>>conftest.
$ac_ext
7810 cat >>conftest.
$ac_ext <<_ACEOF
7811 /* end confdefs.h. */
7813 /* Override any gcc2 internal prototype to avoid an error. */
7817 /* We use char because int might match the return type of a gcc2
7818 builtin and then its argument prototype would still apply. */
7828 rm -f conftest.
$ac_objext conftest
$ac_exeext
7829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7830 (eval $ac_link) 2>conftest.er1
7832 grep -v '^ *+' conftest.er1
>conftest.err
7834 cat conftest.err
>&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); } &&
7837 { ac_try
='test -z "$ac_c_werror_flag"
7838 || test ! -s conftest.err'
7839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); }; } &&
7844 { ac_try
='test -s conftest$ac_exeext'
7845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); }; }; then
7850 ac_cv_lib_w_wctype
=yes
7852 echo "$as_me: failed program was:" >&5
7853 sed 's/^/| /' conftest.
$ac_ext >&5
7855 ac_cv_lib_w_wctype
=no
7857 rm -f conftest.err conftest.
$ac_objext \
7858 conftest
$ac_exeext conftest.
$ac_ext
7859 LIBS
=$ac_check_lib_save_LIBS
7861 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
7862 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
7863 if test $ac_cv_lib_w_wctype = yes; then
7864 cat >>confdefs.h
<<_ACEOF
7875 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
7876 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
7877 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
7878 if test "${ac_cv_search_gethostbyname+set}" = set; then
7879 echo $ECHO_N "(cached) $ECHO_C" >&6
7881 ac_func_search_save_LIBS
=$LIBS
7882 ac_cv_search_gethostbyname
=no
7883 cat >conftest.
$ac_ext <<_ACEOF
7886 cat confdefs.h
>>conftest.
$ac_ext
7887 cat >>conftest.
$ac_ext <<_ACEOF
7888 /* end confdefs.h. */
7890 /* Override any gcc2 internal prototype to avoid an error. */
7894 /* We use char because int might match the return type of a gcc2
7895 builtin and then its argument prototype would still apply. */
7896 char gethostbyname ();
7905 rm -f conftest.
$ac_objext conftest
$ac_exeext
7906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7907 (eval $ac_link) 2>conftest.er1
7909 grep -v '^ *+' conftest.er1
>conftest.err
7911 cat conftest.err
>&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); } &&
7914 { ac_try
='test -z "$ac_c_werror_flag"
7915 || test ! -s conftest.err'
7916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 (exit $ac_status); }; } &&
7921 { ac_try
='test -s conftest$ac_exeext'
7922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); }; }; then
7927 ac_cv_search_gethostbyname
="none required"
7929 echo "$as_me: failed program was:" >&5
7930 sed 's/^/| /' conftest.
$ac_ext >&5
7933 rm -f conftest.err conftest.
$ac_objext \
7934 conftest
$ac_exeext conftest.
$ac_ext
7935 if test "$ac_cv_search_gethostbyname" = no
; then
7936 for ac_lib
in nsl
; do
7937 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7938 cat >conftest.
$ac_ext <<_ACEOF
7941 cat confdefs.h
>>conftest.
$ac_ext
7942 cat >>conftest.
$ac_ext <<_ACEOF
7943 /* end confdefs.h. */
7945 /* Override any gcc2 internal prototype to avoid an error. */
7949 /* We use char because int might match the return type of a gcc2
7950 builtin and then its argument prototype would still apply. */
7951 char gethostbyname ();
7960 rm -f conftest.
$ac_objext conftest
$ac_exeext
7961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7962 (eval $ac_link) 2>conftest.er1
7964 grep -v '^ *+' conftest.er1
>conftest.err
7966 cat conftest.err
>&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); } &&
7969 { ac_try
='test -z "$ac_c_werror_flag"
7970 || test ! -s conftest.err'
7971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975 (exit $ac_status); }; } &&
7976 { ac_try
='test -s conftest$ac_exeext'
7977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); }; }; then
7982 ac_cv_search_gethostbyname
="-l$ac_lib"
7985 echo "$as_me: failed program was:" >&5
7986 sed 's/^/| /' conftest.
$ac_ext >&5
7989 rm -f conftest.err conftest.
$ac_objext \
7990 conftest
$ac_exeext conftest.
$ac_ext
7993 LIBS
=$ac_func_search_save_LIBS
7995 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
7996 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
7997 if test "$ac_cv_search_gethostbyname" != no
; then
7998 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
8003 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
8004 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
8005 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
8006 if test "${ac_cv_search_socketpair+set}" = set; then
8007 echo $ECHO_N "(cached) $ECHO_C" >&6
8009 ac_func_search_save_LIBS
=$LIBS
8010 ac_cv_search_socketpair
=no
8011 cat >conftest.
$ac_ext <<_ACEOF
8014 cat confdefs.h
>>conftest.
$ac_ext
8015 cat >>conftest.
$ac_ext <<_ACEOF
8016 /* end confdefs.h. */
8018 /* Override any gcc2 internal prototype to avoid an error. */
8022 /* We use char because int might match the return type of a gcc2
8023 builtin and then its argument prototype would still apply. */
8033 rm -f conftest.
$ac_objext conftest
$ac_exeext
8034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8035 (eval $ac_link) 2>conftest.er1
8037 grep -v '^ *+' conftest.er1
>conftest.err
8039 cat conftest.err
>&5
8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8041 (exit $ac_status); } &&
8042 { ac_try
='test -z "$ac_c_werror_flag"
8043 || test ! -s conftest.err'
8044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); }; } &&
8049 { ac_try
='test -s conftest$ac_exeext'
8050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); }; }; then
8055 ac_cv_search_socketpair
="none required"
8057 echo "$as_me: failed program was:" >&5
8058 sed 's/^/| /' conftest.
$ac_ext >&5
8061 rm -f conftest.err conftest.
$ac_objext \
8062 conftest
$ac_exeext conftest.
$ac_ext
8063 if test "$ac_cv_search_socketpair" = no
; then
8064 for ac_lib
in socket
; do
8065 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8066 cat >conftest.
$ac_ext <<_ACEOF
8069 cat confdefs.h
>>conftest.
$ac_ext
8070 cat >>conftest.
$ac_ext <<_ACEOF
8071 /* end confdefs.h. */
8073 /* Override any gcc2 internal prototype to avoid an error. */
8077 /* We use char because int might match the return type of a gcc2
8078 builtin and then its argument prototype would still apply. */
8088 rm -f conftest.
$ac_objext conftest
$ac_exeext
8089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8090 (eval $ac_link) 2>conftest.er1
8092 grep -v '^ *+' conftest.er1
>conftest.err
8094 cat conftest.err
>&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); } &&
8097 { ac_try
='test -z "$ac_c_werror_flag"
8098 || test ! -s conftest.err'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; } &&
8104 { ac_try
='test -s conftest$ac_exeext'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; }; then
8110 ac_cv_search_socketpair
="-l$ac_lib"
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
8121 LIBS
=$ac_func_search_save_LIBS
8123 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
8124 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
8125 if test "$ac_cv_search_socketpair" != no
; then
8126 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
8131 # For the TUI, we need enhanced curses functionality.
8133 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
8134 # curses library because the latter might not provide all the
8135 # functionality we need. However, this leads to problems on systems
8136 # where the linker searches /usr/local/lib, but the compiler doesn't
8137 # search /usr/local/include, if ncurses is installed in /usr/local. A
8138 # default installation of ncurses on alpha*-dec-osf* will lead to such
8140 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
8141 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
8142 if test "${ac_cv_search_waddstr+set}" = set; then
8143 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 ac_func_search_save_LIBS
=$LIBS
8146 ac_cv_search_waddstr
=no
8147 cat >conftest.
$ac_ext <<_ACEOF
8150 cat confdefs.h
>>conftest.
$ac_ext
8151 cat >>conftest.
$ac_ext <<_ACEOF
8152 /* end confdefs.h. */
8154 /* Override any gcc2 internal prototype to avoid an error. */
8158 /* We use char because int might match the return type of a gcc2
8159 builtin and then its argument prototype would still apply. */
8169 rm -f conftest.
$ac_objext conftest
$ac_exeext
8170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8171 (eval $ac_link) 2>conftest.er1
8173 grep -v '^ *+' conftest.er1
>conftest.err
8175 cat conftest.err
>&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); } &&
8178 { ac_try
='test -z "$ac_c_werror_flag"
8179 || test ! -s conftest.err'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); }; } &&
8185 { ac_try
='test -s conftest$ac_exeext'
8186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 (exit $ac_status); }; }; then
8191 ac_cv_search_waddstr
="none required"
8193 echo "$as_me: failed program was:" >&5
8194 sed 's/^/| /' conftest.
$ac_ext >&5
8197 rm -f conftest.err conftest.
$ac_objext \
8198 conftest
$ac_exeext conftest.
$ac_ext
8199 if test "$ac_cv_search_waddstr" = no
; then
8200 for ac_lib
in ncurses cursesX curses
; do
8201 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8202 cat >conftest.
$ac_ext <<_ACEOF
8205 cat confdefs.h
>>conftest.
$ac_ext
8206 cat >>conftest.
$ac_ext <<_ACEOF
8207 /* end confdefs.h. */
8209 /* Override any gcc2 internal prototype to avoid an error. */
8213 /* We use char because int might match the return type of a gcc2
8214 builtin and then its argument prototype would still apply. */
8224 rm -f conftest.
$ac_objext conftest
$ac_exeext
8225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8226 (eval $ac_link) 2>conftest.er1
8228 grep -v '^ *+' conftest.er1
>conftest.err
8230 cat conftest.err
>&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } &&
8233 { ac_try
='test -z "$ac_c_werror_flag"
8234 || test ! -s conftest.err'
8235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; } &&
8240 { ac_try
='test -s conftest$ac_exeext'
8241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; }; then
8246 ac_cv_search_waddstr
="-l$ac_lib"
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.
$ac_ext >&5
8253 rm -f conftest.err conftest.
$ac_objext \
8254 conftest
$ac_exeext conftest.
$ac_ext
8257 LIBS
=$ac_func_search_save_LIBS
8259 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
8260 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
8261 if test "$ac_cv_search_waddstr" != no
; then
8262 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
8267 # Since GDB uses Readline, we need termcap functionality. In many
8268 # cases this will be provided by the curses library, but some systems
8269 # have a seperate termcap library, or no curses library at all.
8273 if test -d $srcdir/libtermcap
; then
8274 LIBS
="../libtermcap/libtermcap.a $LIBS"
8275 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
8278 ac_cv_search_tgetent
="none required"
8282 # These are the libraries checked by Readline.
8283 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
8284 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
8285 if test "${ac_cv_search_tgetent+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8288 ac_func_search_save_LIBS
=$LIBS
8289 ac_cv_search_tgetent
=no
8290 cat >conftest.
$ac_ext <<_ACEOF
8293 cat confdefs.h
>>conftest.
$ac_ext
8294 cat >>conftest.
$ac_ext <<_ACEOF
8295 /* end confdefs.h. */
8297 /* Override any gcc2 internal prototype to avoid an error. */
8301 /* We use char because int might match the return type of a gcc2
8302 builtin and then its argument prototype would still apply. */
8312 rm -f conftest.
$ac_objext conftest
$ac_exeext
8313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8314 (eval $ac_link) 2>conftest.er1
8316 grep -v '^ *+' conftest.er1
>conftest.err
8318 cat conftest.err
>&5
8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 (exit $ac_status); } &&
8321 { ac_try
='test -z "$ac_c_werror_flag"
8322 || test ! -s conftest.err'
8323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); }; } &&
8328 { ac_try
='test -s conftest$ac_exeext'
8329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); }; }; then
8334 ac_cv_search_tgetent
="none required"
8336 echo "$as_me: failed program was:" >&5
8337 sed 's/^/| /' conftest.
$ac_ext >&5
8340 rm -f conftest.err conftest.
$ac_objext \
8341 conftest
$ac_exeext conftest.
$ac_ext
8342 if test "$ac_cv_search_tgetent" = no
; then
8343 for ac_lib
in termcap tinfo curses ncurses
; do
8344 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8345 cat >conftest.
$ac_ext <<_ACEOF
8348 cat confdefs.h
>>conftest.
$ac_ext
8349 cat >>conftest.
$ac_ext <<_ACEOF
8350 /* end confdefs.h. */
8352 /* Override any gcc2 internal prototype to avoid an error. */
8356 /* We use char because int might match the return type of a gcc2
8357 builtin and then its argument prototype would still apply. */
8367 rm -f conftest.
$ac_objext conftest
$ac_exeext
8368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8369 (eval $ac_link) 2>conftest.er1
8371 grep -v '^ *+' conftest.er1
>conftest.err
8373 cat conftest.err
>&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); } &&
8376 { ac_try
='test -z "$ac_c_werror_flag"
8377 || test ! -s conftest.err'
8378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; } &&
8383 { ac_try
='test -s conftest$ac_exeext'
8384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); }; }; then
8389 ac_cv_search_tgetent
="-l$ac_lib"
8392 echo "$as_me: failed program was:" >&5
8393 sed 's/^/| /' conftest.
$ac_ext >&5
8396 rm -f conftest.err conftest.
$ac_objext \
8397 conftest
$ac_exeext conftest.
$ac_ext
8400 LIBS
=$ac_func_search_save_LIBS
8402 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
8403 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
8404 if test "$ac_cv_search_tgetent" != no
; then
8405 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
8410 if test "$ac_cv_search_tgetent" = no
; then
8411 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
8412 echo "$as_me: error: no termcap library found" >&2;}
8413 { (exit 1); exit 1; }; }
8416 # ------------------------- #
8417 # Checks for header files. #
8418 # ------------------------- #
8426 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8427 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8428 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8429 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8431 echo $ECHO_N "(cached) $ECHO_C" >&6
8433 cat >conftest.
$ac_ext <<_ACEOF
8436 cat confdefs.h
>>conftest.
$ac_ext
8437 cat >>conftest.
$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8439 #include <sys/types.h>
8451 rm -f conftest.
$ac_objext
8452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8453 (eval $ac_compile) 2>conftest.er1
8455 grep -v '^ *+' conftest.er1
>conftest.err
8457 cat conftest.err
>&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } &&
8460 { ac_try
='test -z "$ac_c_werror_flag"
8461 || test ! -s conftest.err'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; } &&
8467 { ac_try
='test -s conftest.$ac_objext'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; }; then
8473 eval "$as_ac_Header=yes"
8475 echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.
$ac_ext >&5
8478 eval "$as_ac_Header=no"
8480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8485 cat >>confdefs.h
<<_ACEOF
8486 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8489 ac_header_dirent
=$ac_hdr; break
8493 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8494 if test $ac_header_dirent = dirent.h
; then
8495 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8496 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8497 if test "${ac_cv_search_opendir+set}" = set; then
8498 echo $ECHO_N "(cached) $ECHO_C" >&6
8500 ac_func_search_save_LIBS
=$LIBS
8501 ac_cv_search_opendir
=no
8502 cat >conftest.
$ac_ext <<_ACEOF
8505 cat confdefs.h
>>conftest.
$ac_ext
8506 cat >>conftest.
$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8509 /* Override any gcc2 internal prototype to avoid an error. */
8513 /* We use char because int might match the return type of a gcc2
8514 builtin and then its argument prototype would still apply. */
8524 rm -f conftest.
$ac_objext conftest
$ac_exeext
8525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8526 (eval $ac_link) 2>conftest.er1
8528 grep -v '^ *+' conftest.er1
>conftest.err
8530 cat conftest.err
>&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); } &&
8533 { ac_try
='test -z "$ac_c_werror_flag"
8534 || test ! -s conftest.err'
8535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); }; } &&
8540 { ac_try
='test -s conftest$ac_exeext'
8541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); }; }; then
8546 ac_cv_search_opendir
="none required"
8548 echo "$as_me: failed program was:" >&5
8549 sed 's/^/| /' conftest.
$ac_ext >&5
8552 rm -f conftest.err conftest.
$ac_objext \
8553 conftest
$ac_exeext conftest.
$ac_ext
8554 if test "$ac_cv_search_opendir" = no
; then
8555 for ac_lib
in dir
; do
8556 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8557 cat >conftest.
$ac_ext <<_ACEOF
8560 cat confdefs.h
>>conftest.
$ac_ext
8561 cat >>conftest.
$ac_ext <<_ACEOF
8562 /* end confdefs.h. */
8564 /* Override any gcc2 internal prototype to avoid an error. */
8568 /* We use char because int might match the return type of a gcc2
8569 builtin and then its argument prototype would still apply. */
8579 rm -f conftest.
$ac_objext conftest
$ac_exeext
8580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8581 (eval $ac_link) 2>conftest.er1
8583 grep -v '^ *+' conftest.er1
>conftest.err
8585 cat conftest.err
>&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } &&
8588 { ac_try
='test -z "$ac_c_werror_flag"
8589 || test ! -s conftest.err'
8590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); }; } &&
8595 { ac_try
='test -s conftest$ac_exeext'
8596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); }; }; then
8601 ac_cv_search_opendir
="-l$ac_lib"
8604 echo "$as_me: failed program was:" >&5
8605 sed 's/^/| /' conftest.
$ac_ext >&5
8608 rm -f conftest.err conftest.
$ac_objext \
8609 conftest
$ac_exeext conftest.
$ac_ext
8612 LIBS
=$ac_func_search_save_LIBS
8614 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8615 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8616 if test "$ac_cv_search_opendir" != no
; then
8617 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8622 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8623 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8624 if test "${ac_cv_search_opendir+set}" = set; then
8625 echo $ECHO_N "(cached) $ECHO_C" >&6
8627 ac_func_search_save_LIBS
=$LIBS
8628 ac_cv_search_opendir
=no
8629 cat >conftest.
$ac_ext <<_ACEOF
8632 cat confdefs.h
>>conftest.
$ac_ext
8633 cat >>conftest.
$ac_ext <<_ACEOF
8634 /* end confdefs.h. */
8636 /* Override any gcc2 internal prototype to avoid an error. */
8640 /* We use char because int might match the return type of a gcc2
8641 builtin and then its argument prototype would still apply. */
8651 rm -f conftest.
$ac_objext conftest
$ac_exeext
8652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8653 (eval $ac_link) 2>conftest.er1
8655 grep -v '^ *+' conftest.er1
>conftest.err
8657 cat conftest.err
>&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); } &&
8660 { ac_try
='test -z "$ac_c_werror_flag"
8661 || test ! -s conftest.err'
8662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); }; } &&
8667 { ac_try
='test -s conftest$ac_exeext'
8668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); }; }; then
8673 ac_cv_search_opendir
="none required"
8675 echo "$as_me: failed program was:" >&5
8676 sed 's/^/| /' conftest.
$ac_ext >&5
8679 rm -f conftest.err conftest.
$ac_objext \
8680 conftest
$ac_exeext conftest.
$ac_ext
8681 if test "$ac_cv_search_opendir" = no
; then
8683 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8684 cat >conftest.
$ac_ext <<_ACEOF
8687 cat confdefs.h
>>conftest.
$ac_ext
8688 cat >>conftest.
$ac_ext <<_ACEOF
8689 /* end confdefs.h. */
8691 /* Override any gcc2 internal prototype to avoid an error. */
8695 /* We use char because int might match the return type of a gcc2
8696 builtin and then its argument prototype would still apply. */
8706 rm -f conftest.
$ac_objext conftest
$ac_exeext
8707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8708 (eval $ac_link) 2>conftest.er1
8710 grep -v '^ *+' conftest.er1
>conftest.err
8712 cat conftest.err
>&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); } &&
8715 { ac_try
='test -z "$ac_c_werror_flag"
8716 || test ! -s conftest.err'
8717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); }; } &&
8722 { ac_try
='test -s conftest$ac_exeext'
8723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); }; }; then
8728 ac_cv_search_opendir
="-l$ac_lib"
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.
$ac_ext >&5
8735 rm -f conftest.err conftest.
$ac_objext \
8736 conftest
$ac_exeext conftest.
$ac_ext
8739 LIBS
=$ac_func_search_save_LIBS
8741 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8742 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8743 if test "$ac_cv_search_opendir" != no
; then
8744 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8750 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8751 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
8752 if test "${ac_cv_header_stat_broken+set}" = set; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 cat >conftest.
$ac_ext <<_ACEOF
8758 cat confdefs.h
>>conftest.
$ac_ext
8759 cat >>conftest.
$ac_ext <<_ACEOF
8760 /* end confdefs.h. */
8761 #include <sys/types.h>
8762 #include <sys/stat.h>
8764 #if defined(S_ISBLK) && defined(S_IFDIR)
8765 # if S_ISBLK (S_IFDIR)
8770 #if defined(S_ISBLK) && defined(S_IFCHR)
8771 # if S_ISBLK (S_IFCHR)
8776 #if defined(S_ISLNK) && defined(S_IFREG)
8777 # if S_ISLNK (S_IFREG)
8782 #if defined(S_ISSOCK) && defined(S_IFREG)
8783 # if S_ISSOCK (S_IFREG)
8789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8790 $EGREP "You lose" >/dev
/null
2>&1; then
8791 ac_cv_header_stat_broken
=yes
8793 ac_cv_header_stat_broken
=no
8798 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8799 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
8800 if test $ac_cv_header_stat_broken = yes; then
8802 cat >>confdefs.h
<<\_ACEOF
8803 #define STAT_MACROS_BROKEN 1
8808 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8809 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8810 if test "${ac_cv_header_stdc+set}" = set; then
8811 echo $ECHO_N "(cached) $ECHO_C" >&6
8813 cat >conftest.
$ac_ext <<_ACEOF
8816 cat confdefs.h
>>conftest.
$ac_ext
8817 cat >>conftest.
$ac_ext <<_ACEOF
8818 /* end confdefs.h. */
8832 rm -f conftest.
$ac_objext
8833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8834 (eval $ac_compile) 2>conftest.er1
8836 grep -v '^ *+' conftest.er1
>conftest.err
8838 cat conftest.err
>&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } &&
8841 { ac_try
='test -z "$ac_c_werror_flag"
8842 || test ! -s conftest.err'
8843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); }; } &&
8848 { ac_try
='test -s conftest.$ac_objext'
8849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); }; }; then
8854 ac_cv_header_stdc
=yes
8856 echo "$as_me: failed program was:" >&5
8857 sed 's/^/| /' conftest.
$ac_ext >&5
8859 ac_cv_header_stdc
=no
8861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8863 if test $ac_cv_header_stdc = yes; then
8864 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8865 cat >conftest.
$ac_ext <<_ACEOF
8868 cat confdefs.h
>>conftest.
$ac_ext
8869 cat >>conftest.
$ac_ext <<_ACEOF
8870 /* end confdefs.h. */
8874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8875 $EGREP "memchr" >/dev
/null
2>&1; then
8878 ac_cv_header_stdc
=no
8884 if test $ac_cv_header_stdc = yes; then
8885 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8886 cat >conftest.
$ac_ext <<_ACEOF
8889 cat confdefs.h
>>conftest.
$ac_ext
8890 cat >>conftest.
$ac_ext <<_ACEOF
8891 /* end confdefs.h. */
8895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8896 $EGREP "free" >/dev
/null
2>&1; then
8899 ac_cv_header_stdc
=no
8905 if test $ac_cv_header_stdc = yes; then
8906 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8907 if test "$cross_compiling" = yes; then
8910 cat >conftest.
$ac_ext <<_ACEOF
8913 cat confdefs.h
>>conftest.
$ac_ext
8914 cat >>conftest.
$ac_ext <<_ACEOF
8915 /* end confdefs.h. */
8917 #if ((' ' & 0x0FF) == 0x020)
8918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8921 # define ISLOWER(c) \
8922 (('a' <= (c) && (c) <= 'i') \
8923 || ('j' <= (c) && (c) <= 'r') \
8924 || ('s' <= (c) && (c) <= 'z'))
8925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8933 for (i = 0; i < 256; i++)
8934 if (XOR (islower (i), ISLOWER (i))
8935 || toupper (i) != TOUPPER (i))
8940 rm -f conftest
$ac_exeext
8941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8942 (eval $ac_link) 2>&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); }; }; then
8953 echo "$as_me: program exited with status $ac_status" >&5
8954 echo "$as_me: failed program was:" >&5
8955 sed 's/^/| /' conftest.
$ac_ext >&5
8958 ac_cv_header_stdc
=no
8960 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8964 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8965 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8966 if test $ac_cv_header_stdc = yes; then
8968 cat >>confdefs.h
<<\_ACEOF
8969 #define STDC_HEADERS 1
8975 for ac_header
in nlist.h
8977 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8979 echo "$as_me:$LINENO: checking for $ac_header" >&5
8980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8982 echo $ECHO_N "(cached) $ECHO_C" >&6
8984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8987 # Is the header compilable?
8988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8990 cat >conftest.
$ac_ext <<_ACEOF
8993 cat confdefs.h
>>conftest.
$ac_ext
8994 cat >>conftest.
$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8996 $ac_includes_default
8997 #include <$ac_header>
8999 rm -f conftest.
$ac_objext
9000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9001 (eval $ac_compile) 2>conftest.er1
9003 grep -v '^ *+' conftest.er1
>conftest.err
9005 cat conftest.err
>&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); } &&
9008 { ac_try
='test -z "$ac_c_werror_flag"
9009 || test ! -s conftest.err'
9010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); }; } &&
9015 { ac_try
='test -s conftest.$ac_objext'
9016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); }; }; then
9021 ac_header_compiler
=yes
9023 echo "$as_me: failed program was:" >&5
9024 sed 's/^/| /' conftest.
$ac_ext >&5
9026 ac_header_compiler
=no
9028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9030 echo "${ECHO_T}$ac_header_compiler" >&6
9032 # Is the header present?
9033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9035 cat >conftest.
$ac_ext <<_ACEOF
9038 cat confdefs.h
>>conftest.
$ac_ext
9039 cat >>conftest.
$ac_ext <<_ACEOF
9040 /* end confdefs.h. */
9041 #include <$ac_header>
9043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9044 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9046 grep -v '^ *+' conftest.er1
>conftest.err
9048 cat conftest.err
>&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); } >/dev
/null
; then
9051 if test -s conftest.err
; then
9052 ac_cpp_err
=$ac_c_preproc_warn_flag
9053 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9060 if test -z "$ac_cpp_err"; then
9061 ac_header_preproc
=yes
9063 echo "$as_me: failed program was:" >&5
9064 sed 's/^/| /' conftest.
$ac_ext >&5
9066 ac_header_preproc
=no
9068 rm -f conftest.err conftest.
$ac_ext
9069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9070 echo "${ECHO_T}$ac_header_preproc" >&6
9072 # So? What about this header?
9073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9079 ac_header_preproc
=yes
9082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9096 ## ------------------------------------------ ##
9097 ## Report this to the AC_PACKAGE_NAME lists. ##
9098 ## ------------------------------------------ ##
9101 sed "s/^/$as_me: WARNING: /" >&2
9104 echo "$as_me:$LINENO: checking for $ac_header" >&5
9105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9107 echo $ECHO_N "(cached) $ECHO_C" >&6
9109 eval "$as_ac_Header=\$ac_header_preproc"
9111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9116 cat >>confdefs.h
<<_ACEOF
9117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9125 for ac_header
in link.h
9127 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9128 echo "$as_me:$LINENO: checking for $ac_header" >&5
9129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9131 echo $ECHO_N "(cached) $ECHO_C" >&6
9133 cat >conftest.
$ac_ext <<_ACEOF
9136 cat confdefs.h
>>conftest.
$ac_ext
9137 cat >>conftest.
$ac_ext <<_ACEOF
9138 /* end confdefs.h. */
9139 #if HAVE_SYS_TYPES_H
9140 # include <sys/types.h>
9147 #include <$ac_header>
9149 rm -f conftest.
$ac_objext
9150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9151 (eval $ac_compile) 2>conftest.er1
9153 grep -v '^ *+' conftest.er1
>conftest.err
9155 cat conftest.err
>&5
9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); } &&
9158 { ac_try
='test -z "$ac_c_werror_flag"
9159 || test ! -s conftest.err'
9160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 (exit $ac_status); }; } &&
9165 { ac_try
='test -s conftest.$ac_objext'
9166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); }; }; then
9171 eval "$as_ac_Header=yes"
9173 echo "$as_me: failed program was:" >&5
9174 sed 's/^/| /' conftest.
$ac_ext >&5
9176 eval "$as_ac_Header=no"
9178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9183 cat >>confdefs.h
<<_ACEOF
9184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9192 for ac_header
in machine
/reg.h
9194 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9196 echo "$as_me:$LINENO: checking for $ac_header" >&5
9197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9199 echo $ECHO_N "(cached) $ECHO_C" >&6
9201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9204 # Is the header compilable?
9205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9207 cat >conftest.
$ac_ext <<_ACEOF
9210 cat confdefs.h
>>conftest.
$ac_ext
9211 cat >>conftest.
$ac_ext <<_ACEOF
9212 /* end confdefs.h. */
9213 $ac_includes_default
9214 #include <$ac_header>
9216 rm -f conftest.
$ac_objext
9217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9218 (eval $ac_compile) 2>conftest.er1
9220 grep -v '^ *+' conftest.er1
>conftest.err
9222 cat conftest.err
>&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); } &&
9225 { ac_try
='test -z "$ac_c_werror_flag"
9226 || test ! -s conftest.err'
9227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); }; } &&
9232 { ac_try
='test -s conftest.$ac_objext'
9233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); }; }; then
9238 ac_header_compiler
=yes
9240 echo "$as_me: failed program was:" >&5
9241 sed 's/^/| /' conftest.
$ac_ext >&5
9243 ac_header_compiler
=no
9245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9247 echo "${ECHO_T}$ac_header_compiler" >&6
9249 # Is the header present?
9250 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9251 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9252 cat >conftest.
$ac_ext <<_ACEOF
9255 cat confdefs.h
>>conftest.
$ac_ext
9256 cat >>conftest.
$ac_ext <<_ACEOF
9257 /* end confdefs.h. */
9258 #include <$ac_header>
9260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9261 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9263 grep -v '^ *+' conftest.er1
>conftest.err
9265 cat conftest.err
>&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); } >/dev
/null
; then
9268 if test -s conftest.err
; then
9269 ac_cpp_err
=$ac_c_preproc_warn_flag
9270 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9277 if test -z "$ac_cpp_err"; then
9278 ac_header_preproc
=yes
9280 echo "$as_me: failed program was:" >&5
9281 sed 's/^/| /' conftest.
$ac_ext >&5
9283 ac_header_preproc
=no
9285 rm -f conftest.err conftest.
$ac_ext
9286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9287 echo "${ECHO_T}$ac_header_preproc" >&6
9289 # So? What about this header?
9290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9293 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9295 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9296 ac_header_preproc
=yes
9299 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9300 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9301 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9302 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9303 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9304 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9305 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9306 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9309 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9310 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9313 ## ------------------------------------------ ##
9314 ## Report this to the AC_PACKAGE_NAME lists. ##
9315 ## ------------------------------------------ ##
9318 sed "s/^/$as_me: WARNING: /" >&2
9321 echo "$as_me:$LINENO: checking for $ac_header" >&5
9322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9324 echo $ECHO_N "(cached) $ECHO_C" >&6
9326 eval "$as_ac_Header=\$ac_header_preproc"
9328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9333 cat >>confdefs.h
<<_ACEOF
9334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9343 for ac_header
in poll.h sys
/poll.h
9345 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9347 echo "$as_me:$LINENO: checking for $ac_header" >&5
9348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9355 # Is the header compilable?
9356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9358 cat >conftest.
$ac_ext <<_ACEOF
9361 cat confdefs.h
>>conftest.
$ac_ext
9362 cat >>conftest.
$ac_ext <<_ACEOF
9363 /* end confdefs.h. */
9364 $ac_includes_default
9365 #include <$ac_header>
9367 rm -f conftest.
$ac_objext
9368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9369 (eval $ac_compile) 2>conftest.er1
9371 grep -v '^ *+' conftest.er1
>conftest.err
9373 cat conftest.err
>&5
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); } &&
9376 { ac_try
='test -z "$ac_c_werror_flag"
9377 || test ! -s conftest.err'
9378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); }; } &&
9383 { ac_try
='test -s conftest.$ac_objext'
9384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); }; }; then
9389 ac_header_compiler
=yes
9391 echo "$as_me: failed program was:" >&5
9392 sed 's/^/| /' conftest.
$ac_ext >&5
9394 ac_header_compiler
=no
9396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9398 echo "${ECHO_T}$ac_header_compiler" >&6
9400 # Is the header present?
9401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9403 cat >conftest.
$ac_ext <<_ACEOF
9406 cat confdefs.h
>>conftest.
$ac_ext
9407 cat >>conftest.
$ac_ext <<_ACEOF
9408 /* end confdefs.h. */
9409 #include <$ac_header>
9411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9412 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9414 grep -v '^ *+' conftest.er1
>conftest.err
9416 cat conftest.err
>&5
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418 (exit $ac_status); } >/dev
/null
; then
9419 if test -s conftest.err
; then
9420 ac_cpp_err
=$ac_c_preproc_warn_flag
9421 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9428 if test -z "$ac_cpp_err"; then
9429 ac_header_preproc
=yes
9431 echo "$as_me: failed program was:" >&5
9432 sed 's/^/| /' conftest.
$ac_ext >&5
9434 ac_header_preproc
=no
9436 rm -f conftest.err conftest.
$ac_ext
9437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9438 echo "${ECHO_T}$ac_header_preproc" >&6
9440 # So? What about this header?
9441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9447 ac_header_preproc
=yes
9450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9464 ## ------------------------------------------ ##
9465 ## Report this to the AC_PACKAGE_NAME lists. ##
9466 ## ------------------------------------------ ##
9469 sed "s/^/$as_me: WARNING: /" >&2
9472 echo "$as_me:$LINENO: checking for $ac_header" >&5
9473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9477 eval "$as_ac_Header=\$ac_header_preproc"
9479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9484 cat >>confdefs.h
<<_ACEOF
9485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9495 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
9497 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9499 echo "$as_me:$LINENO: checking for $ac_header" >&5
9500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9507 # Is the header compilable?
9508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9510 cat >conftest.
$ac_ext <<_ACEOF
9513 cat confdefs.h
>>conftest.
$ac_ext
9514 cat >>conftest.
$ac_ext <<_ACEOF
9515 /* end confdefs.h. */
9516 $ac_includes_default
9517 #include <$ac_header>
9519 rm -f conftest.
$ac_objext
9520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9521 (eval $ac_compile) 2>conftest.er1
9523 grep -v '^ *+' conftest.er1
>conftest.err
9525 cat conftest.err
>&5
9526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527 (exit $ac_status); } &&
9528 { ac_try
='test -z "$ac_c_werror_flag"
9529 || test ! -s conftest.err'
9530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); }; } &&
9535 { ac_try
='test -s conftest.$ac_objext'
9536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); }; }; then
9541 ac_header_compiler
=yes
9543 echo "$as_me: failed program was:" >&5
9544 sed 's/^/| /' conftest.
$ac_ext >&5
9546 ac_header_compiler
=no
9548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9550 echo "${ECHO_T}$ac_header_compiler" >&6
9552 # Is the header present?
9553 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9554 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9555 cat >conftest.
$ac_ext <<_ACEOF
9558 cat confdefs.h
>>conftest.
$ac_ext
9559 cat >>conftest.
$ac_ext <<_ACEOF
9560 /* end confdefs.h. */
9561 #include <$ac_header>
9563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9564 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9566 grep -v '^ *+' conftest.er1
>conftest.err
9568 cat conftest.err
>&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); } >/dev
/null
; then
9571 if test -s conftest.err
; then
9572 ac_cpp_err
=$ac_c_preproc_warn_flag
9573 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9580 if test -z "$ac_cpp_err"; then
9581 ac_header_preproc
=yes
9583 echo "$as_me: failed program was:" >&5
9584 sed 's/^/| /' conftest.
$ac_ext >&5
9586 ac_header_preproc
=no
9588 rm -f conftest.err conftest.
$ac_ext
9589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9590 echo "${ECHO_T}$ac_header_preproc" >&6
9592 # So? What about this header?
9593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9595 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9596 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9598 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9599 ac_header_preproc
=yes
9602 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9604 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9605 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9606 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9607 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9608 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9609 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9612 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9613 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9616 ## ------------------------------------------ ##
9617 ## Report this to the AC_PACKAGE_NAME lists. ##
9618 ## ------------------------------------------ ##
9621 sed "s/^/$as_me: WARNING: /" >&2
9624 echo "$as_me:$LINENO: checking for $ac_header" >&5
9625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9627 echo $ECHO_N "(cached) $ECHO_C" >&6
9629 eval "$as_ac_Header=\$ac_header_preproc"
9631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9636 cat >>confdefs.h
<<_ACEOF
9637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9645 for ac_header
in stddef.h
9647 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9649 echo "$as_me:$LINENO: checking for $ac_header" >&5
9650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9652 echo $ECHO_N "(cached) $ECHO_C" >&6
9654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9657 # Is the header compilable?
9658 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9660 cat >conftest.
$ac_ext <<_ACEOF
9663 cat confdefs.h
>>conftest.
$ac_ext
9664 cat >>conftest.
$ac_ext <<_ACEOF
9665 /* end confdefs.h. */
9666 $ac_includes_default
9667 #include <$ac_header>
9669 rm -f conftest.
$ac_objext
9670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9671 (eval $ac_compile) 2>conftest.er1
9673 grep -v '^ *+' conftest.er1
>conftest.err
9675 cat conftest.err
>&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); } &&
9678 { ac_try
='test -z "$ac_c_werror_flag"
9679 || test ! -s conftest.err'
9680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; } &&
9685 { ac_try
='test -s conftest.$ac_objext'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; }; then
9691 ac_header_compiler
=yes
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.
$ac_ext >&5
9696 ac_header_compiler
=no
9698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9700 echo "${ECHO_T}$ac_header_compiler" >&6
9702 # Is the header present?
9703 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9705 cat >conftest.
$ac_ext <<_ACEOF
9708 cat confdefs.h
>>conftest.
$ac_ext
9709 cat >>conftest.
$ac_ext <<_ACEOF
9710 /* end confdefs.h. */
9711 #include <$ac_header>
9713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9714 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9716 grep -v '^ *+' conftest.er1
>conftest.err
9718 cat conftest.err
>&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); } >/dev
/null
; then
9721 if test -s conftest.err
; then
9722 ac_cpp_err
=$ac_c_preproc_warn_flag
9723 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9730 if test -z "$ac_cpp_err"; then
9731 ac_header_preproc
=yes
9733 echo "$as_me: failed program was:" >&5
9734 sed 's/^/| /' conftest.
$ac_ext >&5
9736 ac_header_preproc
=no
9738 rm -f conftest.err conftest.
$ac_ext
9739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9740 echo "${ECHO_T}$ac_header_preproc" >&6
9742 # So? What about this header?
9743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9745 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9746 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9748 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9749 ac_header_preproc
=yes
9752 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9753 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9754 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9755 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9756 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9757 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9758 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9759 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9762 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9763 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9766 ## ------------------------------------------ ##
9767 ## Report this to the AC_PACKAGE_NAME lists. ##
9768 ## ------------------------------------------ ##
9771 sed "s/^/$as_me: WARNING: /" >&2
9774 echo "$as_me:$LINENO: checking for $ac_header" >&5
9775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9777 echo $ECHO_N "(cached) $ECHO_C" >&6
9779 eval "$as_ac_Header=\$ac_header_preproc"
9781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9786 cat >>confdefs.h
<<_ACEOF
9787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9795 for ac_header
in stdlib.h
9797 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9799 echo "$as_me:$LINENO: checking for $ac_header" >&5
9800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9807 # Is the header compilable?
9808 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9810 cat >conftest.
$ac_ext <<_ACEOF
9813 cat confdefs.h
>>conftest.
$ac_ext
9814 cat >>conftest.
$ac_ext <<_ACEOF
9815 /* end confdefs.h. */
9816 $ac_includes_default
9817 #include <$ac_header>
9819 rm -f conftest.
$ac_objext
9820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9821 (eval $ac_compile) 2>conftest.er1
9823 grep -v '^ *+' conftest.er1
>conftest.err
9825 cat conftest.err
>&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); } &&
9828 { ac_try
='test -z "$ac_c_werror_flag"
9829 || test ! -s conftest.err'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; } &&
9835 { ac_try
='test -s conftest.$ac_objext'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; }; then
9841 ac_header_compiler
=yes
9843 echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.
$ac_ext >&5
9846 ac_header_compiler
=no
9848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9850 echo "${ECHO_T}$ac_header_compiler" >&6
9852 # Is the header present?
9853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9855 cat >conftest.
$ac_ext <<_ACEOF
9858 cat confdefs.h
>>conftest.
$ac_ext
9859 cat >>conftest.
$ac_ext <<_ACEOF
9860 /* end confdefs.h. */
9861 #include <$ac_header>
9863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9864 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9866 grep -v '^ *+' conftest.er1
>conftest.err
9868 cat conftest.err
>&5
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } >/dev
/null
; then
9871 if test -s conftest.err
; then
9872 ac_cpp_err
=$ac_c_preproc_warn_flag
9873 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9880 if test -z "$ac_cpp_err"; then
9881 ac_header_preproc
=yes
9883 echo "$as_me: failed program was:" >&5
9884 sed 's/^/| /' conftest.
$ac_ext >&5
9886 ac_header_preproc
=no
9888 rm -f conftest.err conftest.
$ac_ext
9889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9890 echo "${ECHO_T}$ac_header_preproc" >&6
9892 # So? What about this header?
9893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9898 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9899 ac_header_preproc
=yes
9902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9906 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9907 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9908 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9909 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9911 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9912 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9913 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9916 ## ------------------------------------------ ##
9917 ## Report this to the AC_PACKAGE_NAME lists. ##
9918 ## ------------------------------------------ ##
9921 sed "s/^/$as_me: WARNING: /" >&2
9924 echo "$as_me:$LINENO: checking for $ac_header" >&5
9925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9927 echo $ECHO_N "(cached) $ECHO_C" >&6
9929 eval "$as_ac_Header=\$ac_header_preproc"
9931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9936 cat >>confdefs.h
<<_ACEOF
9937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9945 for ac_header
in stdint.h
9947 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9949 echo "$as_me:$LINENO: checking for $ac_header" >&5
9950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9952 echo $ECHO_N "(cached) $ECHO_C" >&6
9954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9957 # Is the header compilable?
9958 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9959 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9960 cat >conftest.
$ac_ext <<_ACEOF
9963 cat confdefs.h
>>conftest.
$ac_ext
9964 cat >>conftest.
$ac_ext <<_ACEOF
9965 /* end confdefs.h. */
9966 $ac_includes_default
9967 #include <$ac_header>
9969 rm -f conftest.
$ac_objext
9970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9971 (eval $ac_compile) 2>conftest.er1
9973 grep -v '^ *+' conftest.er1
>conftest.err
9975 cat conftest.err
>&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); } &&
9978 { ac_try
='test -z "$ac_c_werror_flag"
9979 || test ! -s conftest.err'
9980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); }; } &&
9985 { ac_try
='test -s conftest.$ac_objext'
9986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9990 (exit $ac_status); }; }; then
9991 ac_header_compiler
=yes
9993 echo "$as_me: failed program was:" >&5
9994 sed 's/^/| /' conftest.
$ac_ext >&5
9996 ac_header_compiler
=no
9998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10000 echo "${ECHO_T}$ac_header_compiler" >&6
10002 # Is the header present?
10003 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10004 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10005 cat >conftest.
$ac_ext <<_ACEOF
10008 cat confdefs.h
>>conftest.
$ac_ext
10009 cat >>conftest.
$ac_ext <<_ACEOF
10010 /* end confdefs.h. */
10011 #include <$ac_header>
10013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10014 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10016 grep -v '^ *+' conftest.er1
>conftest.err
10018 cat conftest.err
>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); } >/dev
/null
; then
10021 if test -s conftest.err
; then
10022 ac_cpp_err
=$ac_c_preproc_warn_flag
10023 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10030 if test -z "$ac_cpp_err"; then
10031 ac_header_preproc
=yes
10033 echo "$as_me: failed program was:" >&5
10034 sed 's/^/| /' conftest.
$ac_ext >&5
10036 ac_header_preproc
=no
10038 rm -f conftest.err conftest.
$ac_ext
10039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10040 echo "${ECHO_T}$ac_header_preproc" >&6
10042 # So? What about this header?
10043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10045 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10046 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10048 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10049 ac_header_preproc
=yes
10052 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10053 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10054 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10055 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10056 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10057 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10058 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10059 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10062 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10063 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10066 ## ------------------------------------------ ##
10067 ## Report this to the AC_PACKAGE_NAME lists. ##
10068 ## ------------------------------------------ ##
10071 sed "s/^/$as_me: WARNING: /" >&2
10074 echo "$as_me:$LINENO: checking for $ac_header" >&5
10075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10077 echo $ECHO_N "(cached) $ECHO_C" >&6
10079 eval "$as_ac_Header=\$ac_header_preproc"
10081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10086 cat >>confdefs.h
<<_ACEOF
10087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10097 for ac_header
in string.h memory.h
strings.h
10099 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10101 echo "$as_me:$LINENO: checking for $ac_header" >&5
10102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10104 echo $ECHO_N "(cached) $ECHO_C" >&6
10106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10109 # Is the header compilable?
10110 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10111 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10112 cat >conftest.
$ac_ext <<_ACEOF
10115 cat confdefs.h
>>conftest.
$ac_ext
10116 cat >>conftest.
$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10118 $ac_includes_default
10119 #include <$ac_header>
10121 rm -f conftest.
$ac_objext
10122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10123 (eval $ac_compile) 2>conftest.er1
10125 grep -v '^ *+' conftest.er1
>conftest.err
10127 cat conftest.err
>&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); } &&
10130 { ac_try
='test -z "$ac_c_werror_flag"
10131 || test ! -s conftest.err'
10132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10133 (eval $ac_try) 2>&5
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); }; } &&
10137 { ac_try
='test -s conftest.$ac_objext'
10138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10139 (eval $ac_try) 2>&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); }; }; then
10143 ac_header_compiler
=yes
10145 echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.
$ac_ext >&5
10148 ac_header_compiler
=no
10150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10152 echo "${ECHO_T}$ac_header_compiler" >&6
10154 # Is the header present?
10155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10157 cat >conftest.
$ac_ext <<_ACEOF
10160 cat confdefs.h
>>conftest.
$ac_ext
10161 cat >>conftest.
$ac_ext <<_ACEOF
10162 /* end confdefs.h. */
10163 #include <$ac_header>
10165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10166 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10168 grep -v '^ *+' conftest.er1
>conftest.err
10170 cat conftest.err
>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } >/dev
/null
; then
10173 if test -s conftest.err
; then
10174 ac_cpp_err
=$ac_c_preproc_warn_flag
10175 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10182 if test -z "$ac_cpp_err"; then
10183 ac_header_preproc
=yes
10185 echo "$as_me: failed program was:" >&5
10186 sed 's/^/| /' conftest.
$ac_ext >&5
10188 ac_header_preproc
=no
10190 rm -f conftest.err conftest.
$ac_ext
10191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10192 echo "${ECHO_T}$ac_header_preproc" >&6
10194 # So? What about this header?
10195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10200 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10201 ac_header_preproc
=yes
10204 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10205 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10206 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10207 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10208 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10209 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10210 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10211 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10214 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10215 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10218 ## ------------------------------------------ ##
10219 ## Report this to the AC_PACKAGE_NAME lists. ##
10220 ## ------------------------------------------ ##
10223 sed "s/^/$as_me: WARNING: /" >&2
10226 echo "$as_me:$LINENO: checking for $ac_header" >&5
10227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10229 echo $ECHO_N "(cached) $ECHO_C" >&6
10231 eval "$as_ac_Header=\$ac_header_preproc"
10233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10238 cat >>confdefs.h
<<_ACEOF
10239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10247 for ac_header
in sys
/fault.h
10249 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10251 echo "$as_me:$LINENO: checking for $ac_header" >&5
10252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10259 # Is the header compilable?
10260 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10262 cat >conftest.
$ac_ext <<_ACEOF
10265 cat confdefs.h
>>conftest.
$ac_ext
10266 cat >>conftest.
$ac_ext <<_ACEOF
10267 /* end confdefs.h. */
10268 $ac_includes_default
10269 #include <$ac_header>
10271 rm -f conftest.
$ac_objext
10272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10273 (eval $ac_compile) 2>conftest.er1
10275 grep -v '^ *+' conftest.er1
>conftest.err
10277 cat conftest.err
>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); } &&
10280 { ac_try
='test -z "$ac_c_werror_flag"
10281 || test ! -s conftest.err'
10282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10283 (eval $ac_try) 2>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; } &&
10287 { ac_try
='test -s conftest.$ac_objext'
10288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10289 (eval $ac_try) 2>&5
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); }; }; then
10293 ac_header_compiler
=yes
10295 echo "$as_me: failed program was:" >&5
10296 sed 's/^/| /' conftest.
$ac_ext >&5
10298 ac_header_compiler
=no
10300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10302 echo "${ECHO_T}$ac_header_compiler" >&6
10304 # Is the header present?
10305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10307 cat >conftest.
$ac_ext <<_ACEOF
10310 cat confdefs.h
>>conftest.
$ac_ext
10311 cat >>conftest.
$ac_ext <<_ACEOF
10312 /* end confdefs.h. */
10313 #include <$ac_header>
10315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10316 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10318 grep -v '^ *+' conftest.er1
>conftest.err
10320 cat conftest.err
>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } >/dev
/null
; then
10323 if test -s conftest.err
; then
10324 ac_cpp_err
=$ac_c_preproc_warn_flag
10325 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10332 if test -z "$ac_cpp_err"; then
10333 ac_header_preproc
=yes
10335 echo "$as_me: failed program was:" >&5
10336 sed 's/^/| /' conftest.
$ac_ext >&5
10338 ac_header_preproc
=no
10340 rm -f conftest.err conftest.
$ac_ext
10341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10342 echo "${ECHO_T}$ac_header_preproc" >&6
10344 # So? What about this header?
10345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10350 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10351 ac_header_preproc
=yes
10354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10358 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10359 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10360 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10361 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10364 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10365 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10368 ## ------------------------------------------ ##
10369 ## Report this to the AC_PACKAGE_NAME lists. ##
10370 ## ------------------------------------------ ##
10373 sed "s/^/$as_me: WARNING: /" >&2
10376 echo "$as_me:$LINENO: checking for $ac_header" >&5
10377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10379 echo $ECHO_N "(cached) $ECHO_C" >&6
10381 eval "$as_ac_Header=\$ac_header_preproc"
10383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10388 cat >>confdefs.h
<<_ACEOF
10389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10397 for ac_header
in sys
/file.h
10399 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10401 echo "$as_me:$LINENO: checking for $ac_header" >&5
10402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10409 # Is the header compilable?
10410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10412 cat >conftest.
$ac_ext <<_ACEOF
10415 cat confdefs.h
>>conftest.
$ac_ext
10416 cat >>conftest.
$ac_ext <<_ACEOF
10417 /* end confdefs.h. */
10418 $ac_includes_default
10419 #include <$ac_header>
10421 rm -f conftest.
$ac_objext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10423 (eval $ac_compile) 2>conftest.er1
10425 grep -v '^ *+' conftest.er1
>conftest.err
10427 cat conftest.err
>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } &&
10430 { ac_try
='test -z "$ac_c_werror_flag"
10431 || test ! -s conftest.err'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try
='test -s conftest.$ac_objext'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10443 ac_header_compiler
=yes
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.
$ac_ext >&5
10448 ac_header_compiler
=no
10450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10452 echo "${ECHO_T}$ac_header_compiler" >&6
10454 # Is the header present?
10455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10457 cat >conftest.
$ac_ext <<_ACEOF
10460 cat confdefs.h
>>conftest.
$ac_ext
10461 cat >>conftest.
$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10463 #include <$ac_header>
10465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10468 grep -v '^ *+' conftest.er1
>conftest.err
10470 cat conftest.err
>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } >/dev
/null
; then
10473 if test -s conftest.err
; then
10474 ac_cpp_err
=$ac_c_preproc_warn_flag
10475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10482 if test -z "$ac_cpp_err"; then
10483 ac_header_preproc
=yes
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.
$ac_ext >&5
10488 ac_header_preproc
=no
10490 rm -f conftest.err conftest.
$ac_ext
10491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10492 echo "${ECHO_T}$ac_header_preproc" >&6
10494 # So? What about this header?
10495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10501 ac_header_preproc
=yes
10504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10518 ## ------------------------------------------ ##
10519 ## Report this to the AC_PACKAGE_NAME lists. ##
10520 ## ------------------------------------------ ##
10523 sed "s/^/$as_me: WARNING: /" >&2
10526 echo "$as_me:$LINENO: checking for $ac_header" >&5
10527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10531 eval "$as_ac_Header=\$ac_header_preproc"
10533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10538 cat >>confdefs.h
<<_ACEOF
10539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10547 for ac_header
in sys
/filio.h
10549 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10551 echo "$as_me:$LINENO: checking for $ac_header" >&5
10552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10554 echo $ECHO_N "(cached) $ECHO_C" >&6
10556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10559 # Is the header compilable?
10560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10562 cat >conftest.
$ac_ext <<_ACEOF
10565 cat confdefs.h
>>conftest.
$ac_ext
10566 cat >>conftest.
$ac_ext <<_ACEOF
10567 /* end confdefs.h. */
10568 $ac_includes_default
10569 #include <$ac_header>
10571 rm -f conftest.
$ac_objext
10572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10573 (eval $ac_compile) 2>conftest.er1
10575 grep -v '^ *+' conftest.er1
>conftest.err
10577 cat conftest.err
>&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); } &&
10580 { ac_try
='test -z "$ac_c_werror_flag"
10581 || test ! -s conftest.err'
10582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10583 (eval $ac_try) 2>&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); }; } &&
10587 { ac_try
='test -s conftest.$ac_objext'
10588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589 (eval $ac_try) 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; }; then
10593 ac_header_compiler
=yes
10595 echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.
$ac_ext >&5
10598 ac_header_compiler
=no
10600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10602 echo "${ECHO_T}$ac_header_compiler" >&6
10604 # Is the header present?
10605 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10606 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10607 cat >conftest.
$ac_ext <<_ACEOF
10610 cat confdefs.h
>>conftest.
$ac_ext
10611 cat >>conftest.
$ac_ext <<_ACEOF
10612 /* end confdefs.h. */
10613 #include <$ac_header>
10615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10618 grep -v '^ *+' conftest.er1
>conftest.err
10620 cat conftest.err
>&5
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); } >/dev
/null
; then
10623 if test -s conftest.err
; then
10624 ac_cpp_err
=$ac_c_preproc_warn_flag
10625 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10632 if test -z "$ac_cpp_err"; then
10633 ac_header_preproc
=yes
10635 echo "$as_me: failed program was:" >&5
10636 sed 's/^/| /' conftest.
$ac_ext >&5
10638 ac_header_preproc
=no
10640 rm -f conftest.err conftest.
$ac_ext
10641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10642 echo "${ECHO_T}$ac_header_preproc" >&6
10644 # So? What about this header?
10645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10647 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10648 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10649 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10650 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10651 ac_header_preproc
=yes
10654 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10655 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10656 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10657 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10658 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10659 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10660 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10661 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10662 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10663 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10664 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10668 ## ------------------------------------------ ##
10669 ## Report this to the AC_PACKAGE_NAME lists. ##
10670 ## ------------------------------------------ ##
10673 sed "s/^/$as_me: WARNING: /" >&2
10676 echo "$as_me:$LINENO: checking for $ac_header" >&5
10677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10679 echo $ECHO_N "(cached) $ECHO_C" >&6
10681 eval "$as_ac_Header=\$ac_header_preproc"
10683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10688 cat >>confdefs.h
<<_ACEOF
10689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10697 for ac_header
in sys
/ioctl.h
10699 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10701 echo "$as_me:$LINENO: checking for $ac_header" >&5
10702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10709 # Is the header compilable?
10710 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10711 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10712 cat >conftest.
$ac_ext <<_ACEOF
10715 cat confdefs.h
>>conftest.
$ac_ext
10716 cat >>conftest.
$ac_ext <<_ACEOF
10717 /* end confdefs.h. */
10718 $ac_includes_default
10719 #include <$ac_header>
10721 rm -f conftest.
$ac_objext
10722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10723 (eval $ac_compile) 2>conftest.er1
10725 grep -v '^ *+' conftest.er1
>conftest.err
10727 cat conftest.err
>&5
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); } &&
10730 { ac_try
='test -z "$ac_c_werror_flag"
10731 || test ! -s conftest.err'
10732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10733 (eval $ac_try) 2>&5
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); }; } &&
10737 { ac_try
='test -s conftest.$ac_objext'
10738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10739 (eval $ac_try) 2>&5
10741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10742 (exit $ac_status); }; }; then
10743 ac_header_compiler
=yes
10745 echo "$as_me: failed program was:" >&5
10746 sed 's/^/| /' conftest.
$ac_ext >&5
10748 ac_header_compiler
=no
10750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10751 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10752 echo "${ECHO_T}$ac_header_compiler" >&6
10754 # Is the header present?
10755 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10756 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10757 cat >conftest.
$ac_ext <<_ACEOF
10760 cat confdefs.h
>>conftest.
$ac_ext
10761 cat >>conftest.
$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 #include <$ac_header>
10765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10768 grep -v '^ *+' conftest.er1
>conftest.err
10770 cat conftest.err
>&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } >/dev
/null
; then
10773 if test -s conftest.err
; then
10774 ac_cpp_err
=$ac_c_preproc_warn_flag
10775 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10782 if test -z "$ac_cpp_err"; then
10783 ac_header_preproc
=yes
10785 echo "$as_me: failed program was:" >&5
10786 sed 's/^/| /' conftest.
$ac_ext >&5
10788 ac_header_preproc
=no
10790 rm -f conftest.err conftest.
$ac_ext
10791 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10792 echo "${ECHO_T}$ac_header_preproc" >&6
10794 # So? What about this header?
10795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10797 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10798 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10800 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10801 ac_header_preproc
=yes
10804 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10805 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10806 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10807 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10808 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10809 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10810 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10811 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10813 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10814 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10815 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10818 ## ------------------------------------------ ##
10819 ## Report this to the AC_PACKAGE_NAME lists. ##
10820 ## ------------------------------------------ ##
10823 sed "s/^/$as_me: WARNING: /" >&2
10826 echo "$as_me:$LINENO: checking for $ac_header" >&5
10827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 eval "$as_ac_Header=\$ac_header_preproc"
10833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10837 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10838 cat >>confdefs.h
<<_ACEOF
10839 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10847 for ac_header
in sys
/param.h
10849 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10851 echo "$as_me:$LINENO: checking for $ac_header" >&5
10852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10854 echo $ECHO_N "(cached) $ECHO_C" >&6
10856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10859 # Is the header compilable?
10860 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10861 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10862 cat >conftest.
$ac_ext <<_ACEOF
10865 cat confdefs.h
>>conftest.
$ac_ext
10866 cat >>conftest.
$ac_ext <<_ACEOF
10867 /* end confdefs.h. */
10868 $ac_includes_default
10869 #include <$ac_header>
10871 rm -f conftest.
$ac_objext
10872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10873 (eval $ac_compile) 2>conftest.er1
10875 grep -v '^ *+' conftest.er1
>conftest.err
10877 cat conftest.err
>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); } &&
10880 { ac_try
='test -z "$ac_c_werror_flag"
10881 || test ! -s conftest.err'
10882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10883 (eval $ac_try) 2>&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); }; } &&
10887 { ac_try
='test -s conftest.$ac_objext'
10888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10889 (eval $ac_try) 2>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); }; }; then
10893 ac_header_compiler
=yes
10895 echo "$as_me: failed program was:" >&5
10896 sed 's/^/| /' conftest.
$ac_ext >&5
10898 ac_header_compiler
=no
10900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10902 echo "${ECHO_T}$ac_header_compiler" >&6
10904 # Is the header present?
10905 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10907 cat >conftest.
$ac_ext <<_ACEOF
10910 cat confdefs.h
>>conftest.
$ac_ext
10911 cat >>conftest.
$ac_ext <<_ACEOF
10912 /* end confdefs.h. */
10913 #include <$ac_header>
10915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10916 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10918 grep -v '^ *+' conftest.er1
>conftest.err
10920 cat conftest.err
>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); } >/dev
/null
; then
10923 if test -s conftest.err
; then
10924 ac_cpp_err
=$ac_c_preproc_warn_flag
10925 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10932 if test -z "$ac_cpp_err"; then
10933 ac_header_preproc
=yes
10935 echo "$as_me: failed program was:" >&5
10936 sed 's/^/| /' conftest.
$ac_ext >&5
10938 ac_header_preproc
=no
10940 rm -f conftest.err conftest.
$ac_ext
10941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10942 echo "${ECHO_T}$ac_header_preproc" >&6
10944 # So? What about this header?
10945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10947 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10948 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10950 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10951 ac_header_preproc
=yes
10954 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10956 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10957 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10958 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10959 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10960 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10961 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10963 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10964 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10965 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10968 ## ------------------------------------------ ##
10969 ## Report this to the AC_PACKAGE_NAME lists. ##
10970 ## ------------------------------------------ ##
10973 sed "s/^/$as_me: WARNING: /" >&2
10976 echo "$as_me:$LINENO: checking for $ac_header" >&5
10977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6
10981 eval "$as_ac_Header=\$ac_header_preproc"
10983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10988 cat >>confdefs.h
<<_ACEOF
10989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10997 for ac_header
in sys
/proc.h
10999 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11000 echo "$as_me:$LINENO: checking for $ac_header" >&5
11001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11003 echo $ECHO_N "(cached) $ECHO_C" >&6
11005 cat >conftest.
$ac_ext <<_ACEOF
11008 cat confdefs.h
>>conftest.
$ac_ext
11009 cat >>conftest.
$ac_ext <<_ACEOF
11010 /* end confdefs.h. */
11011 #if HAVE_SYS_PARAM_H
11012 # include <sys/param.h>
11016 #include <$ac_header>
11018 rm -f conftest.
$ac_objext
11019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11020 (eval $ac_compile) 2>conftest.er1
11022 grep -v '^ *+' conftest.er1
>conftest.err
11024 cat conftest.err
>&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); } &&
11027 { ac_try
='test -z "$ac_c_werror_flag"
11028 || test ! -s conftest.err'
11029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11030 (eval $ac_try) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }; } &&
11034 { ac_try
='test -s conftest.$ac_objext'
11035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11036 (eval $ac_try) 2>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); }; }; then
11040 eval "$as_ac_Header=yes"
11042 echo "$as_me: failed program was:" >&5
11043 sed 's/^/| /' conftest.
$ac_ext >&5
11045 eval "$as_ac_Header=no"
11047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11051 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11052 cat >>confdefs.h
<<_ACEOF
11053 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11061 for ac_header
in sys
/procfs.h
11063 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11065 echo "$as_me:$LINENO: checking for $ac_header" >&5
11066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11068 echo $ECHO_N "(cached) $ECHO_C" >&6
11070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11073 # Is the header compilable?
11074 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11075 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11076 cat >conftest.
$ac_ext <<_ACEOF
11079 cat confdefs.h
>>conftest.
$ac_ext
11080 cat >>conftest.
$ac_ext <<_ACEOF
11081 /* end confdefs.h. */
11082 $ac_includes_default
11083 #include <$ac_header>
11085 rm -f conftest.
$ac_objext
11086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11087 (eval $ac_compile) 2>conftest.er1
11089 grep -v '^ *+' conftest.er1
>conftest.err
11091 cat conftest.err
>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); } &&
11094 { ac_try
='test -z "$ac_c_werror_flag"
11095 || test ! -s conftest.err'
11096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11097 (eval $ac_try) 2>&5
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }; } &&
11101 { ac_try
='test -s conftest.$ac_objext'
11102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11103 (eval $ac_try) 2>&5
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); }; }; then
11107 ac_header_compiler
=yes
11109 echo "$as_me: failed program was:" >&5
11110 sed 's/^/| /' conftest.
$ac_ext >&5
11112 ac_header_compiler
=no
11114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11116 echo "${ECHO_T}$ac_header_compiler" >&6
11118 # Is the header present?
11119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11121 cat >conftest.
$ac_ext <<_ACEOF
11124 cat confdefs.h
>>conftest.
$ac_ext
11125 cat >>conftest.
$ac_ext <<_ACEOF
11126 /* end confdefs.h. */
11127 #include <$ac_header>
11129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11132 grep -v '^ *+' conftest.er1
>conftest.err
11134 cat conftest.err
>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } >/dev
/null
; then
11137 if test -s conftest.err
; then
11138 ac_cpp_err
=$ac_c_preproc_warn_flag
11139 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11146 if test -z "$ac_cpp_err"; then
11147 ac_header_preproc
=yes
11149 echo "$as_me: failed program was:" >&5
11150 sed 's/^/| /' conftest.
$ac_ext >&5
11152 ac_header_preproc
=no
11154 rm -f conftest.err conftest.
$ac_ext
11155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11156 echo "${ECHO_T}$ac_header_preproc" >&6
11158 # So? What about this header?
11159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11165 ac_header_preproc
=yes
11168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11182 ## ------------------------------------------ ##
11183 ## Report this to the AC_PACKAGE_NAME lists. ##
11184 ## ------------------------------------------ ##
11187 sed "s/^/$as_me: WARNING: /" >&2
11190 echo "$as_me:$LINENO: checking for $ac_header" >&5
11191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11195 eval "$as_ac_Header=\$ac_header_preproc"
11197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11202 cat >>confdefs.h
<<_ACEOF
11203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11212 for ac_header
in sys
/ptrace.h ptrace.h
11214 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11216 echo "$as_me:$LINENO: checking for $ac_header" >&5
11217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11224 # Is the header compilable?
11225 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11226 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11227 cat >conftest.
$ac_ext <<_ACEOF
11230 cat confdefs.h
>>conftest.
$ac_ext
11231 cat >>conftest.
$ac_ext <<_ACEOF
11232 /* end confdefs.h. */
11233 $ac_includes_default
11234 #include <$ac_header>
11236 rm -f conftest.
$ac_objext
11237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11238 (eval $ac_compile) 2>conftest.er1
11240 grep -v '^ *+' conftest.er1
>conftest.err
11242 cat conftest.err
>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); } &&
11245 { ac_try
='test -z "$ac_c_werror_flag"
11246 || test ! -s conftest.err'
11247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11248 (eval $ac_try) 2>&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); }; } &&
11252 { ac_try
='test -s conftest.$ac_objext'
11253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11254 (eval $ac_try) 2>&5
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); }; }; then
11258 ac_header_compiler
=yes
11260 echo "$as_me: failed program was:" >&5
11261 sed 's/^/| /' conftest.
$ac_ext >&5
11263 ac_header_compiler
=no
11265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11267 echo "${ECHO_T}$ac_header_compiler" >&6
11269 # Is the header present?
11270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11272 cat >conftest.
$ac_ext <<_ACEOF
11275 cat confdefs.h
>>conftest.
$ac_ext
11276 cat >>conftest.
$ac_ext <<_ACEOF
11277 /* end confdefs.h. */
11278 #include <$ac_header>
11280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11281 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11283 grep -v '^ *+' conftest.er1
>conftest.err
11285 cat conftest.err
>&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } >/dev
/null
; then
11288 if test -s conftest.err
; then
11289 ac_cpp_err
=$ac_c_preproc_warn_flag
11290 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11297 if test -z "$ac_cpp_err"; then
11298 ac_header_preproc
=yes
11300 echo "$as_me: failed program was:" >&5
11301 sed 's/^/| /' conftest.
$ac_ext >&5
11303 ac_header_preproc
=no
11305 rm -f conftest.err conftest.
$ac_ext
11306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11307 echo "${ECHO_T}$ac_header_preproc" >&6
11309 # So? What about this header?
11310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11312 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11315 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11316 ac_header_preproc
=yes
11319 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11321 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11323 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11324 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11325 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11326 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11329 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11330 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11333 ## ------------------------------------------ ##
11334 ## Report this to the AC_PACKAGE_NAME lists. ##
11335 ## ------------------------------------------ ##
11338 sed "s/^/$as_me: WARNING: /" >&2
11341 echo "$as_me:$LINENO: checking for $ac_header" >&5
11342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11346 eval "$as_ac_Header=\$ac_header_preproc"
11348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11353 cat >>confdefs.h
<<_ACEOF
11354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11363 for ac_header
in sys
/reg.h sys
/debugreg.h
11365 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11367 echo "$as_me:$LINENO: checking for $ac_header" >&5
11368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11370 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11375 # Is the header compilable?
11376 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11377 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11378 cat >conftest.
$ac_ext <<_ACEOF
11381 cat confdefs.h
>>conftest.
$ac_ext
11382 cat >>conftest.
$ac_ext <<_ACEOF
11383 /* end confdefs.h. */
11384 $ac_includes_default
11385 #include <$ac_header>
11387 rm -f conftest.
$ac_objext
11388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11389 (eval $ac_compile) 2>conftest.er1
11391 grep -v '^ *+' conftest.er1
>conftest.err
11393 cat conftest.err
>&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); } &&
11396 { ac_try
='test -z "$ac_c_werror_flag"
11397 || test ! -s conftest.err'
11398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11399 (eval $ac_try) 2>&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; } &&
11403 { ac_try
='test -s conftest.$ac_objext'
11404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11405 (eval $ac_try) 2>&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); }; }; then
11409 ac_header_compiler
=yes
11411 echo "$as_me: failed program was:" >&5
11412 sed 's/^/| /' conftest.
$ac_ext >&5
11414 ac_header_compiler
=no
11416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11418 echo "${ECHO_T}$ac_header_compiler" >&6
11420 # Is the header present?
11421 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11423 cat >conftest.
$ac_ext <<_ACEOF
11426 cat confdefs.h
>>conftest.
$ac_ext
11427 cat >>conftest.
$ac_ext <<_ACEOF
11428 /* end confdefs.h. */
11429 #include <$ac_header>
11431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11432 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11434 grep -v '^ *+' conftest.er1
>conftest.err
11436 cat conftest.err
>&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); } >/dev
/null
; then
11439 if test -s conftest.err
; then
11440 ac_cpp_err
=$ac_c_preproc_warn_flag
11441 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11448 if test -z "$ac_cpp_err"; then
11449 ac_header_preproc
=yes
11451 echo "$as_me: failed program was:" >&5
11452 sed 's/^/| /' conftest.
$ac_ext >&5
11454 ac_header_preproc
=no
11456 rm -f conftest.err conftest.
$ac_ext
11457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11458 echo "${ECHO_T}$ac_header_preproc" >&6
11460 # So? What about this header?
11461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11467 ac_header_preproc
=yes
11470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11484 ## ------------------------------------------ ##
11485 ## Report this to the AC_PACKAGE_NAME lists. ##
11486 ## ------------------------------------------ ##
11489 sed "s/^/$as_me: WARNING: /" >&2
11492 echo "$as_me:$LINENO: checking for $ac_header" >&5
11493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 eval "$as_ac_Header=\$ac_header_preproc"
11499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11504 cat >>confdefs.h
<<_ACEOF
11505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11513 for ac_header
in sys
/select.h
11515 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11517 echo "$as_me:$LINENO: checking for $ac_header" >&5
11518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11520 echo $ECHO_N "(cached) $ECHO_C" >&6
11522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11525 # Is the header compilable?
11526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11528 cat >conftest.
$ac_ext <<_ACEOF
11531 cat confdefs.h
>>conftest.
$ac_ext
11532 cat >>conftest.
$ac_ext <<_ACEOF
11533 /* end confdefs.h. */
11534 $ac_includes_default
11535 #include <$ac_header>
11537 rm -f conftest.
$ac_objext
11538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11539 (eval $ac_compile) 2>conftest.er1
11541 grep -v '^ *+' conftest.er1
>conftest.err
11543 cat conftest.err
>&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } &&
11546 { ac_try
='test -z "$ac_c_werror_flag"
11547 || test ! -s conftest.err'
11548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11549 (eval $ac_try) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }; } &&
11553 { ac_try
='test -s conftest.$ac_objext'
11554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; }; then
11559 ac_header_compiler
=yes
11561 echo "$as_me: failed program was:" >&5
11562 sed 's/^/| /' conftest.
$ac_ext >&5
11564 ac_header_compiler
=no
11566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11568 echo "${ECHO_T}$ac_header_compiler" >&6
11570 # Is the header present?
11571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11573 cat >conftest.
$ac_ext <<_ACEOF
11576 cat confdefs.h
>>conftest.
$ac_ext
11577 cat >>conftest.
$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11579 #include <$ac_header>
11581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11582 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11584 grep -v '^ *+' conftest.er1
>conftest.err
11586 cat conftest.err
>&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); } >/dev
/null
; then
11589 if test -s conftest.err
; then
11590 ac_cpp_err
=$ac_c_preproc_warn_flag
11591 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11598 if test -z "$ac_cpp_err"; then
11599 ac_header_preproc
=yes
11601 echo "$as_me: failed program was:" >&5
11602 sed 's/^/| /' conftest.
$ac_ext >&5
11604 ac_header_preproc
=no
11606 rm -f conftest.err conftest.
$ac_ext
11607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11608 echo "${ECHO_T}$ac_header_preproc" >&6
11610 # So? What about this header?
11611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11616 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11617 ac_header_preproc
=yes
11620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11624 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11625 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11626 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11627 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11634 ## ------------------------------------------ ##
11635 ## Report this to the AC_PACKAGE_NAME lists. ##
11636 ## ------------------------------------------ ##
11639 sed "s/^/$as_me: WARNING: /" >&2
11642 echo "$as_me:$LINENO: checking for $ac_header" >&5
11643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11645 echo $ECHO_N "(cached) $ECHO_C" >&6
11647 eval "$as_ac_Header=\$ac_header_preproc"
11649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11654 cat >>confdefs.h
<<_ACEOF
11655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11663 for ac_header
in sys
/syscall.h
11665 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11667 echo "$as_me:$LINENO: checking for $ac_header" >&5
11668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11675 # Is the header compilable?
11676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11678 cat >conftest.
$ac_ext <<_ACEOF
11681 cat confdefs.h
>>conftest.
$ac_ext
11682 cat >>conftest.
$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11684 $ac_includes_default
11685 #include <$ac_header>
11687 rm -f conftest.
$ac_objext
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>conftest.er1
11691 grep -v '^ *+' conftest.er1
>conftest.err
11693 cat conftest.err
>&5
11694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695 (exit $ac_status); } &&
11696 { ac_try
='test -z "$ac_c_werror_flag"
11697 || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try
='test -s conftest.$ac_objext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11709 ac_header_compiler
=yes
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.
$ac_ext >&5
11714 ac_header_compiler
=no
11716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11718 echo "${ECHO_T}$ac_header_compiler" >&6
11720 # Is the header present?
11721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11723 cat >conftest.
$ac_ext <<_ACEOF
11726 cat confdefs.h
>>conftest.
$ac_ext
11727 cat >>conftest.
$ac_ext <<_ACEOF
11728 /* end confdefs.h. */
11729 #include <$ac_header>
11731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11732 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11734 grep -v '^ *+' conftest.er1
>conftest.err
11736 cat conftest.err
>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); } >/dev
/null
; then
11739 if test -s conftest.err
; then
11740 ac_cpp_err
=$ac_c_preproc_warn_flag
11741 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11748 if test -z "$ac_cpp_err"; then
11749 ac_header_preproc
=yes
11751 echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.
$ac_ext >&5
11754 ac_header_preproc
=no
11756 rm -f conftest.err conftest.
$ac_ext
11757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11758 echo "${ECHO_T}$ac_header_preproc" >&6
11760 # So? What about this header?
11761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11767 ac_header_preproc
=yes
11770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11784 ## ------------------------------------------ ##
11785 ## Report this to the AC_PACKAGE_NAME lists. ##
11786 ## ------------------------------------------ ##
11789 sed "s/^/$as_me: WARNING: /" >&2
11792 echo "$as_me:$LINENO: checking for $ac_header" >&5
11793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11795 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 eval "$as_ac_Header=\$ac_header_preproc"
11799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11804 cat >>confdefs.h
<<_ACEOF
11805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11813 for ac_header
in sys
/types.h
11815 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11817 echo "$as_me:$LINENO: checking for $ac_header" >&5
11818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11820 echo $ECHO_N "(cached) $ECHO_C" >&6
11822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11825 # Is the header compilable?
11826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11828 cat >conftest.
$ac_ext <<_ACEOF
11831 cat confdefs.h
>>conftest.
$ac_ext
11832 cat >>conftest.
$ac_ext <<_ACEOF
11833 /* end confdefs.h. */
11834 $ac_includes_default
11835 #include <$ac_header>
11837 rm -f conftest.
$ac_objext
11838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11839 (eval $ac_compile) 2>conftest.er1
11841 grep -v '^ *+' conftest.er1
>conftest.err
11843 cat conftest.err
>&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); } &&
11846 { ac_try
='test -z "$ac_c_werror_flag"
11847 || test ! -s conftest.err'
11848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11849 (eval $ac_try) 2>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }; } &&
11853 { ac_try
='test -s conftest.$ac_objext'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; }; then
11859 ac_header_compiler
=yes
11861 echo "$as_me: failed program was:" >&5
11862 sed 's/^/| /' conftest.
$ac_ext >&5
11864 ac_header_compiler
=no
11866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11868 echo "${ECHO_T}$ac_header_compiler" >&6
11870 # Is the header present?
11871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11873 cat >conftest.
$ac_ext <<_ACEOF
11876 cat confdefs.h
>>conftest.
$ac_ext
11877 cat >>conftest.
$ac_ext <<_ACEOF
11878 /* end confdefs.h. */
11879 #include <$ac_header>
11881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11882 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11884 grep -v '^ *+' conftest.er1
>conftest.err
11886 cat conftest.err
>&5
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); } >/dev
/null
; then
11889 if test -s conftest.err
; then
11890 ac_cpp_err
=$ac_c_preproc_warn_flag
11891 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11898 if test -z "$ac_cpp_err"; then
11899 ac_header_preproc
=yes
11901 echo "$as_me: failed program was:" >&5
11902 sed 's/^/| /' conftest.
$ac_ext >&5
11904 ac_header_preproc
=no
11906 rm -f conftest.err conftest.
$ac_ext
11907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11908 echo "${ECHO_T}$ac_header_preproc" >&6
11910 # So? What about this header?
11911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11917 ac_header_preproc
=yes
11920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11934 ## ------------------------------------------ ##
11935 ## Report this to the AC_PACKAGE_NAME lists. ##
11936 ## ------------------------------------------ ##
11939 sed "s/^/$as_me: WARNING: /" >&2
11942 echo "$as_me:$LINENO: checking for $ac_header" >&5
11943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11947 eval "$as_ac_Header=\$ac_header_preproc"
11949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11954 cat >>confdefs.h
<<_ACEOF
11955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11963 for ac_header
in sys
/user.h
11965 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11966 echo "$as_me:$LINENO: checking for $ac_header" >&5
11967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 cat >conftest.
$ac_ext <<_ACEOF
11974 cat confdefs.h
>>conftest.
$ac_ext
11975 cat >>conftest.
$ac_ext <<_ACEOF
11976 /* end confdefs.h. */
11977 #if HAVE_SYS_PARAM_H
11978 # include <sys/param.h>
11982 #include <$ac_header>
11984 rm -f conftest.
$ac_objext
11985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11986 (eval $ac_compile) 2>conftest.er1
11988 grep -v '^ *+' conftest.er1
>conftest.err
11990 cat conftest.err
>&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } &&
11993 { ac_try
='test -z "$ac_c_werror_flag"
11994 || test ! -s conftest.err'
11995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11996 (eval $ac_try) 2>&5
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); }; } &&
12000 { ac_try
='test -s conftest.$ac_objext'
12001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12002 (eval $ac_try) 2>&5
12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 (exit $ac_status); }; }; then
12006 eval "$as_ac_Header=yes"
12008 echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.
$ac_ext >&5
12011 eval "$as_ac_Header=no"
12013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12018 cat >>confdefs.h
<<_ACEOF
12019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12028 for ac_header
in sys
/wait.h
wait.h
12030 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12032 echo "$as_me:$LINENO: checking for $ac_header" >&5
12033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12040 # Is the header compilable?
12041 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12043 cat >conftest.
$ac_ext <<_ACEOF
12046 cat confdefs.h
>>conftest.
$ac_ext
12047 cat >>conftest.
$ac_ext <<_ACEOF
12048 /* end confdefs.h. */
12049 $ac_includes_default
12050 #include <$ac_header>
12052 rm -f conftest.
$ac_objext
12053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12054 (eval $ac_compile) 2>conftest.er1
12056 grep -v '^ *+' conftest.er1
>conftest.err
12058 cat conftest.err
>&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } &&
12061 { ac_try
='test -z "$ac_c_werror_flag"
12062 || test ! -s conftest.err'
12063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12064 (eval $ac_try) 2>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); }; } &&
12068 { ac_try
='test -s conftest.$ac_objext'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12074 ac_header_compiler
=yes
12076 echo "$as_me: failed program was:" >&5
12077 sed 's/^/| /' conftest.
$ac_ext >&5
12079 ac_header_compiler
=no
12081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12082 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12083 echo "${ECHO_T}$ac_header_compiler" >&6
12085 # Is the header present?
12086 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12088 cat >conftest.
$ac_ext <<_ACEOF
12091 cat confdefs.h
>>conftest.
$ac_ext
12092 cat >>conftest.
$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 #include <$ac_header>
12096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12097 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12099 grep -v '^ *+' conftest.er1
>conftest.err
12101 cat conftest.err
>&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); } >/dev
/null
; then
12104 if test -s conftest.err
; then
12105 ac_cpp_err
=$ac_c_preproc_warn_flag
12106 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12113 if test -z "$ac_cpp_err"; then
12114 ac_header_preproc
=yes
12116 echo "$as_me: failed program was:" >&5
12117 sed 's/^/| /' conftest.
$ac_ext >&5
12119 ac_header_preproc
=no
12121 rm -f conftest.err conftest.
$ac_ext
12122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12123 echo "${ECHO_T}$ac_header_preproc" >&6
12125 # So? What about this header?
12126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12128 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12129 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12131 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12132 ac_header_preproc
=yes
12135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12139 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12140 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12141 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12142 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12149 ## ------------------------------------------ ##
12150 ## Report this to the AC_PACKAGE_NAME lists. ##
12151 ## ------------------------------------------ ##
12154 sed "s/^/$as_me: WARNING: /" >&2
12157 echo "$as_me:$LINENO: checking for $ac_header" >&5
12158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12160 echo $ECHO_N "(cached) $ECHO_C" >&6
12162 eval "$as_ac_Header=\$ac_header_preproc"
12164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12169 cat >>confdefs.h
<<_ACEOF
12170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12180 for ac_header
in termios.h termio.h sgtty.h
12182 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12184 echo "$as_me:$LINENO: checking for $ac_header" >&5
12185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12187 echo $ECHO_N "(cached) $ECHO_C" >&6
12189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12192 # Is the header compilable?
12193 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12194 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12195 cat >conftest.
$ac_ext <<_ACEOF
12198 cat confdefs.h
>>conftest.
$ac_ext
12199 cat >>conftest.
$ac_ext <<_ACEOF
12200 /* end confdefs.h. */
12201 $ac_includes_default
12202 #include <$ac_header>
12204 rm -f conftest.
$ac_objext
12205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12206 (eval $ac_compile) 2>conftest.er1
12208 grep -v '^ *+' conftest.er1
>conftest.err
12210 cat conftest.err
>&5
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); } &&
12213 { ac_try
='test -z "$ac_c_werror_flag"
12214 || test ! -s conftest.err'
12215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12216 (eval $ac_try) 2>&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); }; } &&
12220 { ac_try
='test -s conftest.$ac_objext'
12221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12222 (eval $ac_try) 2>&5
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); }; }; then
12226 ac_header_compiler
=yes
12228 echo "$as_me: failed program was:" >&5
12229 sed 's/^/| /' conftest.
$ac_ext >&5
12231 ac_header_compiler
=no
12233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12235 echo "${ECHO_T}$ac_header_compiler" >&6
12237 # Is the header present?
12238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12240 cat >conftest.
$ac_ext <<_ACEOF
12243 cat confdefs.h
>>conftest.
$ac_ext
12244 cat >>conftest.
$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12246 #include <$ac_header>
12248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12251 grep -v '^ *+' conftest.er1
>conftest.err
12253 cat conftest.err
>&5
12254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255 (exit $ac_status); } >/dev
/null
; then
12256 if test -s conftest.err
; then
12257 ac_cpp_err
=$ac_c_preproc_warn_flag
12258 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12265 if test -z "$ac_cpp_err"; then
12266 ac_header_preproc
=yes
12268 echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.
$ac_ext >&5
12271 ac_header_preproc
=no
12273 rm -f conftest.err conftest.
$ac_ext
12274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12275 echo "${ECHO_T}$ac_header_preproc" >&6
12277 # So? What about this header?
12278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12284 ac_header_preproc
=yes
12287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12301 ## ------------------------------------------ ##
12302 ## Report this to the AC_PACKAGE_NAME lists. ##
12303 ## ------------------------------------------ ##
12306 sed "s/^/$as_me: WARNING: /" >&2
12309 echo "$as_me:$LINENO: checking for $ac_header" >&5
12310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12312 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 eval "$as_ac_Header=\$ac_header_preproc"
12316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12321 cat >>confdefs.h
<<_ACEOF
12322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12330 for ac_header
in unistd.h
12332 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12334 echo "$as_me:$LINENO: checking for $ac_header" >&5
12335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12337 echo $ECHO_N "(cached) $ECHO_C" >&6
12339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12342 # Is the header compilable?
12343 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12344 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12345 cat >conftest.
$ac_ext <<_ACEOF
12348 cat confdefs.h
>>conftest.
$ac_ext
12349 cat >>conftest.
$ac_ext <<_ACEOF
12350 /* end confdefs.h. */
12351 $ac_includes_default
12352 #include <$ac_header>
12354 rm -f conftest.
$ac_objext
12355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12356 (eval $ac_compile) 2>conftest.er1
12358 grep -v '^ *+' conftest.er1
>conftest.err
12360 cat conftest.err
>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } &&
12363 { ac_try
='test -z "$ac_c_werror_flag"
12364 || test ! -s conftest.err'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try
='test -s conftest.$ac_objext'
12371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372 (eval $ac_try) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; }; then
12376 ac_header_compiler
=yes
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.
$ac_ext >&5
12381 ac_header_compiler
=no
12383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12385 echo "${ECHO_T}$ac_header_compiler" >&6
12387 # Is the header present?
12388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12390 cat >conftest.
$ac_ext <<_ACEOF
12393 cat confdefs.h
>>conftest.
$ac_ext
12394 cat >>conftest.
$ac_ext <<_ACEOF
12395 /* end confdefs.h. */
12396 #include <$ac_header>
12398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12401 grep -v '^ *+' conftest.er1
>conftest.err
12403 cat conftest.err
>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } >/dev
/null
; then
12406 if test -s conftest.err
; then
12407 ac_cpp_err
=$ac_c_preproc_warn_flag
12408 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12415 if test -z "$ac_cpp_err"; then
12416 ac_header_preproc
=yes
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.
$ac_ext >&5
12421 ac_header_preproc
=no
12423 rm -f conftest.err conftest.
$ac_ext
12424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12425 echo "${ECHO_T}$ac_header_preproc" >&6
12427 # So? What about this header?
12428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12434 ac_header_preproc
=yes
12437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12451 ## ------------------------------------------ ##
12452 ## Report this to the AC_PACKAGE_NAME lists. ##
12453 ## ------------------------------------------ ##
12456 sed "s/^/$as_me: WARNING: /" >&2
12459 echo "$as_me:$LINENO: checking for $ac_header" >&5
12460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12462 echo $ECHO_N "(cached) $ECHO_C" >&6
12464 eval "$as_ac_Header=\$ac_header_preproc"
12466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12471 cat >>confdefs.h
<<_ACEOF
12472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12480 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
12481 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
12482 # think that we don't have <curses.h> if we're using GCC.
12485 if test "$GCC" = yes; then
12487 cat >>confdefs.h
<<\_ACEOF
12488 #define _MSE_INT_H 1
12497 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
12499 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12501 echo "$as_me:$LINENO: checking for $ac_header" >&5
12502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12509 # Is the header compilable?
12510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12512 cat >conftest.
$ac_ext <<_ACEOF
12515 cat confdefs.h
>>conftest.
$ac_ext
12516 cat >>conftest.
$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12518 $ac_includes_default
12519 #include <$ac_header>
12521 rm -f conftest.
$ac_objext
12522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12523 (eval $ac_compile) 2>conftest.er1
12525 grep -v '^ *+' conftest.er1
>conftest.err
12527 cat conftest.err
>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); } &&
12530 { ac_try
='test -z "$ac_c_werror_flag"
12531 || test ! -s conftest.err'
12532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12533 (eval $ac_try) 2>&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); }; } &&
12537 { ac_try
='test -s conftest.$ac_objext'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; }; then
12543 ac_header_compiler
=yes
12545 echo "$as_me: failed program was:" >&5
12546 sed 's/^/| /' conftest.
$ac_ext >&5
12548 ac_header_compiler
=no
12550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12552 echo "${ECHO_T}$ac_header_compiler" >&6
12554 # Is the header present?
12555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12557 cat >conftest.
$ac_ext <<_ACEOF
12560 cat confdefs.h
>>conftest.
$ac_ext
12561 cat >>conftest.
$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12563 #include <$ac_header>
12565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12566 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12568 grep -v '^ *+' conftest.er1
>conftest.err
12570 cat conftest.err
>&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); } >/dev
/null
; then
12573 if test -s conftest.err
; then
12574 ac_cpp_err
=$ac_c_preproc_warn_flag
12575 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12582 if test -z "$ac_cpp_err"; then
12583 ac_header_preproc
=yes
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.
$ac_ext >&5
12588 ac_header_preproc
=no
12590 rm -f conftest.err conftest.
$ac_ext
12591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12592 echo "${ECHO_T}$ac_header_preproc" >&6
12594 # So? What about this header?
12595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12601 ac_header_preproc
=yes
12604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12618 ## ------------------------------------------ ##
12619 ## Report this to the AC_PACKAGE_NAME lists. ##
12620 ## ------------------------------------------ ##
12623 sed "s/^/$as_me: WARNING: /" >&2
12626 echo "$as_me:$LINENO: checking for $ac_header" >&5
12627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12629 echo $ECHO_N "(cached) $ECHO_C" >&6
12631 eval "$as_ac_Header=\$ac_header_preproc"
12633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12638 cat >>confdefs.h
<<_ACEOF
12639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12647 for ac_header
in ncurses
/term.h
12649 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12651 echo "$as_me:$LINENO: checking for $ac_header" >&5
12652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12654 echo $ECHO_N "(cached) $ECHO_C" >&6
12656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12659 # Is the header compilable?
12660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12662 cat >conftest.
$ac_ext <<_ACEOF
12665 cat confdefs.h
>>conftest.
$ac_ext
12666 cat >>conftest.
$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12668 $ac_includes_default
12669 #include <$ac_header>
12671 rm -f conftest.
$ac_objext
12672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12673 (eval $ac_compile) 2>conftest.er1
12675 grep -v '^ *+' conftest.er1
>conftest.err
12677 cat conftest.err
>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } &&
12680 { ac_try
='test -z "$ac_c_werror_flag"
12681 || test ! -s conftest.err'
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 (eval $ac_try) 2>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; } &&
12687 { ac_try
='test -s conftest.$ac_objext'
12688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12689 (eval $ac_try) 2>&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); }; }; then
12693 ac_header_compiler
=yes
12695 echo "$as_me: failed program was:" >&5
12696 sed 's/^/| /' conftest.
$ac_ext >&5
12698 ac_header_compiler
=no
12700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12702 echo "${ECHO_T}$ac_header_compiler" >&6
12704 # Is the header present?
12705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12707 cat >conftest.
$ac_ext <<_ACEOF
12710 cat confdefs.h
>>conftest.
$ac_ext
12711 cat >>conftest.
$ac_ext <<_ACEOF
12712 /* end confdefs.h. */
12713 #include <$ac_header>
12715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12716 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12718 grep -v '^ *+' conftest.er1
>conftest.err
12720 cat conftest.err
>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); } >/dev
/null
; then
12723 if test -s conftest.err
; then
12724 ac_cpp_err
=$ac_c_preproc_warn_flag
12725 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12732 if test -z "$ac_cpp_err"; then
12733 ac_header_preproc
=yes
12735 echo "$as_me: failed program was:" >&5
12736 sed 's/^/| /' conftest.
$ac_ext >&5
12738 ac_header_preproc
=no
12740 rm -f conftest.err conftest.
$ac_ext
12741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12742 echo "${ECHO_T}$ac_header_preproc" >&6
12744 # So? What about this header?
12745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12751 ac_header_preproc
=yes
12754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12768 ## ------------------------------------------ ##
12769 ## Report this to the AC_PACKAGE_NAME lists. ##
12770 ## ------------------------------------------ ##
12773 sed "s/^/$as_me: WARNING: /" >&2
12776 echo "$as_me:$LINENO: checking for $ac_header" >&5
12777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12779 echo $ECHO_N "(cached) $ECHO_C" >&6
12781 eval "$as_ac_Header=\$ac_header_preproc"
12783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12788 cat >>confdefs.h
<<_ACEOF
12789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12797 for ac_header
in term.h
12799 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12800 echo "$as_me:$LINENO: checking for $ac_header" >&5
12801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12803 echo $ECHO_N "(cached) $ECHO_C" >&6
12805 cat >conftest.
$ac_ext <<_ACEOF
12808 cat confdefs.h
>>conftest.
$ac_ext
12809 cat >>conftest.
$ac_ext <<_ACEOF
12810 /* end confdefs.h. */
12812 # include <curses.h>
12816 #include <$ac_header>
12818 rm -f conftest.
$ac_objext
12819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12820 (eval $ac_compile) 2>conftest.er1
12822 grep -v '^ *+' conftest.er1
>conftest.err
12824 cat conftest.err
>&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } &&
12827 { ac_try
='test -z "$ac_c_werror_flag"
12828 || test ! -s conftest.err'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; } &&
12834 { ac_try
='test -s conftest.$ac_objext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 eval "$as_ac_Header=yes"
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.
$ac_ext >&5
12845 eval "$as_ac_Header=no"
12847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12852 cat >>confdefs.h
<<_ACEOF
12853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12861 # FIXME: kettenis/20030102: In most cases we include these
12862 # unconditionally, so what's the point in checking these?
12865 for ac_header
in ctype.h
time.h
12867 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12869 echo "$as_me:$LINENO: checking for $ac_header" >&5
12870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12872 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12877 # Is the header compilable?
12878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12880 cat >conftest.
$ac_ext <<_ACEOF
12883 cat confdefs.h
>>conftest.
$ac_ext
12884 cat >>conftest.
$ac_ext <<_ACEOF
12885 /* end confdefs.h. */
12886 $ac_includes_default
12887 #include <$ac_header>
12889 rm -f conftest.
$ac_objext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12891 (eval $ac_compile) 2>conftest.er1
12893 grep -v '^ *+' conftest.er1
>conftest.err
12895 cat conftest.err
>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try
='test -z "$ac_c_werror_flag"
12899 || test ! -s conftest.err'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; } &&
12905 { ac_try
='test -s conftest.$ac_objext'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; }; then
12911 ac_header_compiler
=yes
12913 echo "$as_me: failed program was:" >&5
12914 sed 's/^/| /' conftest.
$ac_ext >&5
12916 ac_header_compiler
=no
12918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12920 echo "${ECHO_T}$ac_header_compiler" >&6
12922 # Is the header present?
12923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12925 cat >conftest.
$ac_ext <<_ACEOF
12928 cat confdefs.h
>>conftest.
$ac_ext
12929 cat >>conftest.
$ac_ext <<_ACEOF
12930 /* end confdefs.h. */
12931 #include <$ac_header>
12933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12934 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12936 grep -v '^ *+' conftest.er1
>conftest.err
12938 cat conftest.err
>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); } >/dev
/null
; then
12941 if test -s conftest.err
; then
12942 ac_cpp_err
=$ac_c_preproc_warn_flag
12943 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12950 if test -z "$ac_cpp_err"; then
12951 ac_header_preproc
=yes
12953 echo "$as_me: failed program was:" >&5
12954 sed 's/^/| /' conftest.
$ac_ext >&5
12956 ac_header_preproc
=no
12958 rm -f conftest.err conftest.
$ac_ext
12959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12960 echo "${ECHO_T}$ac_header_preproc" >&6
12962 # So? What about this header?
12963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12969 ac_header_preproc
=yes
12972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12986 ## ------------------------------------------ ##
12987 ## Report this to the AC_PACKAGE_NAME lists. ##
12988 ## ------------------------------------------ ##
12991 sed "s/^/$as_me: WARNING: /" >&2
12994 echo "$as_me:$LINENO: checking for $ac_header" >&5
12995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12997 echo $ECHO_N "(cached) $ECHO_C" >&6
12999 eval "$as_ac_Header=\$ac_header_preproc"
13001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13006 cat >>confdefs.h
<<_ACEOF
13007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13015 # ------------------------- #
13016 # Checks for declarations. #
13017 # ------------------------- #
13019 echo "$as_me:$LINENO: checking whether free is declared" >&5
13020 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
13021 if test "${ac_cv_have_decl_free+set}" = set; then
13022 echo $ECHO_N "(cached) $ECHO_C" >&6
13024 cat >conftest.
$ac_ext <<_ACEOF
13027 cat confdefs.h
>>conftest.
$ac_ext
13028 cat >>conftest.
$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13030 $ac_includes_default
13035 char *p = (char *) free;
13042 rm -f conftest.
$ac_objext
13043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13044 (eval $ac_compile) 2>conftest.er1
13046 grep -v '^ *+' conftest.er1
>conftest.err
13048 cat conftest.err
>&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); } &&
13051 { ac_try
='test -z "$ac_c_werror_flag"
13052 || test ! -s conftest.err'
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); }; } &&
13058 { ac_try
='test -s conftest.$ac_objext'
13059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13060 (eval $ac_try) 2>&5
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); }; }; then
13064 ac_cv_have_decl_free
=yes
13066 echo "$as_me: failed program was:" >&5
13067 sed 's/^/| /' conftest.
$ac_ext >&5
13069 ac_cv_have_decl_free
=no
13071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13073 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
13074 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
13075 if test $ac_cv_have_decl_free = yes; then
13077 cat >>confdefs.h
<<_ACEOF
13078 #define HAVE_DECL_FREE 1
13083 cat >>confdefs.h
<<_ACEOF
13084 #define HAVE_DECL_FREE 0
13089 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
13090 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
13091 if test "${ac_cv_have_decl_malloc+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 cat >conftest.
$ac_ext <<_ACEOF
13097 cat confdefs.h
>>conftest.
$ac_ext
13098 cat >>conftest.
$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13100 $ac_includes_default
13105 char *p = (char *) malloc;
13112 rm -f conftest.
$ac_objext
13113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13114 (eval $ac_compile) 2>conftest.er1
13116 grep -v '^ *+' conftest.er1
>conftest.err
13118 cat conftest.err
>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); } &&
13121 { ac_try
='test -z "$ac_c_werror_flag"
13122 || test ! -s conftest.err'
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); }; } &&
13128 { ac_try
='test -s conftest.$ac_objext'
13129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130 (eval $ac_try) 2>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); }; }; then
13134 ac_cv_have_decl_malloc
=yes
13136 echo "$as_me: failed program was:" >&5
13137 sed 's/^/| /' conftest.
$ac_ext >&5
13139 ac_cv_have_decl_malloc
=no
13141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13143 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
13144 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
13145 if test $ac_cv_have_decl_malloc = yes; then
13147 cat >>confdefs.h
<<_ACEOF
13148 #define HAVE_DECL_MALLOC 1
13153 cat >>confdefs.h
<<_ACEOF
13154 #define HAVE_DECL_MALLOC 0
13159 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
13160 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
13161 if test "${ac_cv_have_decl_realloc+set}" = set; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6
13164 cat >conftest.
$ac_ext <<_ACEOF
13167 cat confdefs.h
>>conftest.
$ac_ext
13168 cat >>conftest.
$ac_ext <<_ACEOF
13169 /* end confdefs.h. */
13170 $ac_includes_default
13175 char *p = (char *) realloc;
13182 rm -f conftest.
$ac_objext
13183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13184 (eval $ac_compile) 2>conftest.er1
13186 grep -v '^ *+' conftest.er1
>conftest.err
13188 cat conftest.err
>&5
13189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13190 (exit $ac_status); } &&
13191 { ac_try
='test -z "$ac_c_werror_flag"
13192 || test ! -s conftest.err'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; } &&
13198 { ac_try
='test -s conftest.$ac_objext'
13199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13204 ac_cv_have_decl_realloc
=yes
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.
$ac_ext >&5
13209 ac_cv_have_decl_realloc
=no
13211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13213 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
13214 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
13215 if test $ac_cv_have_decl_realloc = yes; then
13217 cat >>confdefs.h
<<_ACEOF
13218 #define HAVE_DECL_REALLOC 1
13223 cat >>confdefs.h
<<_ACEOF
13224 #define HAVE_DECL_REALLOC 0
13231 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
13232 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
13233 if test "${ac_cv_have_decl_strerror+set}" = set; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13236 cat >conftest.
$ac_ext <<_ACEOF
13239 cat confdefs.h
>>conftest.
$ac_ext
13240 cat >>conftest.
$ac_ext <<_ACEOF
13241 /* end confdefs.h. */
13242 $ac_includes_default
13247 char *p = (char *) strerror;
13254 rm -f conftest.
$ac_objext
13255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13256 (eval $ac_compile) 2>conftest.er1
13258 grep -v '^ *+' conftest.er1
>conftest.err
13260 cat conftest.err
>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } &&
13263 { ac_try
='test -z "$ac_c_werror_flag"
13264 || test ! -s conftest.err'
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); }; } &&
13270 { ac_try
='test -s conftest.$ac_objext'
13271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13272 (eval $ac_try) 2>&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); }; }; then
13276 ac_cv_have_decl_strerror
=yes
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.
$ac_ext >&5
13281 ac_cv_have_decl_strerror
=no
13283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13285 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
13286 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
13287 if test $ac_cv_have_decl_strerror = yes; then
13289 cat >>confdefs.h
<<_ACEOF
13290 #define HAVE_DECL_STRERROR 1
13295 cat >>confdefs.h
<<_ACEOF
13296 #define HAVE_DECL_STRERROR 0
13301 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
13302 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
13303 if test "${ac_cv_have_decl_strstr+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 cat >conftest.
$ac_ext <<_ACEOF
13309 cat confdefs.h
>>conftest.
$ac_ext
13310 cat >>conftest.
$ac_ext <<_ACEOF
13311 /* end confdefs.h. */
13312 $ac_includes_default
13317 char *p = (char *) strstr;
13324 rm -f conftest.
$ac_objext
13325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13326 (eval $ac_compile) 2>conftest.er1
13328 grep -v '^ *+' conftest.er1
>conftest.err
13330 cat conftest.err
>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); } &&
13333 { ac_try
='test -z "$ac_c_werror_flag"
13334 || test ! -s conftest.err'
13335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13336 (eval $ac_try) 2>&5
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); }; } &&
13340 { ac_try
='test -s conftest.$ac_objext'
13341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13342 (eval $ac_try) 2>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); }; }; then
13346 ac_cv_have_decl_strstr
=yes
13348 echo "$as_me: failed program was:" >&5
13349 sed 's/^/| /' conftest.
$ac_ext >&5
13351 ac_cv_have_decl_strstr
=no
13353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13355 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
13356 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
13357 if test $ac_cv_have_decl_strstr = yes; then
13359 cat >>confdefs.h
<<_ACEOF
13360 #define HAVE_DECL_STRSTR 1
13365 cat >>confdefs.h
<<_ACEOF
13366 #define HAVE_DECL_STRSTR 0
13373 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
13374 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
13375 if test "${ac_cv_have_decl_getopt+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 cat >conftest.
$ac_ext <<_ACEOF
13381 cat confdefs.h
>>conftest.
$ac_ext
13382 cat >>conftest.
$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13384 $ac_includes_default
13389 char *p = (char *) getopt;
13396 rm -f conftest.
$ac_objext
13397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13398 (eval $ac_compile) 2>conftest.er1
13400 grep -v '^ *+' conftest.er1
>conftest.err
13402 cat conftest.err
>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } &&
13405 { ac_try
='test -z "$ac_c_werror_flag"
13406 || test ! -s conftest.err'
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); }; } &&
13412 { ac_try
='test -s conftest.$ac_objext'
13413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13414 (eval $ac_try) 2>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13418 ac_cv_have_decl_getopt
=yes
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.
$ac_ext >&5
13423 ac_cv_have_decl_getopt
=no
13425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13427 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
13428 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
13429 if test $ac_cv_have_decl_getopt = yes; then
13431 cat >>confdefs.h
<<_ACEOF
13432 #define HAVE_DECL_GETOPT 1
13437 cat >>confdefs.h
<<_ACEOF
13438 #define HAVE_DECL_GETOPT 0
13446 # ----------------------- #
13447 # Checks for structures. #
13448 # ----------------------- #
13450 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
13451 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
13452 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
13453 echo $ECHO_N "(cached) $ECHO_C" >&6
13455 cat >conftest.
$ac_ext <<_ACEOF
13458 cat confdefs.h
>>conftest.
$ac_ext
13459 cat >>conftest.
$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13461 $ac_includes_default
13465 static struct stat ac_aggr;
13466 if (ac_aggr.st_blocks)
13472 rm -f conftest.
$ac_objext
13473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13474 (eval $ac_compile) 2>conftest.er1
13476 grep -v '^ *+' conftest.er1
>conftest.err
13478 cat conftest.err
>&5
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); } &&
13481 { ac_try
='test -z "$ac_c_werror_flag"
13482 || test ! -s conftest.err'
13483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13484 (eval $ac_try) 2>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); }; } &&
13488 { ac_try
='test -s conftest.$ac_objext'
13489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13490 (eval $ac_try) 2>&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); }; }; then
13494 ac_cv_member_struct_stat_st_blocks
=yes
13496 echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.
$ac_ext >&5
13499 cat >conftest.
$ac_ext <<_ACEOF
13502 cat confdefs.h
>>conftest.
$ac_ext
13503 cat >>conftest.
$ac_ext <<_ACEOF
13504 /* end confdefs.h. */
13505 $ac_includes_default
13509 static struct stat ac_aggr;
13510 if (sizeof ac_aggr.st_blocks)
13516 rm -f conftest.
$ac_objext
13517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13518 (eval $ac_compile) 2>conftest.er1
13520 grep -v '^ *+' conftest.er1
>conftest.err
13522 cat conftest.err
>&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); } &&
13525 { ac_try
='test -z "$ac_c_werror_flag"
13526 || test ! -s conftest.err'
13527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13528 (eval $ac_try) 2>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); }; } &&
13532 { ac_try
='test -s conftest.$ac_objext'
13533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13534 (eval $ac_try) 2>&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; }; then
13538 ac_cv_member_struct_stat_st_blocks
=yes
13540 echo "$as_me: failed program was:" >&5
13541 sed 's/^/| /' conftest.
$ac_ext >&5
13543 ac_cv_member_struct_stat_st_blocks
=no
13545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13549 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
13550 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
13551 if test $ac_cv_member_struct_stat_st_blocks = yes; then
13553 cat >>confdefs.h
<<_ACEOF
13554 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13561 # ------------------ #
13562 # Checks for types. #
13563 # ------------------ #
13565 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13566 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
13567 if test "${ac_cv_type_signal+set}" = set; then
13568 echo $ECHO_N "(cached) $ECHO_C" >&6
13570 cat >conftest.
$ac_ext <<_ACEOF
13573 cat confdefs.h
>>conftest.
$ac_ext
13574 cat >>conftest.
$ac_ext <<_ACEOF
13575 /* end confdefs.h. */
13576 #include <sys/types.h>
13577 #include <signal.h>
13582 extern "C" void (*signal (int, void (*)(int)))(int);
13584 void (*signal ()) ();
13595 rm -f conftest.
$ac_objext
13596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13597 (eval $ac_compile) 2>conftest.er1
13599 grep -v '^ *+' conftest.er1
>conftest.err
13601 cat conftest.err
>&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } &&
13604 { ac_try
='test -z "$ac_c_werror_flag"
13605 || test ! -s conftest.err'
13606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13607 (eval $ac_try) 2>&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; } &&
13611 { ac_try
='test -s conftest.$ac_objext'
13612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13613 (eval $ac_try) 2>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); }; }; then
13617 ac_cv_type_signal
=void
13619 echo "$as_me: failed program was:" >&5
13620 sed 's/^/| /' conftest.
$ac_ext >&5
13622 ac_cv_type_signal
=int
13624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13626 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13627 echo "${ECHO_T}$ac_cv_type_signal" >&6
13629 cat >>confdefs.h
<<_ACEOF
13630 #define RETSIGTYPE $ac_cv_type_signal
13635 # ------------------------------------- #
13636 # Checks for compiler characteristics. #
13637 # ------------------------------------- #
13639 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13640 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13641 if test "${ac_cv_c_const+set}" = set; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 cat >conftest.
$ac_ext <<_ACEOF
13647 cat confdefs.h
>>conftest.
$ac_ext
13648 cat >>conftest.
$ac_ext <<_ACEOF
13649 /* end confdefs.h. */
13654 /* FIXME: Include the comments suggested by Paul. */
13655 #ifndef __cplusplus
13656 /* Ultrix mips cc rejects this. */
13657 typedef int charset[2];
13659 /* SunOS 4.1.1 cc rejects this. */
13660 char const *const *ccp;
13662 /* NEC SVR4.0.2 mips cc rejects this. */
13663 struct point {int x, y;};
13664 static struct point const zero = {0,0};
13665 /* AIX XL C 1.02.0.0 rejects this.
13666 It does not let you subtract one const X* pointer from another in
13667 an arm of an if-expression whose if-part is not a constant
13669 const char *g = "string";
13670 ccp = &g + (g ? g-g : 0);
13671 /* HPUX 7.0 cc rejects these. */
13674 ccp = (char const *const *) p;
13675 { /* SCO 3.2v4 cc rejects this. */
13677 char const *s = 0 ? (char *) 0 : (char const *) 0;
13681 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13682 int x[] = {25, 17};
13683 const int *foo = &x[0];
13686 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13687 typedef const int *iptr;
13691 { /* AIX XL C 1.02.0.0 rejects this saying
13692 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13693 struct s { int j; const int *ap[3]; };
13694 struct s *b; b->j = 5;
13696 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13697 const int foo = 10;
13705 rm -f conftest.
$ac_objext
13706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13707 (eval $ac_compile) 2>conftest.er1
13709 grep -v '^ *+' conftest.er1
>conftest.err
13711 cat conftest.err
>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } &&
13714 { ac_try
='test -z "$ac_c_werror_flag"
13715 || test ! -s conftest.err'
13716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13717 (eval $ac_try) 2>&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); }; } &&
13721 { ac_try
='test -s conftest.$ac_objext'
13722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13723 (eval $ac_try) 2>&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); }; }; then
13729 echo "$as_me: failed program was:" >&5
13730 sed 's/^/| /' conftest.
$ac_ext >&5
13734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13736 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13737 echo "${ECHO_T}$ac_cv_c_const" >&6
13738 if test $ac_cv_c_const = no
; then
13740 cat >>confdefs.h
<<\_ACEOF
13746 echo "$as_me:$LINENO: checking for inline" >&5
13747 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13748 if test "${ac_cv_c_inline+set}" = set; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 for ac_kw
in inline __inline__ __inline
; do
13753 cat >conftest.
$ac_ext <<_ACEOF
13756 cat confdefs.h
>>conftest.
$ac_ext
13757 cat >>conftest.
$ac_ext <<_ACEOF
13758 /* end confdefs.h. */
13759 #ifndef __cplusplus
13761 static $ac_kw foo_t static_foo () {return 0; }
13762 $ac_kw foo_t foo () {return 0; }
13766 rm -f conftest.
$ac_objext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13768 (eval $ac_compile) 2>conftest.er1
13770 grep -v '^ *+' conftest.er1
>conftest.err
13772 cat conftest.err
>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); } &&
13775 { ac_try
='test -z "$ac_c_werror_flag"
13776 || test ! -s conftest.err'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; } &&
13782 { ac_try
='test -s conftest.$ac_objext'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; }; then
13788 ac_cv_c_inline
=$ac_kw; break
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.
$ac_ext >&5
13794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13798 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13799 echo "${ECHO_T}$ac_cv_c_inline" >&6
13802 case $ac_cv_c_inline in
13805 case $ac_cv_c_inline in
13807 *) ac_val
=$ac_cv_c_inline;;
13809 cat >>confdefs.h
<<_ACEOF
13810 #ifndef __cplusplus
13811 #define inline $ac_val
13818 # ------------------------------ #
13819 # Checks for library functions. #
13820 # ------------------------------ #
13822 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13823 # for constant arguments. Useless!
13824 echo "$as_me:$LINENO: checking for working alloca.h" >&5
13825 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
13826 if test "${ac_cv_working_alloca_h+set}" = set; then
13827 echo $ECHO_N "(cached) $ECHO_C" >&6
13829 cat >conftest.
$ac_ext <<_ACEOF
13832 cat confdefs.h
>>conftest.
$ac_ext
13833 cat >>conftest.
$ac_ext <<_ACEOF
13834 /* end confdefs.h. */
13835 #include <alloca.h>
13839 char *p = (char *) alloca (2 * sizeof (int));
13844 rm -f conftest.
$ac_objext conftest
$ac_exeext
13845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13846 (eval $ac_link) 2>conftest.er1
13848 grep -v '^ *+' conftest.er1
>conftest.err
13850 cat conftest.err
>&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); } &&
13853 { ac_try
='test -z "$ac_c_werror_flag"
13854 || test ! -s conftest.err'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; } &&
13860 { ac_try
='test -s conftest$ac_exeext'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13866 ac_cv_working_alloca_h
=yes
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.
$ac_ext >&5
13871 ac_cv_working_alloca_h
=no
13873 rm -f conftest.err conftest.
$ac_objext \
13874 conftest
$ac_exeext conftest.
$ac_ext
13876 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13877 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
13878 if test $ac_cv_working_alloca_h = yes; then
13880 cat >>confdefs.h
<<\_ACEOF
13881 #define HAVE_ALLOCA_H 1
13886 echo "$as_me:$LINENO: checking for alloca" >&5
13887 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
13888 if test "${ac_cv_func_alloca_works+set}" = set; then
13889 echo $ECHO_N "(cached) $ECHO_C" >&6
13891 cat >conftest.
$ac_ext <<_ACEOF
13894 cat confdefs.h
>>conftest.
$ac_ext
13895 cat >>conftest.
$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13898 # define alloca __builtin_alloca
13901 # include <malloc.h>
13902 # define alloca _alloca
13905 # include <alloca.h>
13910 # ifndef alloca /* predefined by HP cc +Olibcalls */
13921 char *p = (char *) alloca (1);
13926 rm -f conftest.
$ac_objext conftest
$ac_exeext
13927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13928 (eval $ac_link) 2>conftest.er1
13930 grep -v '^ *+' conftest.er1
>conftest.err
13932 cat conftest.err
>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); } &&
13935 { ac_try
='test -z "$ac_c_werror_flag"
13936 || test ! -s conftest.err'
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13938 (eval $ac_try) 2>&5
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; } &&
13942 { ac_try
='test -s conftest$ac_exeext'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 ac_cv_func_alloca_works
=yes
13950 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.
$ac_ext >&5
13953 ac_cv_func_alloca_works
=no
13955 rm -f conftest.err conftest.
$ac_objext \
13956 conftest
$ac_exeext conftest.
$ac_ext
13958 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13959 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13961 if test $ac_cv_func_alloca_works = yes; then
13963 cat >>confdefs.h
<<\_ACEOF
13964 #define HAVE_ALLOCA 1
13968 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13969 # that cause trouble. Some versions do not even contain alloca or
13970 # contain a buggy version. If you still want to use their alloca,
13971 # use ar to extract alloca.o from them instead of compiling alloca.c.
13973 ALLOCA
=alloca.
$ac_objext
13975 cat >>confdefs.h
<<\_ACEOF
13980 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13981 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
13982 if test "${ac_cv_os_cray+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13985 cat >conftest.
$ac_ext <<_ACEOF
13988 cat confdefs.h
>>conftest.
$ac_ext
13989 cat >>conftest.
$ac_ext <<_ACEOF
13990 /* end confdefs.h. */
13991 #if defined(CRAY) && ! defined(CRAY2)
13998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13999 $EGREP "webecray" >/dev
/null
2>&1; then
14007 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
14008 echo "${ECHO_T}$ac_cv_os_cray" >&6
14009 if test $ac_cv_os_cray = yes; then
14010 for ac_func
in _getb67 GETB67 getb67
; do
14011 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14012 echo "$as_me:$LINENO: checking for $ac_func" >&5
14013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14014 if eval "test \"\${$as_ac_var+set}\" = set"; then
14015 echo $ECHO_N "(cached) $ECHO_C" >&6
14017 cat >conftest.
$ac_ext <<_ACEOF
14020 cat confdefs.h
>>conftest.
$ac_ext
14021 cat >>conftest.
$ac_ext <<_ACEOF
14022 /* end confdefs.h. */
14023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14025 #define $ac_func innocuous_$ac_func
14027 /* System header to define __stub macros and hopefully few prototypes,
14028 which can conflict with char $ac_func (); below.
14029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14030 <limits.h> exists even on freestanding compilers. */
14033 # include <limits.h>
14035 # include <assert.h>
14040 /* Override any gcc2 internal prototype to avoid an error. */
14045 /* We use char because int might match the return type of a gcc2
14046 builtin and then its argument prototype would still apply. */
14048 /* The GNU C library defines this for functions which it implements
14049 to always fail with ENOSYS. Some functions are actually named
14050 something starting with __ and the normal name is an alias. */
14051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14054 char (*f) () = $ac_func;
14063 return f != $ac_func;
14068 rm -f conftest.
$ac_objext conftest
$ac_exeext
14069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14070 (eval $ac_link) 2>conftest.er1
14072 grep -v '^ *+' conftest.er1
>conftest.err
14074 cat conftest.err
>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } &&
14077 { ac_try
='test -z "$ac_c_werror_flag"
14078 || test ! -s conftest.err'
14079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14080 (eval $ac_try) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; } &&
14084 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
14090 eval "$as_ac_var=yes"
14092 echo "$as_me: failed program was:" >&5
14093 sed 's/^/| /' conftest.
$ac_ext >&5
14095 eval "$as_ac_var=no"
14097 rm -f conftest.err conftest.
$ac_objext \
14098 conftest
$ac_exeext conftest.
$ac_ext
14100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14102 if test `eval echo '${'$as_ac_var'}'` = yes; then
14104 cat >>confdefs.h
<<_ACEOF
14105 #define CRAY_STACKSEG_END $ac_func
14114 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
14115 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
14116 if test "${ac_cv_c_stack_direction+set}" = set; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 if test "$cross_compiling" = yes; then
14120 ac_cv_c_stack_direction
=0
14122 cat >conftest.
$ac_ext <<_ACEOF
14125 cat confdefs.h
>>conftest.
$ac_ext
14126 cat >>conftest.
$ac_ext <<_ACEOF
14127 /* end confdefs.h. */
14129 find_stack_direction ()
14131 static char *addr = 0;
14136 return find_stack_direction ();
14139 return (&dummy > addr) ? 1 : -1;
14145 exit (find_stack_direction () < 0);
14148 rm -f conftest
$ac_exeext
14149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14150 (eval $ac_link) 2>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 ac_cv_c_stack_direction
=1
14161 echo "$as_me: program exited with status $ac_status" >&5
14162 echo "$as_me: failed program was:" >&5
14163 sed 's/^/| /' conftest.
$ac_ext >&5
14165 ( exit $ac_status )
14166 ac_cv_c_stack_direction
=-1
14168 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14171 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
14172 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
14174 cat >>confdefs.h
<<_ACEOF
14175 #define STACK_DIRECTION $ac_cv_c_stack_direction
14183 for ac_header
in stdlib.h unistd.h
14185 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14187 echo "$as_me:$LINENO: checking for $ac_header" >&5
14188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14195 # Is the header compilable?
14196 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14198 cat >conftest.
$ac_ext <<_ACEOF
14201 cat confdefs.h
>>conftest.
$ac_ext
14202 cat >>conftest.
$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14204 $ac_includes_default
14205 #include <$ac_header>
14207 rm -f conftest.
$ac_objext
14208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>conftest.er1
14211 grep -v '^ *+' conftest.er1
>conftest.err
14213 cat conftest.err
>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } &&
14216 { ac_try
='test -z "$ac_c_werror_flag"
14217 || test ! -s conftest.err'
14218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219 (eval $ac_try) 2>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); }; } &&
14223 { ac_try
='test -s conftest.$ac_objext'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; }; then
14229 ac_header_compiler
=yes
14231 echo "$as_me: failed program was:" >&5
14232 sed 's/^/| /' conftest.
$ac_ext >&5
14234 ac_header_compiler
=no
14236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14237 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14238 echo "${ECHO_T}$ac_header_compiler" >&6
14240 # Is the header present?
14241 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14242 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14243 cat >conftest.
$ac_ext <<_ACEOF
14246 cat confdefs.h
>>conftest.
$ac_ext
14247 cat >>conftest.
$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14249 #include <$ac_header>
14251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14254 grep -v '^ *+' conftest.er1
>conftest.err
14256 cat conftest.err
>&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } >/dev
/null
; then
14259 if test -s conftest.err
; then
14260 ac_cpp_err
=$ac_c_preproc_warn_flag
14261 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14268 if test -z "$ac_cpp_err"; then
14269 ac_header_preproc
=yes
14271 echo "$as_me: failed program was:" >&5
14272 sed 's/^/| /' conftest.
$ac_ext >&5
14274 ac_header_preproc
=no
14276 rm -f conftest.err conftest.
$ac_ext
14277 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14278 echo "${ECHO_T}$ac_header_preproc" >&6
14280 # So? What about this header?
14281 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14283 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14284 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14286 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14287 ac_header_preproc
=yes
14290 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14291 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14292 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14293 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14294 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14295 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14296 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14297 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14300 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14301 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14304 ## ------------------------------------------ ##
14305 ## Report this to the AC_PACKAGE_NAME lists. ##
14306 ## ------------------------------------------ ##
14309 sed "s/^/$as_me: WARNING: /" >&2
14312 echo "$as_me:$LINENO: checking for $ac_header" >&5
14313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14315 echo $ECHO_N "(cached) $ECHO_C" >&6
14317 eval "$as_ac_Header=\$ac_header_preproc"
14319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14324 cat >>confdefs.h
<<_ACEOF
14325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14333 for ac_func
in getpagesize
14335 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14336 echo "$as_me:$LINENO: checking for $ac_func" >&5
14337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14338 if eval "test \"\${$as_ac_var+set}\" = set"; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14341 cat >conftest.
$ac_ext <<_ACEOF
14344 cat confdefs.h
>>conftest.
$ac_ext
14345 cat >>conftest.
$ac_ext <<_ACEOF
14346 /* end confdefs.h. */
14347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14349 #define $ac_func innocuous_$ac_func
14351 /* System header to define __stub macros and hopefully few prototypes,
14352 which can conflict with char $ac_func (); below.
14353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14354 <limits.h> exists even on freestanding compilers. */
14357 # include <limits.h>
14359 # include <assert.h>
14364 /* Override any gcc2 internal prototype to avoid an error. */
14369 /* We use char because int might match the return type of a gcc2
14370 builtin and then its argument prototype would still apply. */
14372 /* The GNU C library defines this for functions which it implements
14373 to always fail with ENOSYS. Some functions are actually named
14374 something starting with __ and the normal name is an alias. */
14375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14378 char (*f) () = $ac_func;
14387 return f != $ac_func;
14392 rm -f conftest.
$ac_objext conftest
$ac_exeext
14393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14394 (eval $ac_link) 2>conftest.er1
14396 grep -v '^ *+' conftest.er1
>conftest.err
14398 cat conftest.err
>&5
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); } &&
14401 { ac_try
='test -z "$ac_c_werror_flag"
14402 || test ! -s conftest.err'
14403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14404 (eval $ac_try) 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; } &&
14408 { ac_try
='test -s conftest$ac_exeext'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; }; then
14414 eval "$as_ac_var=yes"
14416 echo "$as_me: failed program was:" >&5
14417 sed 's/^/| /' conftest.
$ac_ext >&5
14419 eval "$as_ac_var=no"
14421 rm -f conftest.err conftest.
$ac_objext \
14422 conftest
$ac_exeext conftest.
$ac_ext
14424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14426 if test `eval echo '${'$as_ac_var'}'` = yes; then
14427 cat >>confdefs.h
<<_ACEOF
14428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14434 echo "$as_me:$LINENO: checking for working mmap" >&5
14435 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14436 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14439 if test "$cross_compiling" = yes; then
14440 ac_cv_func_mmap_fixed_mapped
=no
14442 cat >conftest.
$ac_ext <<_ACEOF
14445 cat confdefs.h
>>conftest.
$ac_ext
14446 cat >>conftest.
$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14448 $ac_includes_default
14449 /* malloc might have been renamed as rpl_malloc. */
14452 /* Thanks to Mike Haertel and Jim Avera for this test.
14453 Here is a matrix of mmap possibilities:
14454 mmap private not fixed
14455 mmap private fixed at somewhere currently unmapped
14456 mmap private fixed at somewhere already mapped
14457 mmap shared not fixed
14458 mmap shared fixed at somewhere currently unmapped
14459 mmap shared fixed at somewhere already mapped
14460 For private mappings, we should verify that changes cannot be read()
14461 back from the file, nor mmap's back from the file at a different
14462 address. (There have been systems where private was not correctly
14463 implemented like the infamous i386 svr4.0, and systems where the
14464 VM page cache was not coherent with the file system buffer cache
14465 like early versions of FreeBSD and possibly contemporary NetBSD.)
14466 For shared mappings, we should conversely verify that changes get
14467 propagated back to all the places they're supposed to be.
14469 Grep wants private fixed already mapped.
14470 The main things grep needs to know about mmap are:
14471 * does it exist and is it safe to write into the mmap'd area
14472 * how to use it (BSD variants) */
14475 #include <sys/mman.h>
14477 #if !STDC_HEADERS && !HAVE_STDLIB_H
14481 /* This mess was copied from the GNU getpagesize.h. */
14482 #if !HAVE_GETPAGESIZE
14483 /* Assume that all systems that can run configure have sys/param.h. */
14484 # if !HAVE_SYS_PARAM_H
14485 # define HAVE_SYS_PARAM_H 1
14488 # ifdef _SC_PAGESIZE
14489 # define getpagesize() sysconf(_SC_PAGESIZE)
14490 # else /* no _SC_PAGESIZE */
14491 # if HAVE_SYS_PARAM_H
14492 # include <sys/param.h>
14493 # ifdef EXEC_PAGESIZE
14494 # define getpagesize() EXEC_PAGESIZE
14495 # else /* no EXEC_PAGESIZE */
14497 # define getpagesize() NBPG * CLSIZE
14500 # endif /* no CLSIZE */
14501 # else /* no NBPG */
14503 # define getpagesize() NBPC
14504 # else /* no NBPC */
14506 # define getpagesize() PAGESIZE
14507 # endif /* PAGESIZE */
14508 # endif /* no NBPC */
14509 # endif /* no NBPG */
14510 # endif /* no EXEC_PAGESIZE */
14511 # else /* no HAVE_SYS_PARAM_H */
14512 # define getpagesize() 8192 /* punt totally */
14513 # endif /* no HAVE_SYS_PARAM_H */
14514 # endif /* no _SC_PAGESIZE */
14516 #endif /* no HAVE_GETPAGESIZE */
14521 char *data, *data2, *data3;
14525 pagesize = getpagesize ();
14527 /* First, make a file with some known garbage in it. */
14528 data = (char *) malloc (pagesize);
14531 for (i = 0; i < pagesize; ++i)
14532 *(data + i) = rand ();
14534 fd = creat ("conftest.mmap", 0600);
14537 if (write (fd, data, pagesize) != pagesize)
14541 /* Next, try to mmap the file at a fixed address which already has
14542 something else allocated at it. If we can, also make sure that
14543 we see the same garbage. */
14544 fd = open ("conftest.mmap", O_RDWR);
14547 data2 = (char *) malloc (2 * pagesize);
14550 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14551 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14552 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14554 for (i = 0; i < pagesize; ++i)
14555 if (*(data + i) != *(data2 + i))
14558 /* Finally, make sure that changes to the mapped area do not
14559 percolate back to the file as seen by read(). (This is a bug on
14560 some variants of i386 svr4.0.) */
14561 for (i = 0; i < pagesize; ++i)
14562 *(data2 + i) = *(data2 + i) + 1;
14563 data3 = (char *) malloc (pagesize);
14566 if (read (fd, data3, pagesize) != pagesize)
14568 for (i = 0; i < pagesize; ++i)
14569 if (*(data + i) != *(data3 + i))
14575 rm -f conftest
$ac_exeext
14576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14577 (eval $ac_link) 2>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; }; then
14586 ac_cv_func_mmap_fixed_mapped
=yes
14588 echo "$as_me: program exited with status $ac_status" >&5
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.
$ac_ext >&5
14592 ( exit $ac_status )
14593 ac_cv_func_mmap_fixed_mapped
=no
14595 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14598 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14599 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14600 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14602 cat >>confdefs.h
<<\_ACEOF
14603 #define HAVE_MMAP 1
14607 rm -f conftest.mmap
14609 echo "$as_me:$LINENO: checking for pid_t" >&5
14610 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14611 if test "${ac_cv_type_pid_t+set}" = set; then
14612 echo $ECHO_N "(cached) $ECHO_C" >&6
14614 cat >conftest.
$ac_ext <<_ACEOF
14617 cat confdefs.h
>>conftest.
$ac_ext
14618 cat >>conftest.
$ac_ext <<_ACEOF
14619 /* end confdefs.h. */
14620 $ac_includes_default
14626 if (sizeof (pid_t))
14632 rm -f conftest.
$ac_objext
14633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14634 (eval $ac_compile) 2>conftest.er1
14636 grep -v '^ *+' conftest.er1
>conftest.err
14638 cat conftest.err
>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } &&
14641 { ac_try
='test -z "$ac_c_werror_flag"
14642 || test ! -s conftest.err'
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; } &&
14648 { ac_try
='test -s conftest.$ac_objext'
14649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14650 (eval $ac_try) 2>&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; }; then
14654 ac_cv_type_pid_t
=yes
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.
$ac_ext >&5
14659 ac_cv_type_pid_t
=no
14661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14663 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
14664 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
14665 if test $ac_cv_type_pid_t = yes; then
14669 cat >>confdefs.h
<<_ACEOF
14677 for ac_header
in unistd.h vfork.h
14679 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14681 echo "$as_me:$LINENO: checking for $ac_header" >&5
14682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14689 # Is the header compilable?
14690 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14692 cat >conftest.
$ac_ext <<_ACEOF
14695 cat confdefs.h
>>conftest.
$ac_ext
14696 cat >>conftest.
$ac_ext <<_ACEOF
14697 /* end confdefs.h. */
14698 $ac_includes_default
14699 #include <$ac_header>
14701 rm -f conftest.
$ac_objext
14702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14703 (eval $ac_compile) 2>conftest.er1
14705 grep -v '^ *+' conftest.er1
>conftest.err
14707 cat conftest.err
>&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); } &&
14710 { ac_try
='test -z "$ac_c_werror_flag"
14711 || test ! -s conftest.err'
14712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14713 (eval $ac_try) 2>&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); }; } &&
14717 { ac_try
='test -s conftest.$ac_objext'
14718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14719 (eval $ac_try) 2>&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); }; }; then
14723 ac_header_compiler
=yes
14725 echo "$as_me: failed program was:" >&5
14726 sed 's/^/| /' conftest.
$ac_ext >&5
14728 ac_header_compiler
=no
14730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14732 echo "${ECHO_T}$ac_header_compiler" >&6
14734 # Is the header present?
14735 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14736 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14737 cat >conftest.
$ac_ext <<_ACEOF
14740 cat confdefs.h
>>conftest.
$ac_ext
14741 cat >>conftest.
$ac_ext <<_ACEOF
14742 /* end confdefs.h. */
14743 #include <$ac_header>
14745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14746 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14748 grep -v '^ *+' conftest.er1
>conftest.err
14750 cat conftest.err
>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); } >/dev
/null
; then
14753 if test -s conftest.err
; then
14754 ac_cpp_err
=$ac_c_preproc_warn_flag
14755 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14762 if test -z "$ac_cpp_err"; then
14763 ac_header_preproc
=yes
14765 echo "$as_me: failed program was:" >&5
14766 sed 's/^/| /' conftest.
$ac_ext >&5
14768 ac_header_preproc
=no
14770 rm -f conftest.err conftest.
$ac_ext
14771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14772 echo "${ECHO_T}$ac_header_preproc" >&6
14774 # So? What about this header?
14775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14777 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14778 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14780 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14781 ac_header_preproc
=yes
14784 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14786 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14787 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14788 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14789 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14790 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14791 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14794 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14798 ## ------------------------------------------ ##
14799 ## Report this to the AC_PACKAGE_NAME lists. ##
14800 ## ------------------------------------------ ##
14803 sed "s/^/$as_me: WARNING: /" >&2
14806 echo "$as_me:$LINENO: checking for $ac_header" >&5
14807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14809 echo $ECHO_N "(cached) $ECHO_C" >&6
14811 eval "$as_ac_Header=\$ac_header_preproc"
14813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14818 cat >>confdefs.h
<<_ACEOF
14819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14828 for ac_func
in fork vfork
14830 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14831 echo "$as_me:$LINENO: checking for $ac_func" >&5
14832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14833 if eval "test \"\${$as_ac_var+set}\" = set"; then
14834 echo $ECHO_N "(cached) $ECHO_C" >&6
14836 cat >conftest.
$ac_ext <<_ACEOF
14839 cat confdefs.h
>>conftest.
$ac_ext
14840 cat >>conftest.
$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14844 #define $ac_func innocuous_$ac_func
14846 /* System header to define __stub macros and hopefully few prototypes,
14847 which can conflict with char $ac_func (); below.
14848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14849 <limits.h> exists even on freestanding compilers. */
14852 # include <limits.h>
14854 # include <assert.h>
14859 /* Override any gcc2 internal prototype to avoid an error. */
14864 /* We use char because int might match the return type of a gcc2
14865 builtin and then its argument prototype would still apply. */
14867 /* The GNU C library defines this for functions which it implements
14868 to always fail with ENOSYS. Some functions are actually named
14869 something starting with __ and the normal name is an alias. */
14870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14873 char (*f) () = $ac_func;
14882 return f != $ac_func;
14887 rm -f conftest.
$ac_objext conftest
$ac_exeext
14888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14889 (eval $ac_link) 2>conftest.er1
14891 grep -v '^ *+' conftest.er1
>conftest.err
14893 cat conftest.err
>&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try
='test -z "$ac_c_werror_flag"
14897 || test ! -s conftest.err'
14898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14899 (eval $ac_try) 2>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); }; } &&
14903 { ac_try
='test -s conftest$ac_exeext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14909 eval "$as_ac_var=yes"
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.
$ac_ext >&5
14914 eval "$as_ac_var=no"
14916 rm -f conftest.err conftest.
$ac_objext \
14917 conftest
$ac_exeext conftest.
$ac_ext
14919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14921 if test `eval echo '${'$as_ac_var'}'` = yes; then
14922 cat >>confdefs.h
<<_ACEOF
14923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14929 if test "x$ac_cv_func_fork" = xyes
; then
14930 echo "$as_me:$LINENO: checking for working fork" >&5
14931 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
14932 if test "${ac_cv_func_fork_works+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 if test "$cross_compiling" = yes; then
14936 ac_cv_func_fork_works
=cross
14938 cat >conftest.
$ac_ext <<_ACEOF
14939 /* By Ruediger Kuhlmann. */
14940 #include <sys/types.h>
14942 # include <unistd.h>
14944 /* Some systems only have a dummy stub for fork() */
14952 rm -f conftest
$ac_exeext
14953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14954 (eval $ac_link) 2>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; }; then
14963 ac_cv_func_fork_works
=yes
14965 echo "$as_me: program exited with status $ac_status" >&5
14966 echo "$as_me: failed program was:" >&5
14967 sed 's/^/| /' conftest.
$ac_ext >&5
14969 ( exit $ac_status )
14970 ac_cv_func_fork_works
=no
14972 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14975 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
14976 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
14979 ac_cv_func_fork_works
=$ac_cv_func_fork
14981 if test "x$ac_cv_func_fork_works" = xcross
; then
14983 *-*-amigaos* |
*-*-msdosdjgpp*)
14984 # Override, as these systems have only a dummy fork() stub
14985 ac_cv_func_fork_works
=no
14988 ac_cv_func_fork_works
=yes
14991 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
14992 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
14994 ac_cv_func_vfork_works
=$ac_cv_func_vfork
14995 if test "x$ac_cv_func_vfork" = xyes
; then
14996 echo "$as_me:$LINENO: checking for working vfork" >&5
14997 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
14998 if test "${ac_cv_func_vfork_works+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 if test "$cross_compiling" = yes; then
15002 ac_cv_func_vfork_works
=cross
15004 cat >conftest.
$ac_ext <<_ACEOF
15007 cat confdefs.h
>>conftest.
$ac_ext
15008 cat >>conftest.
$ac_ext <<_ACEOF
15009 /* end confdefs.h. */
15010 /* Thanks to Paul Eggert for this test. */
15012 #include <stdlib.h>
15013 #include <sys/types.h>
15014 #include <sys/stat.h>
15015 #include <sys/wait.h>
15017 # include <unistd.h>
15020 # include <vfork.h>
15022 /* On some sparc systems, changes by the child to local and incoming
15023 argument registers are propagated back to the parent. The compiler
15024 is told about this with #include <vfork.h>, but some compilers
15025 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
15026 static variable whose address is put into a register that is
15027 clobbered by the vfork. */
15030 sparc_address_test (int arg)
15032 sparc_address_test (arg) int arg;
15035 static pid_t child;
15053 pid_t parent = getpid ();
15056 sparc_address_test (0);
15061 /* Here is another test for sparc vfork register problems. This
15062 test uses lots of local variables, at least as many local
15063 variables as main has allocated so far including compiler
15064 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
15065 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
15066 reuse the register of parent for one of the local variables,
15067 since it will think that parent can't possibly be used any more
15068 in this routine. Assigning to the local variable will thus
15069 munge parent in the parent process. */
15071 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
15072 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
15073 /* Convince the compiler that p..p7 are live; otherwise, it might
15074 use the same hardware register for all 8 local variables. */
15075 if (p != p1 || p != p2 || p != p3 || p != p4
15076 || p != p5 || p != p6 || p != p7)
15079 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
15080 from child file descriptors. If the child closes a descriptor
15081 before it execs or exits, this munges the parent's descriptor
15082 as well. Test for this by closing stdout in the child. */
15083 _exit(close(fileno(stdout)) != 0);
15088 while (wait(&status) != child)
15091 /* Was there some problem with vforking? */
15094 /* Did the child fail? (This shouldn't happen.) */
15097 /* Did the vfork/compiler bug occur? */
15098 || parent != getpid()
15100 /* Did the file descriptor bug occur? */
15101 || fstat(fileno(stdout), &st) != 0
15106 rm -f conftest
$ac_exeext
15107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15108 (eval $ac_link) 2>&5
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15113 (eval $ac_try) 2>&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); }; }; then
15117 ac_cv_func_vfork_works
=yes
15119 echo "$as_me: program exited with status $ac_status" >&5
15120 echo "$as_me: failed program was:" >&5
15121 sed 's/^/| /' conftest.
$ac_ext >&5
15123 ( exit $ac_status )
15124 ac_cv_func_vfork_works
=no
15126 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15129 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
15130 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
15133 if test "x$ac_cv_func_fork_works" = xcross
; then
15134 ac_cv_func_vfork_works
=$ac_cv_func_vfork
15135 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
15136 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
15139 if test "x$ac_cv_func_vfork_works" = xyes
; then
15141 cat >>confdefs.h
<<\_ACEOF
15142 #define HAVE_WORKING_VFORK 1
15147 cat >>confdefs.h
<<\_ACEOF
15152 if test "x$ac_cv_func_fork_works" = xyes
; then
15154 cat >>confdefs.h
<<\_ACEOF
15155 #define HAVE_WORKING_FORK 1
15162 for ac_func
in canonicalize_file_name realpath
15164 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15165 echo "$as_me:$LINENO: checking for $ac_func" >&5
15166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15167 if eval "test \"\${$as_ac_var+set}\" = set"; then
15168 echo $ECHO_N "(cached) $ECHO_C" >&6
15170 cat >conftest.
$ac_ext <<_ACEOF
15173 cat confdefs.h
>>conftest.
$ac_ext
15174 cat >>conftest.
$ac_ext <<_ACEOF
15175 /* end confdefs.h. */
15176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15178 #define $ac_func innocuous_$ac_func
15180 /* System header to define __stub macros and hopefully few prototypes,
15181 which can conflict with char $ac_func (); below.
15182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15183 <limits.h> exists even on freestanding compilers. */
15186 # include <limits.h>
15188 # include <assert.h>
15193 /* Override any gcc2 internal prototype to avoid an error. */
15198 /* We use char because int might match the return type of a gcc2
15199 builtin and then its argument prototype would still apply. */
15201 /* The GNU C library defines this for functions which it implements
15202 to always fail with ENOSYS. Some functions are actually named
15203 something starting with __ and the normal name is an alias. */
15204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15207 char (*f) () = $ac_func;
15216 return f != $ac_func;
15221 rm -f conftest.
$ac_objext conftest
$ac_exeext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15223 (eval $ac_link) 2>conftest.er1
15225 grep -v '^ *+' conftest.er1
>conftest.err
15227 cat conftest.err
>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); } &&
15230 { ac_try
='test -z "$ac_c_werror_flag"
15231 || test ! -s conftest.err'
15232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233 (eval $ac_try) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; } &&
15237 { ac_try
='test -s conftest$ac_exeext'
15238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15239 (eval $ac_try) 2>&5
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); }; }; then
15243 eval "$as_ac_var=yes"
15245 echo "$as_me: failed program was:" >&5
15246 sed 's/^/| /' conftest.
$ac_ext >&5
15248 eval "$as_ac_var=no"
15250 rm -f conftest.err conftest.
$ac_objext \
15251 conftest
$ac_exeext conftest.
$ac_ext
15253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15255 if test `eval echo '${'$as_ac_var'}'` = yes; then
15256 cat >>confdefs.h
<<_ACEOF
15257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15264 for ac_func
in poll
15266 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15267 echo "$as_me:$LINENO: checking for $ac_func" >&5
15268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15269 if eval "test \"\${$as_ac_var+set}\" = set"; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 cat >conftest.
$ac_ext <<_ACEOF
15275 cat confdefs.h
>>conftest.
$ac_ext
15276 cat >>conftest.
$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15280 #define $ac_func innocuous_$ac_func
15282 /* System header to define __stub macros and hopefully few prototypes,
15283 which can conflict with char $ac_func (); below.
15284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15285 <limits.h> exists even on freestanding compilers. */
15288 # include <limits.h>
15290 # include <assert.h>
15295 /* Override any gcc2 internal prototype to avoid an error. */
15300 /* We use char because int might match the return type of a gcc2
15301 builtin and then its argument prototype would still apply. */
15303 /* The GNU C library defines this for functions which it implements
15304 to always fail with ENOSYS. Some functions are actually named
15305 something starting with __ and the normal name is an alias. */
15306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15309 char (*f) () = $ac_func;
15318 return f != $ac_func;
15323 rm -f conftest.
$ac_objext conftest
$ac_exeext
15324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15325 (eval $ac_link) 2>conftest.er1
15327 grep -v '^ *+' conftest.er1
>conftest.err
15329 cat conftest.err
>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } &&
15332 { ac_try
='test -z "$ac_c_werror_flag"
15333 || test ! -s conftest.err'
15334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15335 (eval $ac_try) 2>&5
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); }; } &&
15339 { ac_try
='test -s conftest$ac_exeext'
15340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341 (eval $ac_try) 2>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); }; }; then
15345 eval "$as_ac_var=yes"
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.
$ac_ext >&5
15350 eval "$as_ac_var=no"
15352 rm -f conftest.err conftest.
$ac_objext \
15353 conftest
$ac_exeext conftest.
$ac_ext
15355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15357 if test `eval echo '${'$as_ac_var'}'` = yes; then
15358 cat >>confdefs.h
<<_ACEOF
15359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15366 for ac_func
in pread64
15368 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15369 echo "$as_me:$LINENO: checking for $ac_func" >&5
15370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15371 if eval "test \"\${$as_ac_var+set}\" = set"; then
15372 echo $ECHO_N "(cached) $ECHO_C" >&6
15374 cat >conftest.
$ac_ext <<_ACEOF
15377 cat confdefs.h
>>conftest.
$ac_ext
15378 cat >>conftest.
$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15382 #define $ac_func innocuous_$ac_func
15384 /* System header to define __stub macros and hopefully few prototypes,
15385 which can conflict with char $ac_func (); below.
15386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15387 <limits.h> exists even on freestanding compilers. */
15390 # include <limits.h>
15392 # include <assert.h>
15397 /* Override any gcc2 internal prototype to avoid an error. */
15402 /* We use char because int might match the return type of a gcc2
15403 builtin and then its argument prototype would still apply. */
15405 /* The GNU C library defines this for functions which it implements
15406 to always fail with ENOSYS. Some functions are actually named
15407 something starting with __ and the normal name is an alias. */
15408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15411 char (*f) () = $ac_func;
15420 return f != $ac_func;
15425 rm -f conftest.
$ac_objext conftest
$ac_exeext
15426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15427 (eval $ac_link) 2>conftest.er1
15429 grep -v '^ *+' conftest.er1
>conftest.err
15431 cat conftest.err
>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); } &&
15434 { ac_try
='test -z "$ac_c_werror_flag"
15435 || test ! -s conftest.err'
15436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15437 (eval $ac_try) 2>&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); }; } &&
15441 { ac_try
='test -s conftest$ac_exeext'
15442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15443 (eval $ac_try) 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); }; }; then
15447 eval "$as_ac_var=yes"
15449 echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.
$ac_ext >&5
15452 eval "$as_ac_var=no"
15454 rm -f conftest.err conftest.
$ac_objext \
15455 conftest
$ac_exeext conftest.
$ac_ext
15457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15459 if test `eval echo '${'$as_ac_var'}'` = yes; then
15460 cat >>confdefs.h
<<_ACEOF
15461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15468 for ac_func
in sbrk
15470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15471 echo "$as_me:$LINENO: checking for $ac_func" >&5
15472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15473 if eval "test \"\${$as_ac_var+set}\" = set"; then
15474 echo $ECHO_N "(cached) $ECHO_C" >&6
15476 cat >conftest.
$ac_ext <<_ACEOF
15479 cat confdefs.h
>>conftest.
$ac_ext
15480 cat >>conftest.
$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15484 #define $ac_func innocuous_$ac_func
15486 /* System header to define __stub macros and hopefully few prototypes,
15487 which can conflict with char $ac_func (); below.
15488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15489 <limits.h> exists even on freestanding compilers. */
15492 # include <limits.h>
15494 # include <assert.h>
15499 /* Override any gcc2 internal prototype to avoid an error. */
15504 /* We use char because int might match the return type of a gcc2
15505 builtin and then its argument prototype would still apply. */
15507 /* The GNU C library defines this for functions which it implements
15508 to always fail with ENOSYS. Some functions are actually named
15509 something starting with __ and the normal name is an alias. */
15510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15513 char (*f) () = $ac_func;
15522 return f != $ac_func;
15527 rm -f conftest.
$ac_objext conftest
$ac_exeext
15528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15529 (eval $ac_link) 2>conftest.er1
15531 grep -v '^ *+' conftest.er1
>conftest.err
15533 cat conftest.err
>&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); } &&
15536 { ac_try
='test -z "$ac_c_werror_flag"
15537 || test ! -s conftest.err'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; } &&
15543 { ac_try
='test -s conftest$ac_exeext'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; }; then
15549 eval "$as_ac_var=yes"
15551 echo "$as_me: failed program was:" >&5
15552 sed 's/^/| /' conftest.
$ac_ext >&5
15554 eval "$as_ac_var=no"
15556 rm -f conftest.err conftest.
$ac_objext \
15557 conftest
$ac_exeext conftest.
$ac_ext
15559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15561 if test `eval echo '${'$as_ac_var'}'` = yes; then
15562 cat >>confdefs.h
<<_ACEOF
15563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15571 for ac_func
in setpgid setpgrp
15573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15574 echo "$as_me:$LINENO: checking for $ac_func" >&5
15575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15576 if eval "test \"\${$as_ac_var+set}\" = set"; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 cat >conftest.
$ac_ext <<_ACEOF
15582 cat confdefs.h
>>conftest.
$ac_ext
15583 cat >>conftest.
$ac_ext <<_ACEOF
15584 /* end confdefs.h. */
15585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15587 #define $ac_func innocuous_$ac_func
15589 /* System header to define __stub macros and hopefully few prototypes,
15590 which can conflict with char $ac_func (); below.
15591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15592 <limits.h> exists even on freestanding compilers. */
15595 # include <limits.h>
15597 # include <assert.h>
15602 /* Override any gcc2 internal prototype to avoid an error. */
15607 /* We use char because int might match the return type of a gcc2
15608 builtin and then its argument prototype would still apply. */
15610 /* The GNU C library defines this for functions which it implements
15611 to always fail with ENOSYS. Some functions are actually named
15612 something starting with __ and the normal name is an alias. */
15613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15616 char (*f) () = $ac_func;
15625 return f != $ac_func;
15630 rm -f conftest.
$ac_objext conftest
$ac_exeext
15631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15632 (eval $ac_link) 2>conftest.er1
15634 grep -v '^ *+' conftest.er1
>conftest.err
15636 cat conftest.err
>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } &&
15639 { ac_try
='test -z "$ac_c_werror_flag"
15640 || test ! -s conftest.err'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; } &&
15646 { ac_try
='test -s conftest$ac_exeext'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; }; then
15652 eval "$as_ac_var=yes"
15654 echo "$as_me: failed program was:" >&5
15655 sed 's/^/| /' conftest.
$ac_ext >&5
15657 eval "$as_ac_var=no"
15659 rm -f conftest.err conftest.
$ac_objext \
15660 conftest
$ac_exeext conftest.
$ac_ext
15662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15664 if test `eval echo '${'$as_ac_var'}'` = yes; then
15665 cat >>confdefs.h
<<_ACEOF
15666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15675 for ac_func
in sigaction sigprocmask sigsetmask
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 socketpair
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 syscall
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
15981 for ac_func
in ttrace
15983 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15984 echo "$as_me:$LINENO: checking for $ac_func" >&5
15985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15986 if eval "test \"\${$as_ac_var+set}\" = set"; then
15987 echo $ECHO_N "(cached) $ECHO_C" >&6
15989 cat >conftest.
$ac_ext <<_ACEOF
15992 cat confdefs.h
>>conftest.
$ac_ext
15993 cat >>conftest.
$ac_ext <<_ACEOF
15994 /* end confdefs.h. */
15995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15997 #define $ac_func innocuous_$ac_func
15999 /* System header to define __stub macros and hopefully few prototypes,
16000 which can conflict with char $ac_func (); below.
16001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16002 <limits.h> exists even on freestanding compilers. */
16005 # include <limits.h>
16007 # include <assert.h>
16012 /* Override any gcc2 internal prototype to avoid an error. */
16017 /* We use char because int might match the return type of a gcc2
16018 builtin and then its argument prototype would still apply. */
16020 /* The GNU C library defines this for functions which it implements
16021 to always fail with ENOSYS. Some functions are actually named
16022 something starting with __ and the normal name is an alias. */
16023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16026 char (*f) () = $ac_func;
16035 return f != $ac_func;
16040 rm -f conftest.
$ac_objext conftest
$ac_exeext
16041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16042 (eval $ac_link) 2>conftest.er1
16044 grep -v '^ *+' conftest.er1
>conftest.err
16046 cat conftest.err
>&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } &&
16049 { ac_try
='test -z "$ac_c_werror_flag"
16050 || test ! -s conftest.err'
16051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16052 (eval $ac_try) 2>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); }; } &&
16056 { ac_try
='test -s conftest$ac_exeext'
16057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 (eval $ac_try) 2>&5
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); }; }; then
16062 eval "$as_ac_var=yes"
16064 echo "$as_me: failed program was:" >&5
16065 sed 's/^/| /' conftest.
$ac_ext >&5
16067 eval "$as_ac_var=no"
16069 rm -f conftest.err conftest.
$ac_objext \
16070 conftest
$ac_exeext conftest.
$ac_ext
16072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16074 if test `eval echo '${'$as_ac_var'}'` = yes; then
16075 cat >>confdefs.h
<<_ACEOF
16076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16083 for ac_func
in wborder
16085 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16086 echo "$as_me:$LINENO: checking for $ac_func" >&5
16087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16088 if eval "test \"\${$as_ac_var+set}\" = set"; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 cat >conftest.
$ac_ext <<_ACEOF
16094 cat confdefs.h
>>conftest.
$ac_ext
16095 cat >>conftest.
$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16099 #define $ac_func innocuous_$ac_func
16101 /* System header to define __stub macros and hopefully few prototypes,
16102 which can conflict with char $ac_func (); below.
16103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16104 <limits.h> exists even on freestanding compilers. */
16107 # include <limits.h>
16109 # include <assert.h>
16114 /* Override any gcc2 internal prototype to avoid an error. */
16119 /* We use char because int might match the return type of a gcc2
16120 builtin and then its argument prototype would still apply. */
16122 /* The GNU C library defines this for functions which it implements
16123 to always fail with ENOSYS. Some functions are actually named
16124 something starting with __ and the normal name is an alias. */
16125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16128 char (*f) () = $ac_func;
16137 return f != $ac_func;
16142 rm -f conftest.
$ac_objext conftest
$ac_exeext
16143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16144 (eval $ac_link) 2>conftest.er1
16146 grep -v '^ *+' conftest.er1
>conftest.err
16148 cat conftest.err
>&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } &&
16151 { ac_try
='test -z "$ac_c_werror_flag"
16152 || test ! -s conftest.err'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; } &&
16158 { ac_try
='test -s conftest$ac_exeext'
16159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16160 (eval $ac_try) 2>&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); }; }; then
16164 eval "$as_ac_var=yes"
16166 echo "$as_me: failed program was:" >&5
16167 sed 's/^/| /' conftest.
$ac_ext >&5
16169 eval "$as_ac_var=no"
16171 rm -f conftest.err conftest.
$ac_objext \
16172 conftest
$ac_exeext conftest.
$ac_ext
16174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16176 if test `eval echo '${'$as_ac_var'}'` = yes; then
16177 cat >>confdefs.h
<<_ACEOF
16178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16185 # Check the return and argument types of ptrace. No canned test for
16186 # this, so roll our own.
16187 gdb_ptrace_headers
='
16188 #if HAVE_SYS_TYPES_H
16189 # include <sys/types.h>
16191 #if HAVE_SYS_PTRACE_H
16192 # include <sys/ptrace.h>
16195 # include <unistd.h>
16198 # There is no point in checking if we don't have a prototype.
16199 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
16200 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
16201 if test "${ac_cv_have_decl_ptrace+set}" = set; then
16202 echo $ECHO_N "(cached) $ECHO_C" >&6
16204 cat >conftest.
$ac_ext <<_ACEOF
16207 cat confdefs.h
>>conftest.
$ac_ext
16208 cat >>conftest.
$ac_ext <<_ACEOF
16209 /* end confdefs.h. */
16210 $gdb_ptrace_headers
16216 char *p = (char *) ptrace;
16223 rm -f conftest.
$ac_objext
16224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225 (eval $ac_compile) 2>conftest.er1
16227 grep -v '^ *+' conftest.er1
>conftest.err
16229 cat conftest.err
>&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } &&
16232 { ac_try
='test -z "$ac_c_werror_flag"
16233 || test ! -s conftest.err'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; } &&
16239 { ac_try
='test -s conftest.$ac_objext'
16240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241 (eval $ac_try) 2>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; }; then
16245 ac_cv_have_decl_ptrace
=yes
16247 echo "$as_me: failed program was:" >&5
16248 sed 's/^/| /' conftest.
$ac_ext >&5
16250 ac_cv_have_decl_ptrace
=no
16252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16254 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
16255 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
16256 if test $ac_cv_have_decl_ptrace = yes; then
16258 cat >>confdefs.h
<<_ACEOF
16259 #define HAVE_DECL_PTRACE 1
16264 cat >>confdefs.h
<<_ACEOF
16265 #define HAVE_DECL_PTRACE 0
16269 : ${gdb_cv_func_ptrace_ret='int'}
16270 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
16275 # Check return type.
16276 echo "$as_me:$LINENO: checking return type of ptrace" >&5
16277 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
16278 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
16279 echo $ECHO_N "(cached) $ECHO_C" >&6
16281 cat >conftest.
$ac_ext <<_ACEOF
16284 cat confdefs.h
>>conftest.
$ac_ext
16285 cat >>conftest.
$ac_ext <<_ACEOF
16286 /* end confdefs.h. */
16287 $gdb_ptrace_headers
16291 extern int ptrace ();
16296 rm -f conftest.
$ac_objext
16297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16298 (eval $ac_compile) 2>conftest.er1
16300 grep -v '^ *+' conftest.er1
>conftest.err
16302 cat conftest.err
>&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); } &&
16305 { ac_try
='test -z "$ac_c_werror_flag"
16306 || test ! -s conftest.err'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; } &&
16312 { ac_try
='test -s conftest.$ac_objext'
16313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314 (eval $ac_try) 2>&5
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }; }; then
16318 gdb_cv_func_ptrace_ret
='int'
16320 echo "$as_me: failed program was:" >&5
16321 sed 's/^/| /' conftest.
$ac_ext >&5
16323 gdb_cv_func_ptrace_ret
='long'
16325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16327 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
16328 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
16330 cat >>confdefs.h
<<_ACEOF
16331 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
16334 # Check argument types.
16335 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
16336 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
16337 if test "${gdb_cv_func_ptrace_args+set}" = set; then
16338 echo $ECHO_N "(cached) $ECHO_C" >&6
16341 for gdb_arg1
in 'int' 'long'; do
16342 for gdb_arg2
in 'pid_t' 'int' 'long'; do
16343 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
16344 for gdb_arg4
in 'int' 'long'; do
16345 cat >conftest.
$ac_ext <<_ACEOF
16348 cat confdefs.h
>>conftest.
$ac_ext
16349 cat >>conftest.
$ac_ext <<_ACEOF
16350 /* end confdefs.h. */
16351 $gdb_ptrace_headers
16356 extern $gdb_cv_func_ptrace_ret
16357 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
16363 rm -f conftest.
$ac_objext
16364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16365 (eval $ac_compile) 2>conftest.er1
16367 grep -v '^ *+' conftest.er1
>conftest.err
16369 cat conftest.err
>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); } &&
16372 { ac_try
='test -z "$ac_c_werror_flag"
16373 || test ! -s conftest.err'
16374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16375 (eval $ac_try) 2>&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); }; } &&
16379 { ac_try
='test -s conftest.$ac_objext'
16380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 (eval $ac_try) 2>&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }; }; then
16385 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.
$ac_ext >&5
16392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16393 for gdb_arg5
in 'int *' 'int' 'long'; do
16394 cat >conftest.
$ac_ext <<_ACEOF
16397 cat confdefs.h
>>conftest.
$ac_ext
16398 cat >>conftest.
$ac_ext <<_ACEOF
16399 /* end confdefs.h. */
16400 $gdb_ptrace_headers
16405 extern $gdb_cv_func_ptrace_ret
16406 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
16412 rm -f conftest.
$ac_objext
16413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16414 (eval $ac_compile) 2>conftest.er1
16416 grep -v '^ *+' conftest.er1
>conftest.err
16418 cat conftest.err
>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } &&
16421 { ac_try
='test -z "$ac_c_werror_flag"
16422 || test ! -s conftest.err'
16423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16424 (eval $ac_try) 2>&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); }; } &&
16428 { ac_try
='test -s conftest.$ac_objext'
16429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16430 (eval $ac_try) 2>&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); }; }; then
16435 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
16438 echo "$as_me: failed program was:" >&5
16439 sed 's/^/| /' conftest.
$ac_ext >&5
16442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16448 # Provide a safe default value.
16449 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
16452 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
16453 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
16454 ac_save_IFS
=$IFS; IFS
=','
16455 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
16459 cat >>confdefs.h
<<_ACEOF
16460 #define PTRACE_TYPE_ARG3 $3
16463 if test -n "$5"; then
16465 cat >>confdefs.h
<<_ACEOF
16466 #define PTRACE_TYPE_ARG5 $5
16471 if test "$cross_compiling" = no
; then
16472 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
16473 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
16474 if test "${ac_cv_func_setpgrp_void+set}" = set; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16477 if test "$cross_compiling" = yes; then
16478 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
16479 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
16480 { (exit 1); exit 1; }; }
16482 cat >conftest.
$ac_ext <<_ACEOF
16485 cat confdefs.h
>>conftest.
$ac_ext
16486 cat >>conftest.
$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16489 # include <unistd.h>
16495 /* If this system has a BSD-style setpgrp which takes arguments,
16496 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
16497 exit successfully. */
16498 exit (setpgrp (1,1) == -1 ? 0 : 1);
16503 rm -f conftest
$ac_exeext
16504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16505 (eval $ac_link) 2>&5
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; }; then
16514 ac_cv_func_setpgrp_void
=no
16516 echo "$as_me: program exited with status $ac_status" >&5
16517 echo "$as_me: failed program was:" >&5
16518 sed 's/^/| /' conftest.
$ac_ext >&5
16520 ( exit $ac_status )
16521 ac_cv_func_setpgrp_void
=yes
16523 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16526 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
16527 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
16528 if test $ac_cv_func_setpgrp_void = yes; then
16530 cat >>confdefs.h
<<\_ACEOF
16531 #define SETPGRP_VOID 1
16537 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
16538 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
16539 if test "${ac_cv_func_setpgrp_void+set}" = set; then
16540 echo $ECHO_N "(cached) $ECHO_C" >&6
16542 cat >conftest.
$ac_ext <<_ACEOF
16545 cat confdefs.h
>>conftest.
$ac_ext
16546 cat >>conftest.
$ac_ext <<_ACEOF
16547 /* end confdefs.h. */
16549 #include <unistd.h>
16555 if (setpgrp(1,1) == -1)
16564 rm -f conftest.
$ac_objext
16565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16566 (eval $ac_compile) 2>conftest.er1
16568 grep -v '^ *+' conftest.er1
>conftest.err
16570 cat conftest.err
>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); } &&
16573 { ac_try
='test -z "$ac_c_werror_flag"
16574 || test ! -s conftest.err'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; } &&
16580 { ac_try
='test -s conftest.$ac_objext'
16581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16582 (eval $ac_try) 2>&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); }; }; then
16586 ac_cv_func_setpgrp_void
=no
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.
$ac_ext >&5
16591 ac_cv_func_setpgrp_void
=yes
16593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16595 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
16596 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
16597 if test $ac_cv_func_setpgrp_void = yes; then
16598 cat >>confdefs.h
<<\_ACEOF
16599 #define SETPGRP_VOID 1
16605 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
16606 # since sigsetjmp might only be defined as a macro.
16607 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
16608 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
16609 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 cat >conftest.
$ac_ext <<_ACEOF
16615 cat confdefs.h
>>conftest.
$ac_ext
16616 cat >>conftest.
$ac_ext <<_ACEOF
16617 /* end confdefs.h. */
16619 #include <setjmp.h>
16624 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
16629 rm -f conftest.
$ac_objext
16630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16631 (eval $ac_compile) 2>conftest.er1
16633 grep -v '^ *+' conftest.er1
>conftest.err
16635 cat conftest.err
>&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); } &&
16638 { ac_try
='test -z "$ac_c_werror_flag"
16639 || test ! -s conftest.err'
16640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16641 (eval $ac_try) 2>&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); }; } &&
16645 { ac_try
='test -s conftest.$ac_objext'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; }; then
16651 gdb_cv_func_sigsetjmp
=yes
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.
$ac_ext >&5
16656 gdb_cv_func_sigsetjmp
=no
16658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16660 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
16661 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
16662 if test $gdb_cv_func_sigsetjmp = yes; then
16664 cat >>confdefs.h
<<\_ACEOF
16665 #define HAVE_SIGSETJMP 1
16670 # Assume we'll default to using the included libiberty regex.
16671 gdb_use_included_regex
=yes
16673 # However, if the system regex is GNU regex, then default to *not*
16674 # using the included regex.
16675 echo "$as_me:$LINENO: checking for GNU regex" >&5
16676 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
16677 if test "${gdb_cv_have_gnu_regex+set}" = set; then
16678 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 cat >conftest.
$ac_ext <<_ACEOF
16683 cat confdefs.h
>>conftest.
$ac_ext
16684 cat >>conftest.
$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 #include <gnu-versions.h>
16690 #define REGEX_INTERFACE_VERSION 1
16691 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
16692 # error "Version mismatch"
16698 rm -f conftest.
$ac_objext
16699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16700 (eval $ac_compile) 2>conftest.er1
16702 grep -v '^ *+' conftest.er1
>conftest.err
16704 cat conftest.err
>&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } &&
16707 { ac_try
='test -z "$ac_c_werror_flag"
16708 || test ! -s conftest.err'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; } &&
16714 { ac_try
='test -s conftest.$ac_objext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 gdb_cv_have_gnu_regex
=yes
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.
$ac_ext >&5
16725 gdb_cv_have_gnu_regex
=no
16727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16729 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
16730 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
16731 if test $gdb_cv_have_gnu_regex = yes; then
16732 gdb_use_included_regex
=no
16736 # Check whether --with-included-regex or --without-included-regex was given.
16737 if test "${with_included_regex+set}" = set; then
16738 withval
="$with_included_regex"
16739 gdb_with_regex
=$withval
16741 gdb_with_regex
=$gdb_use_included_regex
16743 if test "$gdb_with_regex" = yes; then
16745 cat >>confdefs.h
<<\_ACEOF
16746 #define USE_INCLUDED_REGEX 1
16751 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
16752 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
16753 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
16754 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
16755 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 cat >conftest.
$ac_ext <<_ACEOF
16760 cat confdefs.h
>>conftest.
$ac_ext
16761 cat >>conftest.
$ac_ext <<_ACEOF
16762 /* end confdefs.h. */
16763 #include <sys/param.h>
16764 #include <sys/proc.h>
16770 static struct thread ac_aggr;
16771 if (ac_aggr.td_pcb)
16777 rm -f conftest.
$ac_objext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16779 (eval $ac_compile) 2>conftest.er1
16781 grep -v '^ *+' conftest.er1
>conftest.err
16783 cat conftest.err
>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } &&
16786 { ac_try
='test -z "$ac_c_werror_flag"
16787 || test ! -s conftest.err'
16788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16789 (eval $ac_try) 2>&5
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); }; } &&
16793 { ac_try
='test -s conftest.$ac_objext'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; }; then
16799 ac_cv_member_struct_thread_td_pcb
=yes
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.
$ac_ext >&5
16804 cat >conftest.
$ac_ext <<_ACEOF
16807 cat confdefs.h
>>conftest.
$ac_ext
16808 cat >>conftest.
$ac_ext <<_ACEOF
16809 /* end confdefs.h. */
16810 #include <sys/param.h>
16811 #include <sys/proc.h>
16817 static struct thread ac_aggr;
16818 if (sizeof ac_aggr.td_pcb)
16824 rm -f conftest.
$ac_objext
16825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16826 (eval $ac_compile) 2>conftest.er1
16828 grep -v '^ *+' conftest.er1
>conftest.err
16830 cat conftest.err
>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); } &&
16833 { ac_try
='test -z "$ac_c_werror_flag"
16834 || test ! -s conftest.err'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; } &&
16840 { ac_try
='test -s conftest.$ac_objext'
16841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16842 (eval $ac_try) 2>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; }; then
16846 ac_cv_member_struct_thread_td_pcb
=yes
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.
$ac_ext >&5
16851 ac_cv_member_struct_thread_td_pcb
=no
16853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16857 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
16858 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
16859 if test $ac_cv_member_struct_thread_td_pcb = yes; then
16861 cat >>confdefs.h
<<_ACEOF
16862 #define HAVE_STRUCT_THREAD_TD_PCB 1
16869 # See if <sys/lwp.h> defines `struct lwp`.
16870 echo "$as_me:$LINENO: checking for struct lwp" >&5
16871 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
16872 if test "${gdb_cv_struct_lwp+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16875 cat >conftest.
$ac_ext <<_ACEOF
16878 cat confdefs.h
>>conftest.
$ac_ext
16879 cat >>conftest.
$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881 #include <sys/param.h>
16882 #include <sys/lwp.h>
16891 rm -f conftest.
$ac_objext
16892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16893 (eval $ac_compile) 2>conftest.er1
16895 grep -v '^ *+' conftest.er1
>conftest.err
16897 cat conftest.err
>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } &&
16900 { ac_try
='test -z "$ac_c_werror_flag"
16901 || test ! -s conftest.err'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; } &&
16907 { ac_try
='test -s conftest.$ac_objext'
16908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16909 (eval $ac_try) 2>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); }; }; then
16913 gdb_cv_struct_lwp
=yes
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.
$ac_ext >&5
16918 gdb_cv_struct_lwp
=no
16920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16922 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
16923 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
16924 if test $gdb_cv_struct_lwp = yes; then
16926 cat >>confdefs.h
<<\_ACEOF
16927 #define HAVE_STRUCT_LWP 1
16932 # See if <machine/reg.h> degines `struct reg'.
16933 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
16934 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
16935 if test "${gdb_cv_struct_reg+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16938 cat >conftest.
$ac_ext <<_ACEOF
16941 cat confdefs.h
>>conftest.
$ac_ext
16942 cat >>conftest.
$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 #include <sys/types.h>
16945 #include <machine/reg.h>
16954 rm -f conftest.
$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956 (eval $ac_compile) 2>conftest.er1
16958 grep -v '^ *+' conftest.er1
>conftest.err
16960 cat conftest.err
>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try
='test -z "$ac_c_werror_flag"
16964 || test ! -s conftest.err'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; } &&
16970 { ac_try
='test -s conftest.$ac_objext'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; }; then
16976 gdb_cv_struct_reg
=yes
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.
$ac_ext >&5
16981 gdb_cv_struct_reg
=no
16983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16985 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
16986 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
16987 if test $gdb_cv_struct_reg = yes; then
16989 cat >>confdefs.h
<<\_ACEOF
16990 #define HAVE_STRUCT_REG 1
16995 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
16996 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
16997 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
16998 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
16999 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
17000 echo $ECHO_N "(cached) $ECHO_C" >&6
17002 cat >conftest.
$ac_ext <<_ACEOF
17005 cat confdefs.h
>>conftest.
$ac_ext
17006 cat >>conftest.
$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17008 #include <machine/reg.h>
17013 static struct reg ac_aggr;
17020 rm -f conftest.
$ac_objext
17021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17022 (eval $ac_compile) 2>conftest.er1
17024 grep -v '^ *+' conftest.er1
>conftest.err
17026 cat conftest.err
>&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } &&
17029 { ac_try
='test -z "$ac_c_werror_flag"
17030 || test ! -s conftest.err'
17031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032 (eval $ac_try) 2>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; } &&
17036 { ac_try
='test -s conftest.$ac_objext'
17037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038 (eval $ac_try) 2>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17042 ac_cv_member_struct_reg_r_fs
=yes
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.
$ac_ext >&5
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 #include <machine/reg.h>
17058 static struct reg ac_aggr;
17059 if (sizeof ac_aggr.r_fs)
17065 rm -f conftest.
$ac_objext
17066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17067 (eval $ac_compile) 2>conftest.er1
17069 grep -v '^ *+' conftest.er1
>conftest.err
17071 cat conftest.err
>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } &&
17074 { ac_try
='test -z "$ac_c_werror_flag"
17075 || test ! -s conftest.err'
17076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077 (eval $ac_try) 2>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; } &&
17081 { ac_try
='test -s conftest.$ac_objext'
17082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17083 (eval $ac_try) 2>&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); }; }; then
17087 ac_cv_member_struct_reg_r_fs
=yes
17089 echo "$as_me: failed program was:" >&5
17090 sed 's/^/| /' conftest.
$ac_ext >&5
17092 ac_cv_member_struct_reg_r_fs
=no
17094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17098 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
17099 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
17100 if test $ac_cv_member_struct_reg_r_fs = yes; then
17102 cat >>confdefs.h
<<_ACEOF
17103 #define HAVE_STRUCT_REG_R_FS 1
17108 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
17109 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
17110 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
17111 echo $ECHO_N "(cached) $ECHO_C" >&6
17113 cat >conftest.
$ac_ext <<_ACEOF
17116 cat confdefs.h
>>conftest.
$ac_ext
17117 cat >>conftest.
$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17119 #include <machine/reg.h>
17124 static struct reg ac_aggr;
17131 rm -f conftest.
$ac_objext
17132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17133 (eval $ac_compile) 2>conftest.er1
17135 grep -v '^ *+' conftest.er1
>conftest.err
17137 cat conftest.err
>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } &&
17140 { ac_try
='test -z "$ac_c_werror_flag"
17141 || test ! -s conftest.err'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; } &&
17147 { ac_try
='test -s conftest.$ac_objext'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; }; then
17153 ac_cv_member_struct_reg_r_gs
=yes
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.
$ac_ext >&5
17158 cat >conftest.
$ac_ext <<_ACEOF
17161 cat confdefs.h
>>conftest.
$ac_ext
17162 cat >>conftest.
$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17164 #include <machine/reg.h>
17169 static struct reg ac_aggr;
17170 if (sizeof ac_aggr.r_gs)
17176 rm -f conftest.
$ac_objext
17177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17178 (eval $ac_compile) 2>conftest.er1
17180 grep -v '^ *+' conftest.er1
>conftest.err
17182 cat conftest.err
>&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); } &&
17185 { ac_try
='test -z "$ac_c_werror_flag"
17186 || test ! -s conftest.err'
17187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17188 (eval $ac_try) 2>&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); }; } &&
17192 { ac_try
='test -s conftest.$ac_objext'
17193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17194 (eval $ac_try) 2>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; }; then
17198 ac_cv_member_struct_reg_r_gs
=yes
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.
$ac_ext >&5
17203 ac_cv_member_struct_reg_r_gs
=no
17205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17209 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
17210 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
17211 if test $ac_cv_member_struct_reg_r_gs = yes; then
17213 cat >>confdefs.h
<<_ACEOF
17214 #define HAVE_STRUCT_REG_R_GS 1
17221 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
17222 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
17223 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
17224 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 cat >conftest.
$ac_ext <<_ACEOF
17230 cat confdefs.h
>>conftest.
$ac_ext
17231 cat >>conftest.
$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233 #include <sys/ptrace.h>
17242 rm -f conftest.
$ac_objext
17243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17244 (eval $ac_compile) 2>conftest.er1
17246 grep -v '^ *+' conftest.er1
>conftest.err
17248 cat conftest.err
>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } &&
17251 { ac_try
='test -z "$ac_c_werror_flag"
17252 || test ! -s conftest.err'
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17254 (eval $ac_try) 2>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); }; } &&
17258 { ac_try
='test -s conftest.$ac_objext'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; }; then
17264 gdb_cv_have_ptrace_getregs
=yes
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.
$ac_ext >&5
17269 gdb_cv_have_ptrace_getregs
=no
17271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17274 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
17275 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
17276 if test $gdb_cv_have_ptrace_getregs = yes; then
17277 cat >>confdefs.h
<<\_ACEOF
17278 #define HAVE_PTRACE_GETREGS 1
17283 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
17284 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
17285 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
17286 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 cat >conftest.
$ac_ext <<_ACEOF
17292 cat confdefs.h
>>conftest.
$ac_ext
17293 cat >>conftest.
$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 #include <sys/ptrace.h>
17304 rm -f conftest.
$ac_objext
17305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17306 (eval $ac_compile) 2>conftest.er1
17308 grep -v '^ *+' conftest.er1
>conftest.err
17310 cat conftest.err
>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); } &&
17313 { ac_try
='test -z "$ac_c_werror_flag"
17314 || test ! -s conftest.err'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; } &&
17320 { ac_try
='test -s conftest.$ac_objext'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; }; then
17326 gdb_cv_have_ptrace_getfpxregs
=yes
17328 echo "$as_me: failed program was:" >&5
17329 sed 's/^/| /' conftest.
$ac_ext >&5
17331 gdb_cv_have_ptrace_getfpxregs
=no
17333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17336 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
17337 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
17338 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
17339 cat >>confdefs.h
<<\_ACEOF
17340 #define HAVE_PTRACE_GETFPXREGS 1
17345 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
17346 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
17347 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
17348 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
17349 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 cat >conftest.
$ac_ext <<_ACEOF
17354 cat confdefs.h
>>conftest.
$ac_ext
17355 cat >>conftest.
$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17357 #include <sys/types.h>
17358 #include <sys/ptrace.h>
17367 rm -f conftest.
$ac_objext
17368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17369 (eval $ac_compile) 2>conftest.er1
17371 grep -v '^ *+' conftest.er1
>conftest.err
17373 cat conftest.err
>&5
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); } &&
17376 { ac_try
='test -z "$ac_c_werror_flag"
17377 || test ! -s conftest.err'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; } &&
17383 { ac_try
='test -s conftest.$ac_objext'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; }; then
17389 gdb_cv_have_pt_getdbregs
=yes
17391 echo "$as_me: failed program was:" >&5
17392 sed 's/^/| /' conftest.
$ac_ext >&5
17394 gdb_cv_have_pt_getdbregs
=no
17396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17399 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
17400 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
17401 if test $gdb_cv_have_pt_getdbregs = yes; then
17402 cat >>confdefs.h
<<\_ACEOF
17403 #define HAVE_PT_GETDBREGS 1
17408 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
17409 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
17410 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
17411 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 cat >conftest.
$ac_ext <<_ACEOF
17417 cat confdefs.h
>>conftest.
$ac_ext
17418 cat >>conftest.
$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420 #include <sys/types.h>
17421 #include <sys/ptrace.h>
17430 rm -f conftest.
$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17434 grep -v '^ *+' conftest.er1
>conftest.err
17436 cat conftest.err
>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try
='test -z "$ac_c_werror_flag"
17440 || test ! -s conftest.err'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; } &&
17446 { ac_try
='test -s conftest.$ac_objext'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; }; then
17452 gdb_cv_have_pt_getxmmregs
=yes
17454 echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.
$ac_ext >&5
17457 gdb_cv_have_pt_getxmmregs
=no
17459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17462 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
17463 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
17464 if test $gdb_cv_have_pt_getxmmregs = yes; then
17465 cat >>confdefs.h
<<\_ACEOF
17466 #define HAVE_PT_GETXMMREGS 1
17471 # See if stdint.h provides the uintptr_t type.
17472 # Autoconf 2.5X has an improved AC_CHECK_TYPE which will simplify this.
17473 echo "$as_me:$LINENO: checking for uintptr_t in stdint.h" >&5
17474 echo $ECHO_N "checking for uintptr_t in stdint.h... $ECHO_C" >&6
17475 if test "${gdb_cv_have_uintptr_t+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 cat >conftest.
$ac_ext <<_ACEOF
17481 cat confdefs.h
>>conftest.
$ac_ext
17482 cat >>conftest.
$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 #include <stdint.h>
17493 rm -f conftest.
$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17497 grep -v '^ *+' conftest.er1
>conftest.err
17499 cat conftest.err
>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try
='test -z "$ac_c_werror_flag"
17503 || test ! -s conftest.err'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; } &&
17509 { ac_try
='test -s conftest.$ac_objext'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17515 gdb_cv_have_uintptr_t
=yes
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.
$ac_ext >&5
17520 gdb_cv_have_uintptr_t
=no
17522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17524 echo "$as_me:$LINENO: result: $gdb_cv_have_uintptr_t" >&5
17525 echo "${ECHO_T}$gdb_cv_have_uintptr_t" >&6
17526 if test $gdb_cv_have_uintptr_t = yes; then
17528 cat >>confdefs.h
<<\_ACEOF
17529 #define HAVE_UINTPTR_T 1
17534 # If we are configured native on GNU/Linux, work around problems with
17536 # Also detect which type of /proc is in use, such as for Unixware or Solaris.
17538 if test "${target}" = "${host}"; then
17540 i
[3456]86-*-linux*)
17541 cat >>confdefs.h
<<\_ACEOF
17542 #define START_INFERIOR_TRAPS_EXPECTED 2
17545 cat >>confdefs.h
<<\_ACEOF
17546 #define sys_quotactl 1
17550 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
17551 cat >>confdefs.h
<<\_ACEOF
17552 #define NEW_PROC_API 1
17556 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
17557 cat >>confdefs.h
<<\_ACEOF
17558 #define NEW_PROC_API 1
17563 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
17564 cat >>confdefs.h
<<\_ACEOF
17565 #define _KMEMUSER 1
17572 if test "$ac_cv_header_sys_procfs_h" = yes; then
17573 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
17574 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
17575 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17578 cat >conftest.
$ac_ext <<_ACEOF
17581 cat confdefs.h
>>conftest.
$ac_ext
17582 cat >>conftest.
$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17586 #include <sys/procfs.h>
17595 rm -f conftest.
$ac_objext
17596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17597 (eval $ac_compile) 2>conftest.er1
17599 grep -v '^ *+' conftest.er1
>conftest.err
17601 cat conftest.err
>&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); } &&
17604 { ac_try
='test -z "$ac_c_werror_flag"
17605 || test ! -s conftest.err'
17606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17607 (eval $ac_try) 2>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); }; } &&
17611 { ac_try
='test -s conftest.$ac_objext'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; }; then
17617 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
17619 echo "$as_me: failed program was:" >&5
17620 sed 's/^/| /' conftest.
$ac_ext >&5
17622 bfd_cv_have_sys_procfs_type_pstatus_t
=no
17625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17628 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
17630 cat >>confdefs.h
<<\_ACEOF
17631 #define HAVE_PSTATUS_T 1
17635 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
17636 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
17638 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
17639 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
17640 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 cat >conftest.
$ac_ext <<_ACEOF
17646 cat confdefs.h
>>conftest.
$ac_ext
17647 cat >>conftest.
$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17651 #include <sys/procfs.h>
17660 rm -f conftest.
$ac_objext
17661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17662 (eval $ac_compile) 2>conftest.er1
17664 grep -v '^ *+' conftest.er1
>conftest.err
17666 cat conftest.err
>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); } &&
17669 { ac_try
='test -z "$ac_c_werror_flag"
17670 || test ! -s conftest.err'
17671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 (eval $ac_try) 2>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; } &&
17676 { ac_try
='test -s conftest.$ac_objext'
17677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17678 (eval $ac_try) 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; }; then
17682 bfd_cv_have_sys_procfs_type_prrun_t
=yes
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.
$ac_ext >&5
17687 bfd_cv_have_sys_procfs_type_prrun_t
=no
17690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17693 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
17695 cat >>confdefs.h
<<\_ACEOF
17696 #define HAVE_PRRUN_T 1
17700 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
17701 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
17703 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
17704 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
17705 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
17706 echo $ECHO_N "(cached) $ECHO_C" >&6
17708 cat >conftest.
$ac_ext <<_ACEOF
17711 cat confdefs.h
>>conftest.
$ac_ext
17712 cat >>conftest.
$ac_ext <<_ACEOF
17713 /* end confdefs.h. */
17716 #include <sys/procfs.h>
17725 rm -f conftest.
$ac_objext
17726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17727 (eval $ac_compile) 2>conftest.er1
17729 grep -v '^ *+' conftest.er1
>conftest.err
17731 cat conftest.err
>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); } &&
17734 { ac_try
='test -z "$ac_c_werror_flag"
17735 || test ! -s conftest.err'
17736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17737 (eval $ac_try) 2>&5
17739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17740 (exit $ac_status); }; } &&
17741 { ac_try
='test -s conftest.$ac_objext'
17742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17743 (eval $ac_try) 2>&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); }; }; then
17747 bfd_cv_have_sys_procfs_type_gregset_t
=yes
17749 echo "$as_me: failed program was:" >&5
17750 sed 's/^/| /' conftest.
$ac_ext >&5
17752 bfd_cv_have_sys_procfs_type_gregset_t
=no
17755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17758 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
17760 cat >>confdefs.h
<<\_ACEOF
17761 #define HAVE_GREGSET_T 1
17765 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
17766 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
17768 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
17769 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
17770 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
17771 echo $ECHO_N "(cached) $ECHO_C" >&6
17773 cat >conftest.
$ac_ext <<_ACEOF
17776 cat confdefs.h
>>conftest.
$ac_ext
17777 cat >>conftest.
$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17781 #include <sys/procfs.h>
17790 rm -f conftest.
$ac_objext
17791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17792 (eval $ac_compile) 2>conftest.er1
17794 grep -v '^ *+' conftest.er1
>conftest.err
17796 cat conftest.err
>&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } &&
17799 { ac_try
='test -z "$ac_c_werror_flag"
17800 || test ! -s conftest.err'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; } &&
17806 { ac_try
='test -s conftest.$ac_objext'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; }; then
17812 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
17814 echo "$as_me: failed program was:" >&5
17815 sed 's/^/| /' conftest.
$ac_ext >&5
17817 bfd_cv_have_sys_procfs_type_fpregset_t
=no
17820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17823 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
17825 cat >>confdefs.h
<<\_ACEOF
17826 #define HAVE_FPREGSET_T 1
17830 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
17831 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
17833 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
17834 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
17835 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
17836 echo $ECHO_N "(cached) $ECHO_C" >&6
17838 cat >conftest.
$ac_ext <<_ACEOF
17841 cat confdefs.h
>>conftest.
$ac_ext
17842 cat >>conftest.
$ac_ext <<_ACEOF
17843 /* end confdefs.h. */
17846 #include <sys/procfs.h>
17855 rm -f conftest.
$ac_objext
17856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857 (eval $ac_compile) 2>conftest.er1
17859 grep -v '^ *+' conftest.er1
>conftest.err
17861 cat conftest.err
>&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); } &&
17864 { ac_try
='test -z "$ac_c_werror_flag"
17865 || test ! -s conftest.err'
17866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17867 (eval $ac_try) 2>&5
17869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17870 (exit $ac_status); }; } &&
17871 { ac_try
='test -s conftest.$ac_objext'
17872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17873 (eval $ac_try) 2>&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); }; }; then
17877 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.
$ac_ext >&5
17882 bfd_cv_have_sys_procfs_type_prgregset_t
=no
17885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17888 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
17890 cat >>confdefs.h
<<\_ACEOF
17891 #define HAVE_PRGREGSET_T 1
17895 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
17896 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
17898 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
17899 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
17900 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
17901 echo $ECHO_N "(cached) $ECHO_C" >&6
17903 cat >conftest.
$ac_ext <<_ACEOF
17906 cat confdefs.h
>>conftest.
$ac_ext
17907 cat >>conftest.
$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17911 #include <sys/procfs.h>
17920 rm -f conftest.
$ac_objext
17921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17922 (eval $ac_compile) 2>conftest.er1
17924 grep -v '^ *+' conftest.er1
>conftest.err
17926 cat conftest.err
>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } &&
17929 { ac_try
='test -z "$ac_c_werror_flag"
17930 || test ! -s conftest.err'
17931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17932 (eval $ac_try) 2>&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; } &&
17936 { ac_try
='test -s conftest.$ac_objext'
17937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17938 (eval $ac_try) 2>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); }; }; then
17942 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
17944 echo "$as_me: failed program was:" >&5
17945 sed 's/^/| /' conftest.
$ac_ext >&5
17947 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
17950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17953 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
17955 cat >>confdefs.h
<<\_ACEOF
17956 #define HAVE_PRFPREGSET_T 1
17960 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
17961 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
17963 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
17964 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
17965 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 cat >conftest.
$ac_ext <<_ACEOF
17971 cat confdefs.h
>>conftest.
$ac_ext
17972 cat >>conftest.
$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17976 #include <sys/procfs.h>
17985 rm -f conftest.
$ac_objext
17986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17987 (eval $ac_compile) 2>conftest.er1
17989 grep -v '^ *+' conftest.er1
>conftest.err
17991 cat conftest.err
>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); } &&
17994 { ac_try
='test -z "$ac_c_werror_flag"
17995 || test ! -s conftest.err'
17996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17997 (eval $ac_try) 2>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); }; } &&
18001 { ac_try
='test -s conftest.$ac_objext'
18002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18003 (eval $ac_try) 2>&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); }; }; then
18007 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.
$ac_ext >&5
18012 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
18015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18018 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
18020 cat >>confdefs.h
<<\_ACEOF
18021 #define HAVE_PRGREGSET32_T 1
18025 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
18026 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
18028 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
18029 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
18030 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
18031 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 cat >conftest.
$ac_ext <<_ACEOF
18036 cat confdefs.h
>>conftest.
$ac_ext
18037 cat >>conftest.
$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18041 #include <sys/procfs.h>
18045 prfpregset32_t avar
18050 rm -f conftest.
$ac_objext
18051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18052 (eval $ac_compile) 2>conftest.er1
18054 grep -v '^ *+' conftest.er1
>conftest.err
18056 cat conftest.err
>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } &&
18059 { ac_try
='test -z "$ac_c_werror_flag"
18060 || test ! -s conftest.err'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; } &&
18066 { ac_try
='test -s conftest.$ac_objext'
18067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18068 (eval $ac_try) 2>&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); }; }; then
18072 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
18074 echo "$as_me: failed program was:" >&5
18075 sed 's/^/| /' conftest.
$ac_ext >&5
18077 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
18080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18083 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
18085 cat >>confdefs.h
<<\_ACEOF
18086 #define HAVE_PRFPREGSET32_T 1
18090 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
18091 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
18093 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
18094 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
18095 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 cat >conftest.
$ac_ext <<_ACEOF
18101 cat confdefs.h
>>conftest.
$ac_ext
18102 cat >>conftest.
$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18106 #include <sys/procfs.h>
18115 rm -f conftest.
$ac_objext
18116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18117 (eval $ac_compile) 2>conftest.er1
18119 grep -v '^ *+' conftest.er1
>conftest.err
18121 cat conftest.err
>&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } &&
18124 { ac_try
='test -z "$ac_c_werror_flag"
18125 || test ! -s conftest.err'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; } &&
18131 { ac_try
='test -s conftest.$ac_objext'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; }; then
18137 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.
$ac_ext >&5
18142 bfd_cv_have_sys_procfs_type_lwpid_t
=no
18145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18148 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
18150 cat >>confdefs.h
<<\_ACEOF
18151 #define HAVE_LWPID_T 1
18155 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
18156 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
18158 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
18159 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
18160 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
18161 echo $ECHO_N "(cached) $ECHO_C" >&6
18163 cat >conftest.
$ac_ext <<_ACEOF
18166 cat confdefs.h
>>conftest.
$ac_ext
18167 cat >>conftest.
$ac_ext <<_ACEOF
18168 /* end confdefs.h. */
18171 #include <sys/procfs.h>
18180 rm -f conftest.
$ac_objext
18181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18182 (eval $ac_compile) 2>conftest.er1
18184 grep -v '^ *+' conftest.er1
>conftest.err
18186 cat conftest.err
>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); } &&
18189 { ac_try
='test -z "$ac_c_werror_flag"
18190 || test ! -s conftest.err'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; } &&
18196 { ac_try
='test -s conftest.$ac_objext'
18197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198 (eval $ac_try) 2>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; }; then
18202 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
18204 echo "$as_me: failed program was:" >&5
18205 sed 's/^/| /' conftest.
$ac_ext >&5
18207 bfd_cv_have_sys_procfs_type_psaddr_t
=no
18210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18213 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
18215 cat >>confdefs.h
<<\_ACEOF
18216 #define HAVE_PSADDR_T 1
18220 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
18221 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
18223 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
18224 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
18225 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
18226 echo $ECHO_N "(cached) $ECHO_C" >&6
18228 cat >conftest.
$ac_ext <<_ACEOF
18231 cat confdefs.h
>>conftest.
$ac_ext
18232 cat >>conftest.
$ac_ext <<_ACEOF
18233 /* end confdefs.h. */
18236 #include <sys/procfs.h>
18245 rm -f conftest.
$ac_objext
18246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18247 (eval $ac_compile) 2>conftest.er1
18249 grep -v '^ *+' conftest.er1
>conftest.err
18251 cat conftest.err
>&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } &&
18254 { ac_try
='test -z "$ac_c_werror_flag"
18255 || test ! -s conftest.err'
18256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257 (eval $ac_try) 2>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try
='test -s conftest.$ac_objext'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; }; then
18267 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
18269 echo "$as_me: failed program was:" >&5
18270 sed 's/^/| /' conftest.
$ac_ext >&5
18272 bfd_cv_have_sys_procfs_type_prsysent_t
=no
18275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18278 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
18280 cat >>confdefs.h
<<\_ACEOF
18281 #define HAVE_PRSYSENT_T 1
18285 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
18286 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
18288 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
18289 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
18290 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
18291 echo $ECHO_N "(cached) $ECHO_C" >&6
18293 cat >conftest.
$ac_ext <<_ACEOF
18296 cat confdefs.h
>>conftest.
$ac_ext
18297 cat >>conftest.
$ac_ext <<_ACEOF
18298 /* end confdefs.h. */
18301 #include <sys/procfs.h>
18310 rm -f conftest.
$ac_objext
18311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18312 (eval $ac_compile) 2>conftest.er1
18314 grep -v '^ *+' conftest.er1
>conftest.err
18316 cat conftest.err
>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } &&
18319 { ac_try
='test -z "$ac_c_werror_flag"
18320 || test ! -s conftest.err'
18321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322 (eval $ac_try) 2>&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; } &&
18326 { ac_try
='test -s conftest.$ac_objext'
18327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328 (eval $ac_try) 2>&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; }; then
18332 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
18334 echo "$as_me: failed program was:" >&5
18335 sed 's/^/| /' conftest.
$ac_ext >&5
18337 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
18340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18343 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
18345 cat >>confdefs.h
<<\_ACEOF
18346 #define HAVE_PR_SIGSET_T 1
18350 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
18351 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
18353 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
18354 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
18355 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
18356 echo $ECHO_N "(cached) $ECHO_C" >&6
18358 cat >conftest.
$ac_ext <<_ACEOF
18361 cat confdefs.h
>>conftest.
$ac_ext
18362 cat >>conftest.
$ac_ext <<_ACEOF
18363 /* end confdefs.h. */
18366 #include <sys/procfs.h>
18370 pr_sigaction64_t avar
18375 rm -f conftest.
$ac_objext
18376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18377 (eval $ac_compile) 2>conftest.er1
18379 grep -v '^ *+' conftest.er1
>conftest.err
18381 cat conftest.err
>&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } &&
18384 { ac_try
='test -z "$ac_c_werror_flag"
18385 || test ! -s conftest.err'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; } &&
18391 { ac_try
='test -s conftest.$ac_objext'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; }; then
18397 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.
$ac_ext >&5
18402 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
18405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18408 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
18410 cat >>confdefs.h
<<\_ACEOF
18411 #define HAVE_PR_SIGACTION64_T 1
18415 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
18416 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
18418 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
18419 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
18420 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
18421 echo $ECHO_N "(cached) $ECHO_C" >&6
18423 cat >conftest.
$ac_ext <<_ACEOF
18426 cat confdefs.h
>>conftest.
$ac_ext
18427 cat >>conftest.
$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18431 #include <sys/procfs.h>
18435 pr_siginfo64_t avar
18440 rm -f conftest.
$ac_objext
18441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18442 (eval $ac_compile) 2>conftest.er1
18444 grep -v '^ *+' conftest.er1
>conftest.err
18446 cat conftest.err
>&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } &&
18449 { ac_try
='test -z "$ac_c_werror_flag"
18450 || test ! -s conftest.err'
18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18452 (eval $ac_try) 2>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; } &&
18456 { ac_try
='test -s conftest.$ac_objext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then
18462 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.
$ac_ext >&5
18467 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
18470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18473 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
18475 cat >>confdefs.h
<<\_ACEOF
18476 #define HAVE_PR_SIGINFO64_T 1
18480 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
18481 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
18487 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
18488 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
18489 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
18490 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
18491 echo $ECHO_N "(cached) $ECHO_C" >&6
18493 if test "$cross_compiling" = yes; then
18494 gdb_cv_prfpregset_t_broken
=yes
18496 cat >conftest.
$ac_ext <<_ACEOF
18499 cat confdefs.h
>>conftest.
$ac_ext
18500 cat >>conftest.
$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 #include <sys/procfs.h>
18505 if (sizeof (prfpregset_t) == sizeof (void *))
18510 rm -f conftest
$ac_exeext
18511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18512 (eval $ac_link) 2>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18517 (eval $ac_try) 2>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); }; }; then
18521 gdb_cv_prfpregset_t_broken
=no
18523 echo "$as_me: program exited with status $ac_status" >&5
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.
$ac_ext >&5
18527 ( exit $ac_status )
18528 gdb_cv_prfpregset_t_broken
=yes
18530 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18534 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
18535 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
18536 if test $gdb_cv_prfpregset_t_broken = yes; then
18537 cat >>confdefs.h
<<\_ACEOF
18538 #define PRFPREGSET_T_BROKEN 1
18545 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
18546 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
18547 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
18548 echo $ECHO_N "(cached) $ECHO_C" >&6
18550 cat >conftest.
$ac_ext <<_ACEOF
18553 cat confdefs.h
>>conftest.
$ac_ext
18554 cat >>conftest.
$ac_ext <<_ACEOF
18555 /* end confdefs.h. */
18556 #include <unistd.h>
18557 #include <sys/types.h>
18558 #include <sys/procfs.h>
18565 dummy = ioctl(0, PIOCSET, &dummy);
18571 rm -f conftest.
$ac_objext
18572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18573 (eval $ac_compile) 2>conftest.er1
18575 grep -v '^ *+' conftest.er1
>conftest.err
18577 cat conftest.err
>&5
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); } &&
18580 { ac_try
='test -z "$ac_c_werror_flag"
18581 || test ! -s conftest.err'
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; } &&
18587 { ac_try
='test -s conftest.$ac_objext'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; }; then
18593 gdb_cv_have_procfs_piocset
=yes
18595 echo "$as_me: failed program was:" >&5
18596 sed 's/^/| /' conftest.
$ac_ext >&5
18598 gdb_cv_have_procfs_piocset
=no
18600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18603 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
18604 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
18605 if test $gdb_cv_have_procfs_piocset = yes; then
18606 cat >>confdefs.h
<<\_ACEOF
18607 #define HAVE_PROCFS_PIOCSET 1
18613 if test ${host} = ${target} ; then
18615 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
18616 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
18617 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18620 cat >conftest.
$ac_ext <<_ACEOF
18623 cat confdefs.h
>>conftest.
$ac_ext
18624 cat >>conftest.
$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18630 struct link_map lm; (void) lm.l_addr;
18635 rm -f conftest.
$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637 (eval $ac_compile) 2>conftest.er1
18639 grep -v '^ *+' conftest.er1
>conftest.err
18641 cat conftest.err
>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } &&
18644 { ac_try
='test -z "$ac_c_werror_flag"
18645 || test ! -s conftest.err'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; } &&
18651 { ac_try
='test -s conftest.$ac_objext'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18657 gdb_cv_have_struct_link_map_with_l_members
=yes
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.
$ac_ext >&5
18662 gdb_cv_have_struct_link_map_with_l_members
=no
18664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18667 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
18668 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
18669 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
18670 cat >>confdefs.h
<<\_ACEOF
18671 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
18677 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
18678 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
18679 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
18680 echo $ECHO_N "(cached) $ECHO_C" >&6
18682 cat >conftest.
$ac_ext <<_ACEOF
18685 cat confdefs.h
>>conftest.
$ac_ext
18686 cat >>conftest.
$ac_ext <<_ACEOF
18687 /* end confdefs.h. */
18688 #include <sys/types.h>
18693 struct link_map lm; (void) lm.lm_addr;
18698 rm -f conftest.
$ac_objext
18699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18700 (eval $ac_compile) 2>conftest.er1
18702 grep -v '^ *+' conftest.er1
>conftest.err
18704 cat conftest.err
>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); } &&
18707 { ac_try
='test -z "$ac_c_werror_flag"
18708 || test ! -s conftest.err'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; } &&
18714 { ac_try
='test -s conftest.$ac_objext'
18715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18716 (eval $ac_try) 2>&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); }; }; then
18720 gdb_cv_have_struct_link_map_with_lm_members
=yes
18722 echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.
$ac_ext >&5
18725 gdb_cv_have_struct_link_map_with_lm_members
=no
18727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18730 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
18731 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
18732 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
18733 cat >>confdefs.h
<<\_ACEOF
18734 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
18740 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
18741 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
18742 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18745 cat >conftest.
$ac_ext <<_ACEOF
18748 cat confdefs.h
>>conftest.
$ac_ext
18749 cat >>conftest.
$ac_ext <<_ACEOF
18750 /* end confdefs.h. */
18751 #include <sys/types.h>
18752 #ifdef HAVE_NLIST_H
18759 struct so_map lm; (void) lm.som_addr;
18764 rm -f conftest.
$ac_objext
18765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18766 (eval $ac_compile) 2>conftest.er1
18768 grep -v '^ *+' conftest.er1
>conftest.err
18770 cat conftest.err
>&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); } &&
18773 { ac_try
='test -z "$ac_c_werror_flag"
18774 || test ! -s conftest.err'
18775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18776 (eval $ac_try) 2>&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); }; } &&
18780 { ac_try
='test -s conftest.$ac_objext'
18781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18782 (eval $ac_try) 2>&5
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); }; }; then
18786 gdb_cv_have_struct_so_map_with_som_members
=yes
18788 echo "$as_me: failed program was:" >&5
18789 sed 's/^/| /' conftest.
$ac_ext >&5
18791 gdb_cv_have_struct_so_map_with_som_members
=no
18793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18796 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
18797 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
18798 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
18799 cat >>confdefs.h
<<\_ACEOF
18800 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
18806 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
18807 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
18808 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
18809 echo $ECHO_N "(cached) $ECHO_C" >&6
18811 cat >conftest.
$ac_ext <<_ACEOF
18814 cat confdefs.h
>>conftest.
$ac_ext
18815 cat >>conftest.
$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18818 #include <sys/link.h>
18822 struct link_map32 l;
18827 rm -f conftest.
$ac_objext
18828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18829 (eval $ac_compile) 2>conftest.er1
18831 grep -v '^ *+' conftest.er1
>conftest.err
18833 cat conftest.err
>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } &&
18836 { ac_try
='test -z "$ac_c_werror_flag"
18837 || test ! -s conftest.err'
18838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839 (eval $ac_try) 2>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); }; } &&
18843 { ac_try
='test -s conftest.$ac_objext'
18844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845 (eval $ac_try) 2>&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); }; }; then
18849 gdb_cv_have_struct_link_map32
=yes
18851 echo "$as_me: failed program was:" >&5
18852 sed 's/^/| /' conftest.
$ac_ext >&5
18854 gdb_cv_have_struct_link_map32
=no
18856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18859 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
18860 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
18861 if test $gdb_cv_have_struct_link_map32 = yes; then
18862 cat >>confdefs.h
<<\_ACEOF
18863 #define HAVE_STRUCT_LINK_MAP32 1
18866 cat >>confdefs.h
<<\_ACEOF
18867 #define _SYSCALL32 1
18873 # Check if the compiler supports the `long long' type.
18875 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
18876 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
18877 if test "${gdb_cv_c_long_long+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 cat >conftest.
$ac_ext <<_ACEOF
18883 cat confdefs.h
>>conftest.
$ac_ext
18884 cat >>conftest.
$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 extern long long foo;
18890 switch (foo & 2) { case 0: return 1; }
18895 rm -f conftest.
$ac_objext
18896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18897 (eval $ac_compile) 2>conftest.er1
18899 grep -v '^ *+' conftest.er1
>conftest.err
18901 cat conftest.err
>&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } &&
18904 { ac_try
='test -z "$ac_c_werror_flag"
18905 || test ! -s conftest.err'
18906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18907 (eval $ac_try) 2>&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); }; } &&
18911 { ac_try
='test -s conftest.$ac_objext'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; }; then
18917 gdb_cv_c_long_long
=yes
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.
$ac_ext >&5
18922 gdb_cv_c_long_long
=no
18924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18926 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
18927 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
18928 if test $gdb_cv_c_long_long = yes; then
18930 cat >>confdefs.h
<<\_ACEOF
18931 #define CC_HAS_LONG_LONG 1
18936 # Check if the compiler and runtime support printing long longs.
18938 echo "$as_me:$LINENO: checking for long long support in printf" >&5
18939 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
18940 if test "${gdb_cv_printf_has_long_long+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 if test "$cross_compiling" = yes; then
18944 gdb_cv_printf_has_long_long
=no
18946 cat >conftest.
$ac_ext <<_ACEOF
18949 cat confdefs.h
>>conftest.
$ac_ext
18950 cat >>conftest.
$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952 $ac_includes_default
18958 l = (l << 16) + 0x0123;
18959 l = (l << 16) + 0x4567;
18960 l = (l << 16) + 0x89ab;
18961 l = (l << 16) + 0xcdef;
18962 sprintf (buf, "0x%016llx", l);
18963 return (strcmp ("0x0123456789abcdef", buf));
18968 rm -f conftest
$ac_exeext
18969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18970 (eval $ac_link) 2>&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; }; then
18979 gdb_cv_printf_has_long_long
=yes
18981 echo "$as_me: program exited with status $ac_status" >&5
18982 echo "$as_me: failed program was:" >&5
18983 sed 's/^/| /' conftest.
$ac_ext >&5
18985 ( exit $ac_status )
18986 gdb_cv_printf_has_long_long
=no
18988 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18991 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
18992 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
18993 if test $gdb_cv_printf_has_long_long = yes; then
18995 cat >>confdefs.h
<<\_ACEOF
18996 #define PRINTF_HAS_LONG_LONG 1
19001 # Check if the compiler supports the `long double' type. We can't use
19002 # AC_C_LONG_DOUBLE because that one does additional checks on the
19003 # constants defined in <float.h> that fail on some systems,
19004 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
19006 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
19007 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
19008 if test "${gdb_cv_c_long_double+set}" = set; then
19009 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 cat >conftest.
$ac_ext <<_ACEOF
19014 cat confdefs.h
>>conftest.
$ac_ext
19015 cat >>conftest.
$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19019 rm -f conftest.
$ac_objext
19020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19021 (eval $ac_compile) 2>conftest.er1
19023 grep -v '^ *+' conftest.er1
>conftest.err
19025 cat conftest.err
>&5
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); } &&
19028 { ac_try
='test -z "$ac_c_werror_flag"
19029 || test ! -s conftest.err'
19030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19031 (eval $ac_try) 2>&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); }; } &&
19035 { ac_try
='test -s conftest.$ac_objext'
19036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19037 (eval $ac_try) 2>&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); }; }; then
19041 gdb_cv_c_long_double
=yes
19043 echo "$as_me: failed program was:" >&5
19044 sed 's/^/| /' conftest.
$ac_ext >&5
19046 gdb_cv_c_long_double
=no
19048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19050 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
19051 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
19052 if test $gdb_cv_c_long_double = yes; then
19054 cat >>confdefs.h
<<\_ACEOF
19055 #define HAVE_LONG_DOUBLE 1
19060 # Check if the compiler and runtime support printing long doubles.
19062 echo "$as_me:$LINENO: checking for long double support in printf" >&5
19063 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
19064 if test "${gdb_cv_printf_has_long_double+set}" = set; then
19065 echo $ECHO_N "(cached) $ECHO_C" >&6
19067 if test "$cross_compiling" = yes; then
19068 gdb_cv_printf_has_long_double
=no
19070 cat >conftest.
$ac_ext <<_ACEOF
19073 cat confdefs.h
>>conftest.
$ac_ext
19074 cat >>conftest.
$ac_ext <<_ACEOF
19075 /* end confdefs.h. */
19076 $ac_includes_default
19081 long double f = 3.141592653;
19082 sprintf (buf, "%Lg", f);
19083 return (strncmp ("3.14159", buf, 7));
19088 rm -f conftest
$ac_exeext
19089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19090 (eval $ac_link) 2>&5
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; }; then
19099 gdb_cv_printf_has_long_double
=yes
19101 echo "$as_me: program exited with status $ac_status" >&5
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.
$ac_ext >&5
19105 ( exit $ac_status )
19106 gdb_cv_printf_has_long_double
=no
19108 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19111 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
19112 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
19113 if test $gdb_cv_printf_has_long_double = yes; then
19115 cat >>confdefs.h
<<\_ACEOF
19116 #define PRINTF_HAS_LONG_DOUBLE 1
19121 # Check if the compiler and runtime support scanning long doubles.
19123 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
19124 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
19125 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
19126 echo $ECHO_N "(cached) $ECHO_C" >&6
19128 if test "$cross_compiling" = yes; then
19129 gdb_cv_scanf_has_long_double
=no
19131 cat >conftest.
$ac_ext <<_ACEOF
19134 cat confdefs.h
>>conftest.
$ac_ext
19135 cat >>conftest.
$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19141 char *buf = "3.141592653";
19143 sscanf (buf, "%Lg", &f);
19144 return !(f > 3.14159 && f < 3.14160);
19149 rm -f conftest
$ac_exeext
19150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19151 (eval $ac_link) 2>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19156 (eval $ac_try) 2>&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); }; }; then
19160 gdb_cv_scanf_has_long_double
=yes
19162 echo "$as_me: program exited with status $ac_status" >&5
19163 echo "$as_me: failed program was:" >&5
19164 sed 's/^/| /' conftest.
$ac_ext >&5
19166 ( exit $ac_status )
19167 gdb_cv_scanf_has_long_double
=no
19169 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19172 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
19173 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
19174 if test $gdb_cv_scanf_has_long_double = yes; then
19176 cat >>confdefs.h
<<\_ACEOF
19177 #define SCANF_HAS_LONG_DOUBLE 1
19184 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
19185 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
19186 if test "${gdb_cv_bigtoc+set}" = set; then
19187 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 SAVE_LDFLAGS
=$LDFLAGS
19193 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
19194 *) gdb_cv_bigtoc
=-bbigtoc ;;
19197 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
19198 cat >conftest.
$ac_ext <<_ACEOF
19201 cat confdefs.h
>>conftest.
$ac_ext
19202 cat >>conftest.
$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19213 rm -f conftest.
$ac_objext conftest
$ac_exeext
19214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19215 (eval $ac_link) 2>conftest.er1
19217 grep -v '^ *+' conftest.er1
>conftest.err
19219 cat conftest.err
>&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); } &&
19222 { ac_try
='test -z "$ac_c_werror_flag"
19223 || test ! -s conftest.err'
19224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19225 (eval $ac_try) 2>&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); }; } &&
19229 { ac_try
='test -s conftest$ac_exeext'
19230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231 (eval $ac_try) 2>&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); }; }; then
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.
$ac_ext >&5
19242 rm -f conftest.err conftest.
$ac_objext \
19243 conftest
$ac_exeext conftest.
$ac_ext
19244 LDFLAGS
="${SAVE_LDFLAGS}"
19247 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
19248 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
19249 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
19255 if test ${build} = ${host} -a ${host} = ${target} ; then
19258 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
19259 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
19260 if test -f /usr
/include
/dce
/cma_config.h
; then
19261 if test "$GCC" = "yes" ; then
19262 echo "$as_me:$LINENO: result: yes" >&5
19263 echo "${ECHO_T}yes" >&6
19264 cat >>confdefs.h
<<\_ACEOF
19265 #define HAVE_HPUX_THREAD_SUPPORT 1
19268 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
19269 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
19271 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
19272 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
19275 echo "$as_me:$LINENO: result: no" >&5
19276 echo "${ECHO_T}no" >&6
19280 # See if thread_db library is around for Solaris thread debugging.
19281 # Note that we must explicitly test for version 1 of the library
19282 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
19284 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
19285 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
19286 if test -f /usr
/lib
/libthread_db.so
.1 ; then
19287 echo "$as_me:$LINENO: result: yes" >&5
19288 echo "${ECHO_T}yes" >&6
19289 cat >>confdefs.h
<<\_ACEOF
19290 #define HAVE_THREAD_DB_LIB 1
19293 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
19294 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
19296 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19297 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19298 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19299 echo $ECHO_N "(cached) $ECHO_C" >&6
19301 ac_check_lib_save_LIBS
=$LIBS
19303 cat >conftest.
$ac_ext <<_ACEOF
19306 cat confdefs.h
>>conftest.
$ac_ext
19307 cat >>conftest.
$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19310 /* Override any gcc2 internal prototype to avoid an error. */
19314 /* We use char because int might match the return type of a gcc2
19315 builtin and then its argument prototype would still apply. */
19325 rm -f conftest.
$ac_objext conftest
$ac_exeext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19327 (eval $ac_link) 2>conftest.er1
19329 grep -v '^ *+' conftest.er1
>conftest.err
19331 cat conftest.err
>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try
='test -z "$ac_c_werror_flag"
19335 || test ! -s conftest.err'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; } &&
19341 { ac_try
='test -s conftest$ac_exeext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 ac_cv_lib_dl_dlopen
=yes
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.
$ac_ext >&5
19352 ac_cv_lib_dl_dlopen
=no
19354 rm -f conftest.err conftest.
$ac_objext \
19355 conftest
$ac_exeext conftest.
$ac_ext
19356 LIBS
=$ac_check_lib_save_LIBS
19358 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19359 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19360 if test $ac_cv_lib_dl_dlopen = yes; then
19361 cat >>confdefs.h
<<_ACEOF
19362 #define HAVE_LIBDL 1
19369 if test "$GCC" = "yes" ; then
19370 # The GNU linker requires the -export-dynamic option to make
19371 # all symbols visible in the dynamic symbol table.
19372 hold_ldflags
=$LDFLAGS
19373 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
19374 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
19375 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
19376 cat >conftest.
$ac_ext <<_ACEOF
19379 cat confdefs.h
>>conftest.
$ac_ext
19380 cat >>conftest.
$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19391 rm -f conftest.
$ac_objext conftest
$ac_exeext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19393 (eval $ac_link) 2>conftest.er1
19395 grep -v '^ *+' conftest.er1
>conftest.err
19397 cat conftest.err
>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try
='test -z "$ac_c_werror_flag"
19401 || test ! -s conftest.err'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try
='test -s conftest$ac_exeext'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; }; then
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.
$ac_ext >&5
19420 rm -f conftest.err conftest.
$ac_objext \
19421 conftest
$ac_exeext conftest.
$ac_ext
19422 LDFLAGS
=$hold_ldflags
19423 echo "$as_me:$LINENO: result: $found" >&5
19424 echo "${ECHO_T}$found" >&6
19425 if test $found = yes; then
19426 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
19429 # Sun randomly tweaked the prototypes in <proc_service.h>
19431 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
19432 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
19433 if test "${gdb_cv_proc_service_is_old+set}" = set; then
19434 echo $ECHO_N "(cached) $ECHO_C" >&6
19437 cat >conftest.
$ac_ext <<_ACEOF
19440 cat confdefs.h
>>conftest.
$ac_ext
19441 cat >>conftest.
$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19444 #include <proc_service.h>
19445 ps_err_e ps_pdwrite
19446 (struct ps_prochandle*, psaddr_t, const void*, size_t);
19456 rm -f conftest.
$ac_objext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19458 (eval $ac_compile) 2>conftest.er1
19460 grep -v '^ *+' conftest.er1
>conftest.err
19462 cat conftest.err
>&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try
='test -z "$ac_c_werror_flag"
19466 || test ! -s conftest.err'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; } &&
19472 { ac_try
='test -s conftest.$ac_objext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 gdb_cv_proc_service_is_old
=no
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.
$ac_ext >&5
19483 gdb_cv_proc_service_is_old
=yes
19485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19489 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
19490 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
19491 if test $gdb_cv_proc_service_is_old = yes; then
19492 cat >>confdefs.h
<<\_ACEOF
19493 #define PROC_SERVICE_IS_OLD 1
19498 echo "$as_me:$LINENO: result: no" >&5
19499 echo "${ECHO_T}no" >&6
19503 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
19504 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
19505 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
19506 echo $ECHO_N "(cached) $ECHO_C" >&6
19508 cat >conftest.
$ac_ext <<_ACEOF
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 #include <sys/pthdebug.h>
19518 #ifndef PTHDB_VERSION_3
19525 rm -f conftest.
$ac_objext
19526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19527 (eval $ac_compile) 2>conftest.er1
19529 grep -v '^ *+' conftest.er1
>conftest.err
19531 cat conftest.err
>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } &&
19534 { ac_try
='test -z "$ac_c_werror_flag"
19535 || test ! -s conftest.err'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; } &&
19541 { ac_try
='test -s conftest.$ac_objext'
19542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19543 (eval $ac_try) 2>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); }; }; then
19547 gdb_cv_have_aix_thread_debug
=yes
19549 echo "$as_me: failed program was:" >&5
19550 sed 's/^/| /' conftest.
$ac_ext >&5
19552 gdb_cv_have_aix_thread_debug
=no
19554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19557 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
19558 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
19559 if test $gdb_cv_have_aix_thread_debug = yes; then
19560 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
19561 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
19562 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
19569 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
19570 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
19571 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
19572 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
19573 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 cat >conftest.
$ac_ext <<_ACEOF
19578 cat confdefs.h
>>conftest.
$ac_ext
19579 cat >>conftest.
$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 #include <thread_db.h>
19585 int i = TD_NOTALLOC;
19590 rm -f conftest.
$ac_objext
19591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19592 (eval $ac_compile) 2>conftest.er1
19594 grep -v '^ *+' conftest.er1
>conftest.err
19596 cat conftest.err
>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); } &&
19599 { ac_try
='test -z "$ac_c_werror_flag"
19600 || test ! -s conftest.err'
19601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602 (eval $ac_try) 2>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; } &&
19606 { ac_try
='test -s conftest.$ac_objext'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; }; then
19612 gdb_cv_thread_db_h_has_td_notalloc
=yes
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.
$ac_ext >&5
19617 gdb_cv_thread_db_h_has_td_notalloc
=no
19620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19623 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
19624 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
19626 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
19628 cat >>confdefs.h
<<\_ACEOF
19629 #define THREAD_DB_HAS_TD_NOTALLOC 1
19634 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
19635 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
19636 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
19637 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 cat >conftest.
$ac_ext <<_ACEOF
19643 cat confdefs.h
>>conftest.
$ac_ext
19644 cat >>conftest.
$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19646 #include <sys/syscall.h>
19650 int i = __NR_tkill;
19655 rm -f conftest.
$ac_objext
19656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19657 (eval $ac_compile) 2>conftest.er1
19659 grep -v '^ *+' conftest.er1
>conftest.err
19661 cat conftest.err
>&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); } &&
19664 { ac_try
='test -z "$ac_c_werror_flag"
19665 || test ! -s conftest.err'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; } &&
19671 { ac_try
='test -s conftest.$ac_objext'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; }; then
19677 gdb_cv_sys_syscall_h_has_tkill
=yes
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.
$ac_ext >&5
19682 gdb_cv_sys_syscall_h_has_tkill
=no
19685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19688 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
19689 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
19691 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
19693 cat >>confdefs.h
<<\_ACEOF
19694 #define HAVE_TKILL_SYSCALL 1
19701 # Check whether --with-sysroot or --without-sysroot was given.
19702 if test "${with_sysroot+set}" = set; then
19703 withval
="$with_sysroot"
19705 case ${with_sysroot} in
19706 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
19707 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
19710 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
19712 if test "x$exec_prefix" = xNONE
; then
19713 if test "x$prefix" = xNONE
; then
19714 test_prefix
=/usr
/local
19716 test_prefix
=$prefix
19719 test_prefix
=$exec_prefix
19721 case ${TARGET_SYSTEM_ROOT} in
19722 "${test_prefix}"|
"${test_prefix}/"*|\
19723 '${exec_prefix}'|
'${exec_prefix}/'*)
19724 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
19725 TARGET_SYSTEM_ROOT_DEFINE
="$t"
19731 TARGET_SYSTEM_ROOT
=
19732 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
19738 # NOTE: Don't add -Wall or -Wunused, they both include
19739 # -Wunused-parameter which reports bogus warnings.
19740 # NOTE: If you add to this list, remember to update
19741 # gdb/doc/gdbint.texinfo.
19742 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
19743 -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral \
19744 -Wunused-label -Wunused-function"
19745 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
19746 # -Wunused-function -Wunused-variable -Wunused-value
19747 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
19748 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
19749 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
19750 # -Woverloaded-virtual -Winline -Werror"
19751 # Check whether --enable-build-warnings or --disable-build-warnings was given.
19752 if test "${enable_build_warnings+set}" = set; then
19753 enableval
="$enable_build_warnings"
19754 case "${enableval}" in
19756 no
) build_warnings
="-w";;
19757 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
19758 build_warnings
="${build_warnings} ${t}";;
19759 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
19760 build_warnings
="${t} ${build_warnings}";;
19761 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
19763 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
19764 echo "Setting compiler warning flags = $build_warnings" 6>&1
19766 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
19767 if test "${enable_gdb_build_warnings+set}" = set; then
19768 enableval
="$enable_gdb_build_warnings"
19769 case "${enableval}" in
19771 no
) build_warnings
="-w";;
19772 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
19773 build_warnings
="${build_warnings} ${t}";;
19774 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
19775 build_warnings
="${t} ${build_warnings}";;
19776 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
19778 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
19779 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
19783 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
19785 echo "$as_me:$LINENO: checking compiler warning flags" >&5
19786 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
19787 # Separate out the -Werror flag as some files just cannot be
19788 # compiled with it enabled.
19789 for w
in ${build_warnings}; do
19791 -Werr*) WERROR_CFLAGS
=-Werror ;;
19792 *) # Check that GCC accepts it
19793 saved_CFLAGS
="$CFLAGS"
19794 CFLAGS
="$CFLAGS $w"
19795 cat >conftest.
$ac_ext <<_ACEOF
19798 cat confdefs.h
>>conftest.
$ac_ext
19799 cat >>conftest.
$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19810 rm -f conftest.
$ac_objext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19812 (eval $ac_compile) 2>conftest.er1
19814 grep -v '^ *+' conftest.er1
>conftest.err
19816 cat conftest.err
>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } &&
19819 { ac_try
='test -z "$ac_c_werror_flag"
19820 || test ! -s conftest.err'
19821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822 (eval $ac_try) 2>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; } &&
19826 { ac_try
='test -s conftest.$ac_objext'
19827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19828 (eval $ac_try) 2>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); }; }; then
19832 WARN_CFLAGS
="${WARN_CFLAGS} $w"
19834 echo "$as_me: failed program was:" >&5
19835 sed 's/^/| /' conftest.
$ac_ext >&5
19838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19839 CFLAGS
="$saved_CFLAGS"
19842 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
19843 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
19848 # In the Cygwin environment, we need some additional flags.
19849 echo "$as_me:$LINENO: checking for cygwin" >&5
19850 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
19851 if test "${gdb_cv_os_cygwin+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 cat >conftest.
$ac_ext <<_ACEOF
19857 cat confdefs.h
>>conftest.
$ac_ext
19858 cat >>conftest.
$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19861 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
19865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19866 $EGREP "lose" >/dev
/null
2>&1; then
19867 gdb_cv_os_cygwin
=yes
19869 gdb_cv_os_cygwin
=no
19874 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
19875 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
19878 SER_HARDWIRE
="ser-unix.o ser-pipe.o ser-tcp.o"
19880 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
19881 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
19885 # libreadline needs libuser32.a in a cygwin environment
19887 if test x
$gdb_cv_os_cygwin = xyes
; then
19888 WIN32LIBS
="-luser32"
19889 case "${target}" in
19890 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
19896 LIBGUI
="../libgui/src/libgui.a"
19897 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
19915 if test "${enable_gdbtk}" = "yes"; then
19917 # Gdbtk must have an absolute path to srcdir in order to run
19918 # properly when not installed.
19921 GDBTK_SRC_DIR
=`pwd`
19926 # Ok, lets find the tcl configuration
19927 # First, look for one uninstalled.
19928 # the alternative search directory is invoked by --with-tclconfig
19931 if test x
"${no_tcl}" = x
; then
19932 # we reset no_tcl in case something fails here
19935 # Check whether --with-tclconfig or --without-tclconfig was given.
19936 if test "${with_tclconfig+set}" = set; then
19937 withval
="$with_tclconfig"
19938 with_tclconfig
=${withval}
19940 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
19941 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
19942 if test "${ac_cv_c_tclconfig+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19947 # First check to see if --with-tclconfig was specified.
19948 if test x
"${with_tclconfig}" != x
; then
19949 if test -f "${with_tclconfig}/tclConfig.sh" ; then
19950 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
19952 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
19953 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
19954 { (exit 1); exit 1; }; }
19958 # then check for a private Tcl installation
19959 if test x
"${ac_cv_c_tclconfig}" = x
; then
19962 `ls -dr ../tcl[7-9]* 2>/dev/null` \
19964 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
19966 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
19967 if test -f "$i/${configdir}/tclConfig.sh" ; then
19968 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
19973 # check in a few common install locations
19974 if test x
"${ac_cv_c_tclconfig}" = x
; then
19975 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
19976 if test -f "$i/tclConfig.sh" ; then
19977 ac_cv_c_tclconfig
=`(cd $i; pwd)`
19982 # check in a few other private locations
19983 if test x
"${ac_cv_c_tclconfig}" = x
; then
19986 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
19987 if test -f "$i/${configdir}/tclConfig.sh" ; then
19988 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
19996 if test x
"${ac_cv_c_tclconfig}" = x
; then
19997 TCLCONFIG
="# no Tcl configs found"
19998 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
19999 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
20002 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
20003 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
20004 echo "${ECHO_T}found $TCLCONFIG" >&6
20008 if test -z "${no_tcl}"; then
20039 # Ok, lets find the tk configuration
20040 # First, look for one uninstalled.
20041 # the alternative search directory is invoked by --with-tkconfig
20044 if test x
"${no_tk}" = x
; then
20045 # we reset no_tk in case something fails here
20048 # Check whether --with-tkconfig or --without-tkconfig was given.
20049 if test "${with_tkconfig+set}" = set; then
20050 withval
="$with_tkconfig"
20051 with_tkconfig
=${withval}
20053 echo "$as_me:$LINENO: checking for Tk configuration" >&5
20054 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
20055 if test "${ac_cv_c_tkconfig+set}" = set; then
20056 echo $ECHO_N "(cached) $ECHO_C" >&6
20060 # First check to see if --with-tkconfig was specified.
20061 if test x
"${with_tkconfig}" != x
; then
20062 if test -f "${with_tkconfig}/tkConfig.sh" ; then
20063 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
20065 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
20066 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
20067 { (exit 1); exit 1; }; }
20071 # then check for a private Tk library
20072 if test x
"${ac_cv_c_tkconfig}" = x
; then
20075 `ls -dr ../tk[4-9]* 2>/dev/null` \
20077 `ls -dr ../../tk[4-9]* 2>/dev/null` \
20079 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
20080 if test -f "$i/${configdir}/tkConfig.sh" ; then
20081 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
20086 # check in a few common install locations
20087 if test x
"${ac_cv_c_tkconfig}" = x
; then
20088 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20089 if test -f "$i/tkConfig.sh" ; then
20090 ac_cv_c_tkconfig
=`(cd $i; pwd)`
20095 # check in a few other private locations
20096 if test x
"${ac_cv_c_tkconfig}" = x
; then
20099 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
20100 if test -f "$i/${configdir}/tkConfig.sh" ; then
20101 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
20109 if test x
"${ac_cv_c_tkconfig}" = x
; then
20110 TKCONFIG
="# no Tk configs found"
20111 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
20112 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
20115 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
20116 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
20117 echo "${ECHO_T}found $TKCONFIG" >&6
20123 # now look for Tcl library stuff
20125 tcldir
="../tcl/${configdir}/"
20127 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
20129 # If $no_tk is nonempty, then we can't do Tk, and there is no
20130 # point to doing Tcl.
20131 if test -z "${no_tk}"; then
20133 if test -f "$TKCONFIG" ; then
20151 # Ok, lets find the tcl source trees so we can use the headers
20152 # Warning: transition of version 9 to 10 will break this algorithm
20153 # because 10 sorts before 9. We also look for just tcl. We have to
20154 # be careful that we don't match stuff like tclX by accident.
20155 # the alternative search directory is involked by --with-tclinclude
20159 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
20160 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
20162 # Check whether --with-tclinclude or --without-tclinclude was given.
20163 if test "${with_tclinclude+set}" = set; then
20164 withval
="$with_tclinclude"
20165 with_tclinclude
=${withval}
20167 if test "${ac_cv_c_tclh+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20171 # first check to see if --with-tclinclude was specified
20172 if test x
"${with_tclinclude}" != x
; then
20173 if test -f ${with_tclinclude}/tclInt.h
; then
20174 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
20175 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
20176 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
20178 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
20179 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
20180 { (exit 1); exit 1; }; }
20184 # next check if it came with Tcl configuration file
20185 if test x
"${ac_cv_c_tclconfig}" = x
; then
20186 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
20187 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
20191 # next check in private source directory
20193 # since ls returns lowest version numbers first, reverse its output
20194 if test x
"${ac_cv_c_tclh}" = x
; then
20197 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
20198 ${srcdir}/..
/..
/tcl \
20199 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
20200 ${srcdir}/..
/..
/..
/tcl \
20201 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
20202 if test -f $i/generic
/tclInt.h
; then
20203 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
20208 # finally check in a few common install locations
20210 # since ls returns lowest version numbers first, reverse its output
20211 if test x
"${ac_cv_c_tclh}" = x
; then
20213 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
20214 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
20215 /usr
/local
/src
/tcl \
20216 /usr
/local
/lib
/tcl \
20217 ${prefix}/include
; do
20218 if test -f $i/generic
/tclInt.h
; then
20219 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
20224 # see if one is installed
20225 if test x
"${ac_cv_c_tclh}" = x
; then
20226 if test "${ac_cv_header_tclInt_h+set}" = set; then
20227 echo "$as_me:$LINENO: checking for tclInt.h" >&5
20228 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
20229 if test "${ac_cv_header_tclInt_h+set}" = set; then
20230 echo $ECHO_N "(cached) $ECHO_C" >&6
20232 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
20233 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
20235 # Is the header compilable?
20236 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
20237 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
20238 cat >conftest.
$ac_ext <<_ACEOF
20241 cat confdefs.h
>>conftest.
$ac_ext
20242 cat >>conftest.
$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20244 $ac_includes_default
20245 #include <tclInt.h>
20247 rm -f conftest.
$ac_objext
20248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20249 (eval $ac_compile) 2>conftest.er1
20251 grep -v '^ *+' conftest.er1
>conftest.err
20253 cat conftest.err
>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } &&
20256 { ac_try
='test -z "$ac_c_werror_flag"
20257 || test ! -s conftest.err'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; } &&
20263 { ac_try
='test -s conftest.$ac_objext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 ac_header_compiler
=yes
20271 echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.
$ac_ext >&5
20274 ac_header_compiler
=no
20276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20277 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20278 echo "${ECHO_T}$ac_header_compiler" >&6
20280 # Is the header present?
20281 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
20282 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
20283 cat >conftest.
$ac_ext <<_ACEOF
20286 cat confdefs.h
>>conftest.
$ac_ext
20287 cat >>conftest.
$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 #include <tclInt.h>
20291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20292 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20294 grep -v '^ *+' conftest.er1
>conftest.err
20296 cat conftest.err
>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } >/dev
/null
; then
20299 if test -s conftest.err
; then
20300 ac_cpp_err
=$ac_c_preproc_warn_flag
20301 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20308 if test -z "$ac_cpp_err"; then
20309 ac_header_preproc
=yes
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.
$ac_ext >&5
20314 ac_header_preproc
=no
20316 rm -f conftest.err conftest.
$ac_ext
20317 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20318 echo "${ECHO_T}$ac_header_preproc" >&6
20320 # So? What about this header?
20321 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20323 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
20324 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20325 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
20326 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
20327 ac_header_preproc
=yes
20330 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
20331 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
20332 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
20333 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
20334 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
20335 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
20336 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
20337 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
20338 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
20339 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
20340 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
20341 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
20344 ## ------------------------------------------ ##
20345 ## Report this to the AC_PACKAGE_NAME lists. ##
20346 ## ------------------------------------------ ##
20349 sed "s/^/$as_me: WARNING: /" >&2
20352 echo "$as_me:$LINENO: checking for tclInt.h" >&5
20353 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
20354 if test "${ac_cv_header_tclInt_h+set}" = set; then
20355 echo $ECHO_N "(cached) $ECHO_C" >&6
20357 ac_cv_header_tclInt_h
=$ac_header_preproc
20359 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
20360 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
20363 if test $ac_cv_header_tclInt_h = yes; then
20364 ac_cv_c_tclh
=installed
20374 if test x
"${ac_cv_c_tclh}" = x
; then
20375 TCLHDIR
="# no Tcl private headers found"
20376 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
20377 echo "$as_me: error: Can't find Tcl private headers" >&2;}
20378 { (exit 1); exit 1; }; }
20380 if test x
"${ac_cv_c_tclh}" != x
; then
20382 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
20383 echo "$as_me:$LINENO: result: is installed" >&5
20384 echo "${ECHO_T}is installed" >&6
20387 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
20388 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
20389 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
20390 TCLHDIR
="-I${ac_cv_c_tclh}"
20398 # Ok, lets find the tk source trees so we can use the headers
20399 # If the directory (presumably symlink) named "tk" exists, use that one
20400 # in preference to any others. Same logic is used when choosing library
20401 # and again with Tcl. The search order is the best place to look first, then in
20402 # decreasing significance. The loop breaks if the trigger file is found.
20403 # Note the gross little conversion here of srcdir by cd'ing to the found
20404 # directory. This converts the path from a relative to an absolute, so
20405 # recursive cache variables for the path will work right. We check all
20406 # the possible paths in one loop rather than many seperate loops to speed
20408 # the alternative search directory is involked by --with-tkinclude
20411 echo "$as_me:$LINENO: checking for Tk private headers" >&5
20412 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
20414 # Check whether --with-tkinclude or --without-tkinclude was given.
20415 if test "${with_tkinclude+set}" = set; then
20416 withval
="$with_tkinclude"
20417 with_tkinclude
=${withval}
20419 if test "${ac_cv_c_tkh+set}" = set; then
20420 echo $ECHO_N "(cached) $ECHO_C" >&6
20423 # first check to see if --with-tkinclude was specified
20424 if test x
"${with_tkinclude}" != x
; then
20425 if test -f ${with_tkinclude}/tk.h
; then
20426 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
20427 elif test -f ${with_tkinclude}/generic
/tk.h
; then
20428 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
20430 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
20431 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
20432 { (exit 1); exit 1; }; }
20436 # next check if it came with Tk configuration file
20437 if test x
"${ac_cv_c_tkconfig}" = x
; then
20438 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
20439 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
20443 # next check in private source directory
20445 # since ls returns lowest version numbers first, reverse its output
20446 if test x
"${ac_cv_c_tkh}" = x
; then
20449 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
20450 ${srcdir}/..
/..
/tk \
20451 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
20452 ${srcdir}/..
/..
/..
/tk \
20453 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
20454 if test -f $i/generic
/tk.h
; then
20455 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
20460 # finally check in a few common install locations
20462 # since ls returns lowest version numbers first, reverse its output
20463 if test x
"${ac_cv_c_tkh}" = x
; then
20465 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
20466 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
20467 /usr
/local
/src
/tk \
20468 /usr
/local
/lib
/tk \
20469 ${prefix}/include
; do
20470 if test -f $i/generic
/tk.h
; then
20471 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
20476 # see if one is installed
20477 if test x
"${ac_cv_c_tkh}" = x
; then
20478 if test "${ac_cv_header_tk_h+set}" = set; then
20479 echo "$as_me:$LINENO: checking for tk.h" >&5
20480 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
20481 if test "${ac_cv_header_tk_h+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6
20484 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
20485 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
20487 # Is the header compilable?
20488 echo "$as_me:$LINENO: checking tk.h usability" >&5
20489 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
20490 cat >conftest.
$ac_ext <<_ACEOF
20493 cat confdefs.h
>>conftest.
$ac_ext
20494 cat >>conftest.
$ac_ext <<_ACEOF
20495 /* end confdefs.h. */
20496 $ac_includes_default
20499 rm -f conftest.
$ac_objext
20500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20501 (eval $ac_compile) 2>conftest.er1
20503 grep -v '^ *+' conftest.er1
>conftest.err
20505 cat conftest.err
>&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); } &&
20508 { ac_try
='test -z "$ac_c_werror_flag"
20509 || test ! -s conftest.err'
20510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20511 (eval $ac_try) 2>&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); }; } &&
20515 { ac_try
='test -s conftest.$ac_objext'
20516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20517 (eval $ac_try) 2>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); }; }; then
20521 ac_header_compiler
=yes
20523 echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.
$ac_ext >&5
20526 ac_header_compiler
=no
20528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20530 echo "${ECHO_T}$ac_header_compiler" >&6
20532 # Is the header present?
20533 echo "$as_me:$LINENO: checking tk.h presence" >&5
20534 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
20535 cat >conftest.
$ac_ext <<_ACEOF
20538 cat confdefs.h
>>conftest.
$ac_ext
20539 cat >>conftest.
$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20546 grep -v '^ *+' conftest.er1
>conftest.err
20548 cat conftest.err
>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); } >/dev
/null
; then
20551 if test -s conftest.err
; then
20552 ac_cpp_err
=$ac_c_preproc_warn_flag
20553 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20560 if test -z "$ac_cpp_err"; then
20561 ac_header_preproc
=yes
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.
$ac_ext >&5
20566 ac_header_preproc
=no
20568 rm -f conftest.err conftest.
$ac_ext
20569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20570 echo "${ECHO_T}$ac_header_preproc" >&6
20572 # So? What about this header?
20573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20575 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
20576 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20577 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
20578 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
20579 ac_header_preproc
=yes
20582 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
20583 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
20584 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
20585 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
20586 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
20587 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
20588 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
20589 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
20590 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
20591 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
20592 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
20593 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
20596 ## ------------------------------------------ ##
20597 ## Report this to the AC_PACKAGE_NAME lists. ##
20598 ## ------------------------------------------ ##
20601 sed "s/^/$as_me: WARNING: /" >&2
20604 echo "$as_me:$LINENO: checking for tk.h" >&5
20605 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
20606 if test "${ac_cv_header_tk_h+set}" = set; then
20607 echo $ECHO_N "(cached) $ECHO_C" >&6
20609 ac_cv_header_tk_h
=$ac_header_preproc
20611 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
20612 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
20615 if test $ac_cv_header_tk_h = yes; then
20616 ac_cv_c_tkh
=installed
20626 if test x
"${ac_cv_c_tkh}" != x
; then
20628 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
20629 echo "$as_me:$LINENO: result: is installed" >&5
20630 echo "${ECHO_T}is installed" >&6
20633 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
20634 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
20635 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
20636 TKHDIR
="-I${ac_cv_c_tkh}"
20639 TKHDIR
="# no Tk directory found"
20640 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
20641 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
20648 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
20649 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
20650 if test x
"${ac_cv_c_itclh}" = x
; then
20651 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
20652 if test -f $i/generic
/itcl.h
; then
20653 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
20658 if test x
"${ac_cv_c_itclh}" = x
; then
20659 ITCLHDIR
="# no Itcl private headers found"
20660 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
20661 echo "$as_me: error: Can't find Itcl private headers" >&2;}
20662 { (exit 1); exit 1; }; }
20664 if test x
"${ac_cv_c_itclh}" != x
; then
20665 ITCLHDIR
="-I${ac_cv_c_itclh}"
20667 # should always be here
20668 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
20673 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
20674 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
20675 if test x
"${ac_cv_c_itkh}" = x
; then
20676 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
20677 if test -f $i/generic
/itk.h
; then
20678 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
20683 if test x
"${ac_cv_c_itkh}" = x
; then
20684 ITKHDIR
="# no Itk private headers found"
20685 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
20686 echo "$as_me: error: Can't find Itk private headers" >&2;}
20687 { (exit 1); exit 1; }; }
20689 if test x
"${ac_cv_c_itkh}" != x
; then
20690 ITKHDIR
="-I${ac_cv_c_itkh}"
20692 # should always be here
20693 # ITKLIB="../itcl/itk/unix/libitk.a"
20699 # now look for Tk library stuff
20701 tkdir
="../tk/${configdir}/"
20703 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
20705 # now look for Itcl library stuff
20709 # Ok, lets find the itcl configuration
20710 # First, look for one uninstalled.
20711 # the alternative search directory is invoked by --with-itclconfig
20714 if test x
"${no_itcl}" = x
; then
20715 # we reset no_itcl in case something fails here
20718 # Check whether --with-itclconfig or --without-itclconfig was given.
20719 if test "${with_itclconfig+set}" = set; then
20720 withval
="$with_itclconfig"
20721 with_itclconfig
=${withval}
20723 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
20724 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
20725 if test "${ac_cv_c_itclconfig+set}" = set; then
20726 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 # First check to see if --with-itclconfig was specified.
20731 if test x
"${with_itclconfig}" != x
; then
20732 if test -f "${with_itclconfig}/itclConfig.sh" ; then
20733 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
20735 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
20736 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
20737 { (exit 1); exit 1; }; }
20741 # then check for a private Itcl library
20742 if test x
"${ac_cv_c_itclconfig}" = x
; then
20745 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
20747 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
20749 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
20750 if test -f "$i/itclConfig.sh" ; then
20751 ac_cv_c_itclconfig
=`(cd $i; pwd)`
20756 # check in a few common install locations
20757 if test x
"${ac_cv_c_itclconfig}" = x
; then
20758 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20759 if test -f "$i/itclConfig.sh" ; then
20760 ac_cv_c_itclconfig
=`(cd $i; pwd)`
20765 # check in a few other private locations
20766 if test x
"${ac_cv_c_itclconfig}" = x
; then
20768 ${srcdir}/..
/itcl
/itcl \
20769 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
20770 if test -f "$i/itclConfig.sh" ; then
20771 ac_cv_c_itclconfig
=`(cd $i; pwd)`
20779 if test x
"${ac_cv_c_itclconfig}" = x
; then
20780 ITCLCONFIG
="# no Itcl configs found"
20781 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
20782 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
20785 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
20786 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
20787 echo "${ECHO_T}found $ITCLCONFIG" >&6
20791 if test -z "${no_itcl}"; then
20793 if test -f "$ITCLCONFIG" ; then
20808 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
20809 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
20813 # now look for Itk library stuff
20816 # Ok, lets find the itk configuration
20817 # First, look for one uninstalled.
20818 # the alternative search directory is invoked by --with-itkconfig
20821 if test x
"${no_itk}" = x
; then
20822 # we reset no_itk in case something fails here
20825 # Check whether --with-itkconfig or --without-itkconfig was given.
20826 if test "${with_itkconfig+set}" = set; then
20827 withval
="$with_itkconfig"
20828 with_itkconfig
=${withval}
20830 echo "$as_me:$LINENO: checking for Itk configuration" >&5
20831 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
20832 if test "${ac_cv_c_itkconfig+set}" = set; then
20833 echo $ECHO_N "(cached) $ECHO_C" >&6
20837 # First check to see if --with-itkconfig was specified.
20838 if test x
"${with_itkconfig}" != x
; then
20839 if test -f "${with_itkconfig}/itkConfig.sh" ; then
20840 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
20842 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
20843 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
20844 { (exit 1); exit 1; }; }
20848 # then check for a private Itk library
20849 if test x
"${ac_cv_c_itkconfig}" = x
; then
20852 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
20854 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
20856 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
20857 if test -f "$i/itkConfig.sh" ; then
20858 ac_cv_c_itkconfig
=`(cd $i; pwd)`
20863 # check in a few common install locations
20864 if test x
"${ac_cv_c_itkconfig}" = x
; then
20865 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
20866 if test -f "$i/itkConfig.sh" ; then
20867 ac_cv_c_itkconfig
=`(cd $i; pwd)`
20872 # check in a few other private locations
20873 if test x
"${ac_cv_c_itkconfig}" = x
; then
20875 ${srcdir}/..
/itcl
/itk \
20876 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
20877 if test -f "$i/itkConfig.sh" ; then
20878 ac_cv_c_itkconfig
=`(cd $i; pwd)`
20886 if test x
"${ac_cv_c_itkconfig}" = x
; then
20887 ITKCONFIG
="# no Itk configs found"
20888 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
20889 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
20892 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
20893 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
20894 echo "${ECHO_T}found $ITKCONFIG" >&6
20899 if test -z "${no_itcl}"; then
20901 if test -f "$ITKCONFIG" ; then
20916 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
20917 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
20920 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
20921 # Tcl/Tk 8.1 require -fwritable strings. I don't
20922 # know whether 8.2 will or not, but I bet it will.
20923 # I don't have to worry about 7.x since we don't support it.
20925 if test "$GCC" = "yes"; then
20926 if test "$TCL_VERSION" != "8.0" ; then
20927 GDBTK_CFLAGS
="-fwritable-strings"
20931 # Include some libraries that Tcl and Tk want.
20932 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
20933 # Yes, the ordering seems wrong here. But it isn't.
20934 # TK_LIBS is the list of libraries that need to be linked
20935 # after Tcl/Tk. Note that this isn't put into LIBS. If it
20936 # were in LIBS then any link tests after this point would
20937 # try to include things like `$(LIBGUI)', which wouldn't work.
20938 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
20940 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
20941 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
20942 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
20943 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
20944 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
20945 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
20946 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
20948 if test x
$gdb_cv_os_cygwin = xyes
; then
20949 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
20950 WIN32LDAPP
="-Wl,--subsystem,console"
20951 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
20958 subdirs
="$subdirs gdbtk"
20975 echo "$as_me:$LINENO: checking for X" >&5
20976 echo $ECHO_N "checking for X... $ECHO_C" >&6
20979 # Check whether --with-x or --without-x was given.
20980 if test "${with_x+set}" = set; then
20984 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20985 if test "x$with_x" = xno
; then
20986 # The user explicitly disabled X.
20989 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
20990 # Both variables are already set.
20993 if test "${ac_cv_have_x+set}" = set; then
20994 echo $ECHO_N "(cached) $ECHO_C" >&6
20996 # One or both of the vars are not set, and there is no cached value.
20997 ac_x_includes
=no ac_x_libraries
=no
20998 rm -fr conftest.dir
20999 if mkdir conftest.dir
; then
21001 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21002 cat >Imakefile
<<'_ACEOF'
21004 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21006 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21007 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21008 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21009 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21010 for ac_extension
in a so sl
; do
21011 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21012 test -f $ac_im_libdir/libX11.
$ac_extension; then
21013 ac_im_usrlibdir
=$ac_im_libdir; break
21016 # Screen out bogus values from the imake configuration. They are
21017 # bogus both because they are the default anyway, and because
21018 # using them would break gcc on systems where it needs fixed includes.
21019 case $ac_im_incroot in
21021 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21023 case $ac_im_usrlibdir in
21024 /usr
/lib |
/lib
) ;;
21025 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21029 rm -fr conftest.dir
21032 # Standard set of common directories for X headers.
21033 # Check X11 before X11Rn because it is often a symlink to the current release.
21045 /usr/local/X11/include
21046 /usr/local/X11R6/include
21047 /usr/local/X11R5/include
21048 /usr/local/X11R4/include
21050 /usr/local/include/X11
21051 /usr/local/include/X11R6
21052 /usr/local/include/X11R5
21053 /usr/local/include/X11R4
21057 /usr/XFree86/include/X11
21061 /usr/unsupported/include
21062 /usr/athena/include
21063 /usr/local/x11r5/include
21064 /usr/lpp/Xamples/include
21066 /usr/openwin/include
21067 /usr/openwin/share/include'
21069 if test "$ac_x_includes" = no
; then
21070 # Guess where to find include files, by looking for Intrinsic.h.
21071 # First, try using that file with no special directory specified.
21072 cat >conftest.
$ac_ext <<_ACEOF
21075 cat confdefs.h
>>conftest.
$ac_ext
21076 cat >>conftest.
$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 #include <X11/Intrinsic.h>
21080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21083 grep -v '^ *+' conftest.er1
>conftest.err
21085 cat conftest.err
>&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); } >/dev
/null
; then
21088 if test -s conftest.err
; then
21089 ac_cpp_err
=$ac_c_preproc_warn_flag
21090 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21097 if test -z "$ac_cpp_err"; then
21098 # We can compile using X headers with no special include directory.
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.
$ac_ext >&5
21104 for ac_dir
in $ac_x_header_dirs; do
21105 if test -r "$ac_dir/X11/Intrinsic.h"; then
21106 ac_x_includes
=$ac_dir
21111 rm -f conftest.err conftest.
$ac_ext
21112 fi # $ac_x_includes = no
21114 if test "$ac_x_libraries" = no
; then
21115 # Check for the libraries.
21116 # See if we find them without any special options.
21117 # Don't add to $LIBS permanently.
21120 cat >conftest.
$ac_ext <<_ACEOF
21123 cat confdefs.h
>>conftest.
$ac_ext
21124 cat >>conftest.
$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21126 #include <X11/Intrinsic.h>
21135 rm -f conftest.
$ac_objext conftest
$ac_exeext
21136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21137 (eval $ac_link) 2>conftest.er1
21139 grep -v '^ *+' conftest.er1
>conftest.err
21141 cat conftest.err
>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); } &&
21144 { ac_try
='test -z "$ac_c_werror_flag"
21145 || test ! -s conftest.err'
21146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21147 (eval $ac_try) 2>&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; } &&
21151 { ac_try
='test -s conftest$ac_exeext'
21152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21153 (eval $ac_try) 2>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); }; }; then
21158 # We can link X programs with no special library path.
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.
$ac_ext >&5
21165 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21167 # Don't even attempt the hair of trying to link an X program!
21168 for ac_extension
in a so sl
; do
21169 if test -r $ac_dir/libXt.
$ac_extension; then
21170 ac_x_libraries
=$ac_dir
21176 rm -f conftest.err conftest.
$ac_objext \
21177 conftest
$ac_exeext conftest.
$ac_ext
21178 fi # $ac_x_libraries = no
21180 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
21181 # Didn't find X anywhere. Cache the known absence of X.
21182 ac_cv_have_x
="have_x=no"
21184 # Record where we found X for the cache.
21185 ac_cv_have_x
="have_x=yes \
21186 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21191 eval "$ac_cv_have_x"
21194 if test "$have_x" != yes; then
21195 echo "$as_me:$LINENO: result: $have_x" >&5
21196 echo "${ECHO_T}$have_x" >&6
21199 # If each of the values was on the command line, it overrides each guess.
21200 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21201 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21202 # Update the cache value to reflect the command line values.
21203 ac_cv_have_x
="have_x=yes \
21204 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21205 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21206 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21210 # Check whether we should enable the TUI, but only do so if we really
21212 if test x
"$enable_tui" = xyes
; then
21213 if test -d $srcdir/tui
; then
21214 if test "$ac_cv_search_waddstr" != no
; then
21215 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
21216 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
21217 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
21218 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
21219 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
21220 CONFIG_ALL
="${CONFIG_ALL} all-tui"
21221 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
21222 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
21223 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
21225 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
21226 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
21231 # Unlike the sim directory, whether a simulator is linked is controlled by
21232 # presence of a SIM= and a SIM_OBS= definition in the target '.mt' file.
21233 # This code just checks for a few cases where we'd like to ignore those
21234 # definitions, even when they're present in the '.mt' file. These cases
21235 # are when --disable-sim is specified, or if the simulator directory is
21236 # not part of the source tree.
21238 # Check whether --enable-sim or --disable-sim was given.
21239 if test "${enable_sim+set}" = set; then
21240 enableval
="$enable_sim"
21241 echo "enable_sim = $enable_sim";
21242 echo "enableval = ${enableval}";
21243 case "${enableval}" in
21244 yes) ignore_sim
=false
;;
21245 no
) ignore_sim
=true
;;
21246 *) ignore_sim
=false
;;
21252 if test ! -d "${srcdir}/../sim"; then
21256 if test "${ignore_sim}" = "true"; then
21258 IGNORE_SIM_OBS
="SIM_OBS="
21262 cat >>confdefs.h
<<\_ACEOF
21281 # List of host floatformats.
21283 cat >>confdefs.h
<<_ACEOF
21284 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
21288 cat >>confdefs.h
<<_ACEOF
21289 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
21293 cat >>confdefs.h
<<_ACEOF
21294 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
21298 # target_subdir is used by the testsuite to find the target libraries.
21300 if test "${host}" != "${target}"; then
21301 target_subdir
="${target_alias}/"
21306 if test "${target}" = "${host}"; then
21307 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
21308 if test ! -f ${host_makefile_frag}; then
21309 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
21310 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
21311 { (exit 1); exit 1; }; }
21313 frags
="$frags $host_makefile_frag"
21315 host_makefile_frag
=/dev
/null
21318 target_makefile_frag
=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
21319 if test ! -f ${target_makefile_frag}; then
21320 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
21321 echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
21322 { (exit 1); exit 1; }; }
21324 frags
="$frags $target_makefile_frag"
21331 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21332 ' ${host_makefile_frag}`
21334 targetfile
=`sed -n '
21335 s/DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21336 ' ${target_makefile_frag}`
21338 if test "${target}" = "${host}"; then
21339 # We pick this up from the host configuration file (.mh) because we
21340 # do not have a native configuration Makefile fragment.
21341 nativefile
=`sed -n '
21342 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
21343 ' ${host_makefile_frag}`
21347 if test x
"${gdb_osabi}" != x
; then
21349 cat >>confdefs.h
<<_ACEOF
21350 #define GDB_OSABI_DEFAULT $gdb_osabi
21355 # Enable multi-ice-gdb-server.
21356 # Check whether --enable-multi-ice or --disable-multi-ice was given.
21357 if test "${enable_multi_ice+set}" = set; then
21358 enableval
="$enable_multi_ice"
21362 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
21363 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
21364 { (exit 1); exit 1; }; } ;;
21367 if test "x$enable_multi_ice" = xyes
; then
21370 subdirs
="$subdirs multi-ice"
21374 # We only build gdbserver automatically if host and target are the same.
21375 if test "x$target" = "x$host"; then
21376 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
21377 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
21378 if test "x$build_gdbserver" = xyes
; then
21379 echo "$as_me:$LINENO: result: yes" >&5
21380 echo "${ECHO_T}yes" >&6
21383 subdirs
="$subdirs gdbserver"
21386 echo "$as_me:$LINENO: result: no" >&5
21387 echo "${ECHO_T}no" >&6
21391 # We build rdi-share on ARM-based targets, as instructed by configure.tgt.
21392 if test "x$build_rdi_share" = xyes
; then
21395 subdirs
="$subdirs rdi-share"
21399 # We configure the nlm subdirectory on netware targets, as instructed
21400 # by configure.tgt.
21401 if test "x$build_nlm" = xyes
; then
21404 subdirs
="$subdirs nlm"
21408 # If hostfile (XM_FILE) and/or targetfile (DEPRECATED_TM_FILE) and/or
21409 # nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
21410 # to an empty version.
21417 if test "${hostfile}" != ""; then
21419 case "${hostfile}" in
21420 xm-
*.h
) GDB_XM_FILE
="config/${gdb_host_cpu}/${hostfile}" ;;
21421 * ) GDB_XM_FILE
="${hostfile}"
21423 files
="${files} ${GDB_XM_FILE}"
21424 links
="${links} xm.h"
21425 cat >>confdefs.h
<<_ACEOF
21426 #define GDB_XM_FILE "${GDB_XM_FILE}"
21434 if test "${targetfile}" != ""; then
21436 case "${targetfile}" in
21437 tm-
*.h
) GDB_TM_FILE
="config/${gdb_target_cpu}/${targetfile}" ;;
21438 * ) GDB_TM_FILE
="${targetfile}"
21440 files
="${files} ${GDB_TM_FILE}"
21441 links
="${links} tm.h"
21442 cat >>confdefs.h
<<_ACEOF
21443 #define GDB_TM_FILE "${GDB_TM_FILE}"
21451 if test "${nativefile}" != ""; then
21453 case "${nativefile}" in
21454 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
21455 * ) GDB_NM_FILE
="${nativefile}"
21457 files
="${files} ${GDB_NM_FILE}"
21458 links
="${links} nm.h"
21459 cat >>confdefs.h
<<_ACEOF
21460 #define GDB_NM_FILE "${GDB_NM_FILE}"
21466 ac_sources
="$files"
21468 while test -n "$ac_sources"; do
21469 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
21470 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
21471 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
21473 ac_config_links
="$ac_config_links $ac_config_links_1"
21480 cat >>confdefs.h
<<\_ACEOF
21481 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
21488 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21489 if test "${with_libiconv_prefix+set}" = set; then
21490 withval
="$with_libiconv_prefix"
21492 for dir
in `echo "$withval" | tr : ' '`; do
21493 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
21494 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
21499 echo "$as_me:$LINENO: checking for iconv" >&5
21500 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
21501 if test "${am_cv_func_iconv+set}" = set; then
21502 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 am_cv_func_iconv
="no, consider installing GNU libiconv"
21507 cat >conftest.
$ac_ext <<_ACEOF
21510 cat confdefs.h
>>conftest.
$ac_ext
21511 cat >>conftest.
$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 #include <stdlib.h>
21518 iconv_t cd = iconv_open("","");
21519 iconv(cd,NULL,NULL,NULL,NULL);
21525 rm -f conftest.
$ac_objext conftest
$ac_exeext
21526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21527 (eval $ac_link) 2>conftest.er1
21529 grep -v '^ *+' conftest.er1
>conftest.err
21531 cat conftest.err
>&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); } &&
21534 { ac_try
='test -z "$ac_c_werror_flag"
21535 || test ! -s conftest.err'
21536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537 (eval $ac_try) 2>&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); }; } &&
21541 { ac_try
='test -s conftest$ac_exeext'
21542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21543 (eval $ac_try) 2>&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); }; }; then
21547 am_cv_func_iconv
=yes
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.
$ac_ext >&5
21553 rm -f conftest.err conftest.
$ac_objext \
21554 conftest
$ac_exeext conftest.
$ac_ext
21555 if test "$am_cv_func_iconv" != yes; then
21556 am_save_LIBS
="$LIBS"
21557 LIBS
="$LIBS -liconv"
21558 cat >conftest.
$ac_ext <<_ACEOF
21561 cat confdefs.h
>>conftest.
$ac_ext
21562 cat >>conftest.
$ac_ext <<_ACEOF
21563 /* end confdefs.h. */
21564 #include <stdlib.h>
21569 iconv_t cd = iconv_open("","");
21570 iconv(cd,NULL,NULL,NULL,NULL);
21576 rm -f conftest.
$ac_objext conftest
$ac_exeext
21577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21578 (eval $ac_link) 2>conftest.er1
21580 grep -v '^ *+' conftest.er1
>conftest.err
21582 cat conftest.err
>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } &&
21585 { ac_try
='test -z "$ac_c_werror_flag"
21586 || test ! -s conftest.err'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; } &&
21592 { ac_try
='test -s conftest$ac_exeext'
21593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21594 (eval $ac_try) 2>&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); }; }; then
21598 am_cv_lib_iconv
=yes
21599 am_cv_func_iconv
=yes
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.
$ac_ext >&5
21605 rm -f conftest.err conftest.
$ac_objext \
21606 conftest
$ac_exeext conftest.
$ac_ext
21607 LIBS
="$am_save_LIBS"
21611 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
21612 echo "${ECHO_T}$am_cv_func_iconv" >&6
21613 if test "$am_cv_func_iconv" = yes; then
21615 cat >>confdefs.h
<<\_ACEOF
21616 #define HAVE_ICONV 1
21619 echo "$as_me:$LINENO: checking for iconv declaration" >&5
21620 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
21621 if test "${am_cv_proto_iconv+set}" = set; then
21622 echo $ECHO_N "(cached) $ECHO_C" >&6
21625 cat >conftest.
$ac_ext <<_ACEOF
21628 cat confdefs.h
>>conftest.
$ac_ext
21629 cat >>conftest.
$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21632 #include <stdlib.h>
21638 #if defined(__STDC__) || defined(__cplusplus)
21639 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21652 rm -f conftest.
$ac_objext
21653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21654 (eval $ac_compile) 2>conftest.er1
21656 grep -v '^ *+' conftest.er1
>conftest.err
21658 cat conftest.err
>&5
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); } &&
21661 { ac_try
='test -z "$ac_c_werror_flag"
21662 || test ! -s conftest.err'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; } &&
21668 { ac_try
='test -s conftest.$ac_objext'
21669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21670 (eval $ac_try) 2>&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); }; }; then
21674 am_cv_proto_iconv_arg1
=""
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.
$ac_ext >&5
21679 am_cv_proto_iconv_arg1
="const"
21681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21682 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);"
21685 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
21686 echo "$as_me:$LINENO: result: ${ac_t:-
21687 }$am_cv_proto_iconv" >&5
21688 echo "${ECHO_T}${ac_t:-
21689 }$am_cv_proto_iconv" >&6
21691 cat >>confdefs.h
<<_ACEOF
21692 #define ICONV_CONST $am_cv_proto_iconv_arg1
21697 if test "$am_cv_lib_iconv" = yes; then
21703 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
21704 ac_config_commands
="$ac_config_commands default"
21705 cat >confcache
<<\_ACEOF
21706 # This file is a shell script that caches the results of configure
21707 # tests run on this system so they can be shared between configure
21708 # scripts and configure runs, see configure's option --config-cache.
21709 # It is not useful on other systems. If it contains results you don't
21710 # want to keep, you may remove or edit it.
21712 # config.status only pays attention to the cache file if you give it
21713 # the --recheck option to rerun configure.
21715 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21716 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21717 # following values.
21721 # The following way of writing the cache mishandles newlines in values,
21722 # but we know of no workaround that is simple, portable, and efficient.
21723 # So, don't put newlines in cache variables' values.
21724 # Ultrix sh set writes to stderr and can't be redirected directly,
21725 # and sets the high bit in the cache file unless we assign to the vars.
21728 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21730 # `set' does not quote correctly, so add quotes (double-quote
21731 # substitution turns \\\\ into \\, and sed turns \\ into \).
21734 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21737 # `set' quotes correctly as required by POSIX, so do not add quotes.
21739 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21746 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21748 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21750 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21751 if test -w $cache_file; then
21752 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21753 cat confcache
>$cache_file
21755 echo "not updating unwritable cache $cache_file"
21760 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21761 # Let make expand exec_prefix.
21762 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21764 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21765 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21766 # trailing colons and then remove the whole line if VPATH becomes empty
21767 # (actually we leave an empty line to preserve line numbers).
21768 if test "x$srcdir" = x.
; then
21769 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21770 s/:*\$(srcdir):*/:/;
21771 s/:*\${srcdir}:*/:/;
21773 s/^\([^=]*=[ ]*\):*/\1/;
21779 DEFS
=-DHAVE_CONFIG_H
21783 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21784 # 1. Remove the extension, and $U if already installed.
21785 ac_i
=`echo "$ac_i" |
21786 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21788 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
21789 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
21791 LIBOBJS
=$ac_libobjs
21793 LTLIBOBJS
=$ac_ltlibobjs
21796 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21797 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
21798 Usually this means the macro was only invoked conditionally." >&5
21799 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
21800 Usually this means the macro was only invoked conditionally." >&2;}
21801 { (exit 1); exit 1; }; }
21804 : ${CONFIG_STATUS=./config.status}
21805 ac_clean_files_save
=$ac_clean_files
21806 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21807 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21808 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21809 cat >$CONFIG_STATUS <<_ACEOF
21811 # Generated by $as_me.
21812 # Run this file to recreate the current configuration.
21813 # Compiler output produced by configure, useful for debugging
21814 # configure, is in config.log if it exists.
21817 ac_cs_recheck=false
21819 SHELL=\${CONFIG_SHELL-$SHELL}
21822 cat >>$CONFIG_STATUS <<\_ACEOF
21823 ## --------------------- ##
21824 ## M4sh Initialization. ##
21825 ## --------------------- ##
21827 # Be Bourne compatible
21828 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21831 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21832 # is contrary to our usage. Disable this feature.
21833 alias -g '${1+"$@"}'='"$@"'
21834 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
21837 DUALCASE
=1; export DUALCASE
# for MKS sh
21839 # Support unset when possible.
21840 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21847 # Work around bugs in pre-3.0 UWIN ksh.
21848 $as_unset ENV MAIL MAILPATH
21855 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21856 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21857 LC_TELEPHONE LC_TIME
21859 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21860 eval $as_var=C
; export $as_var
21866 # Required to use basename.
21867 if expr a
: '\(a\)' >/dev
/null
2>&1; then
21873 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
21874 as_basename
=basename
21880 # Name of the executable.
21881 as_me
=`$as_basename "$0" ||
21882 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21883 X"$0" : 'X\(//\)$' \| \
21884 X"$0" : 'X\(/\)$' \| \
21885 . : '\(.\)' 2>/dev/null ||
21887 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21888 /^X\/\(\/\/\)$/{ s//\1/; q; }
21889 /^X\/\(\/\).*/{ s//\1/; q; }
21893 # PATH needs CR, and LINENO needs CR and PATH.
21894 # Avoid depending upon Character Ranges.
21895 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21896 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21897 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21898 as_cr_digits
='0123456789'
21899 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21901 # The user is always right.
21902 if test "${PATH_SEPARATOR+set}" != set; then
21903 echo "#! /bin/sh" >conf$$.sh
21904 echo "exit 0" >>conf$$.sh
21906 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21915 as_lineno_1
=$LINENO
21916 as_lineno_2
=$LINENO
21917 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
21918 test "x$as_lineno_1" != "x$as_lineno_2" &&
21919 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
21920 # Find who we are. Look in the path if we contain no path at all
21923 *[\\/]* ) as_myself
=$0 ;;
21924 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21925 for as_dir
in $PATH
21928 test -z "$as_dir" && as_dir
=.
21929 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21934 # We did not find ourselves, most probably we were run as `sh COMMAND'
21935 # in which case we are not to be found in the path.
21936 if test "x$as_myself" = x
; then
21939 if test ! -f "$as_myself"; then
21940 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21941 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21942 { (exit 1); exit 1; }; }
21944 case $CONFIG_SHELL in
21946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21947 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
21950 test -z "$as_dir" && as_dir
=.
21951 for as_base
in sh bash ksh sh5
; do
21954 if ("$as_dir/$as_base" -c '
21955 as_lineno_1=$LINENO
21956 as_lineno_2=$LINENO
21957 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21958 test "x$as_lineno_1" != "x$as_lineno_2" &&
21959 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
21960 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
21961 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
21962 CONFIG_SHELL
=$as_dir/$as_base
21963 export CONFIG_SHELL
21964 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21972 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21973 # uniformly replaced by the line number. The first 'sed' inserts a
21974 # line-number line before each line; the second 'sed' does the real
21975 # work. The second script uses 'N' to pair each line-number line
21976 # with the numbered line, and appends trailing '-' during
21977 # substitution so that $LINENO is not a special case at line end.
21978 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21979 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21980 sed '=' <$as_myself |
21985 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21988 s,^['$as_cr_digits']*\n,,
21989 ' >$as_me.lineno
&&
21990 chmod +x
$as_me.lineno ||
21991 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21992 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21993 { (exit 1); exit 1; }; }
21995 # Don't try to exec as it changes $[0], causing all sort of problems
21996 # (the dirname of $[0] is not the place where we might find the
21997 # original and so on. Autoconf is especially sensible to this).
21999 # Exit status is that of the last command.
22004 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22005 *c
*,-n*) ECHO_N
= ECHO_C
='
22007 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
22008 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
22011 if expr a
: '\(a\)' >/dev
/null
2>&1; then
22017 rm -f conf$$ conf$$.exe conf$$.
file
22019 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22020 # We could just check for DJGPP; but this test a) works b) is more generic
22021 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22022 if test -f conf$$.exe
; then
22023 # Don't use ln at all; we don't have any links
22028 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22033 rm -f conf$$ conf$$.exe conf$$.
file
22035 if mkdir
-p .
2>/dev
/null
; then
22038 test -d .
/-p && rmdir .
/-p
22042 as_executable_p
="test -f"
22044 # Sed expression to map a string onto a valid CPP name.
22045 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22047 # Sed expression to map a string onto a valid variable name.
22048 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22052 # We need space, tab and new line, in precisely that order.
22062 # Open the log real soon, to keep \$[0] and so on meaningful, and to
22063 # report actual input values of CONFIG_FILES etc. instead of their
22064 # values after options handling. Logging --version etc. is OK.
22068 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22069 ## Running $as_me. ##
22074 This file was extended by $as_me, which was
22075 generated by GNU Autoconf 2.59. Invocation command line was
22077 CONFIG_FILES = $CONFIG_FILES
22078 CONFIG_HEADERS = $CONFIG_HEADERS
22079 CONFIG_LINKS = $CONFIG_LINKS
22080 CONFIG_COMMANDS = $CONFIG_COMMANDS
22084 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
22088 # Files that config.status was made for.
22089 if test -n "$ac_config_files"; then
22090 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
22093 if test -n "$ac_config_headers"; then
22094 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
22097 if test -n "$ac_config_links"; then
22098 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
22101 if test -n "$ac_config_commands"; then
22102 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
22105 cat >>$CONFIG_STATUS <<\_ACEOF
22108 \`$as_me' instantiates files from templates according to the
22109 current configuration.
22111 Usage: $0 [OPTIONS] [FILE]...
22113 -h, --help print this help, then exit
22114 -V, --version print version number, then exit
22115 -q, --quiet do not print progress messages
22116 -d, --debug don't remove temporary files
22117 --recheck update $as_me by reconfiguring in the same conditions
22118 --file=FILE[:TEMPLATE]
22119 instantiate the configuration file FILE
22120 --header=FILE[:TEMPLATE]
22121 instantiate the configuration header FILE
22123 Configuration files:
22126 Configuration headers:
22129 Configuration links:
22132 Configuration commands:
22135 Report bugs to <bug-autoconf@gnu.org>."
22138 cat >>$CONFIG_STATUS <<_ACEOF
22141 configured by $0, generated by GNU Autoconf 2.59,
22142 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
22144 Copyright (C) 2003 Free Software Foundation, Inc.
22145 This config.status script is free software; the Free Software Foundation
22146 gives unlimited permission to copy, distribute and modify it."
22151 cat >>$CONFIG_STATUS <<\_ACEOF
22152 # If no file are specified by the user, then we need to provide default
22153 # value. By we need to know if files were specified by the user.
22159 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
22160 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
22168 *) # This is not an option, so the user has probably given explicit
22171 ac_need_defaults
=false
;;
22175 # Handling of the options.
22177 cat >>$CONFIG_STATUS <<\_ACEOF
22178 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22180 --version |
--vers* |
-V )
22181 echo "$ac_cs_version"; exit 0 ;;
22183 # Conflict between --help and --header
22184 { { echo "$as_me:$LINENO: error: ambiguous option: $1
22185 Try \`$0 --help' for more information." >&5
22186 echo "$as_me: error: ambiguous option: $1
22187 Try \`$0 --help' for more information." >&2;}
22188 { (exit 1); exit 1; }; };;
22189 --help |
--hel |
-h )
22190 echo "$ac_cs_usage"; exit 0 ;;
22191 --debug |
--d* |
-d )
22193 --file |
--fil |
--fi |
--f )
22195 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22196 ac_need_defaults
=false
;;
22197 --header |
--heade |
--head |
--hea )
22199 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22200 ac_need_defaults
=false
;;
22201 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22202 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22205 # This is an error.
22206 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
22207 Try \`$0 --help' for more information." >&5
22208 echo "$as_me: error: unrecognized option: $1
22209 Try \`$0 --help' for more information." >&2;}
22210 { (exit 1); exit 1; }; } ;;
22212 *) ac_config_targets
="$ac_config_targets $1" ;;
22218 ac_configure_extra_args
=
22220 if $ac_cs_silent; then
22222 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22226 cat >>$CONFIG_STATUS <<_ACEOF
22227 if \$ac_cs_recheck; then
22228 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22229 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22234 cat >>$CONFIG_STATUS <<_ACEOF
22236 # INIT-COMMANDS section.
22240 gdb_host_cpu=$gdb_host_cpu
22241 gdb_target_cpu=$gdb_target_cpu
22242 nativefile=$nativefile
22249 cat >>$CONFIG_STATUS <<\_ACEOF
22250 for ac_config_target
in $ac_config_targets
22252 case "$ac_config_target" in
22253 # Handling of arguments.
22254 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22255 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
22256 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
22257 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
22258 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
22259 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22260 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22261 { (exit 1); exit 1; }; };;
22265 # If the user did not use the arguments to specify the items to instantiate,
22266 # then the envvar interface is used. Set only those that are not.
22267 # We use the long form for the default assignment because of an extremely
22268 # bizarre bug on SunOS 4.1.3.
22269 if $ac_need_defaults; then
22270 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22271 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22272 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
22273 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22276 # Have a temporary directory for convenience. Make it in the build tree
22277 # simply because there is no reason to put it here, and in addition,
22278 # creating and moving files from /tmp can sometimes cause problems.
22279 # Create a temporary directory, and hook for its removal unless debugging.
22282 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22283 trap '{ (exit 1); exit 1; }' 1 2 13 15
22286 # Create a (secure) tmp directory for tmp files.
22289 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22290 test -n "$tmp" && test -d "$tmp"
22293 tmp
=.
/confstat$$
-$RANDOM
22294 (umask 077 && mkdir
$tmp)
22297 echo "$me: cannot create a temporary directory in ." >&2
22298 { (exit 1); exit 1; }
22303 cat >>$CONFIG_STATUS <<_ACEOF
22306 # CONFIG_FILES section.
22309 # No need to generate the scripts if there are no CONFIG_FILES.
22310 # This happens for instance when ./config.status config.h
22311 if test -n "\$CONFIG_FILES"; then
22312 # Protect against being on the right side of a sed subst in config.status.
22313 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22314 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22315 s,@SHELL@,$SHELL,;t t
22316 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22317 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22318 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22319 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22320 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22321 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22322 s,@exec_prefix@,$exec_prefix,;t t
22323 s,@prefix@,$prefix,;t t
22324 s,@program_transform_name@,$program_transform_name,;t t
22325 s,@bindir@,$bindir,;t t
22326 s,@sbindir@,$sbindir,;t t
22327 s,@libexecdir@,$libexecdir,;t t
22328 s,@datadir@,$datadir,;t t
22329 s,@sysconfdir@,$sysconfdir,;t t
22330 s,@sharedstatedir@,$sharedstatedir,;t t
22331 s,@localstatedir@,$localstatedir,;t t
22332 s,@libdir@,$libdir,;t t
22333 s,@includedir@,$includedir,;t t
22334 s,@oldincludedir@,$oldincludedir,;t t
22335 s,@infodir@,$infodir,;t t
22336 s,@mandir@,$mandir,;t t
22337 s,@build_alias@,$build_alias,;t t
22338 s,@host_alias@,$host_alias,;t t
22339 s,@target_alias@,$target_alias,;t t
22340 s,@DEFS@,$DEFS,;t t
22341 s,@ECHO_C@,$ECHO_C,;t t
22342 s,@ECHO_N@,$ECHO_N,;t t
22343 s,@ECHO_T@,$ECHO_T,;t t
22344 s,@LIBS@,$LIBS,;t t
22345 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22346 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22347 s,@MAINT@,$MAINT,;t t
22349 s,@CFLAGS@,$CFLAGS,;t t
22350 s,@LDFLAGS@,$LDFLAGS,;t t
22351 s,@CPPFLAGS@,$CPPFLAGS,;t t
22352 s,@ac_ct_CC@,$ac_ct_CC,;t t
22353 s,@EXEEXT@,$EXEEXT,;t t
22354 s,@OBJEXT@,$OBJEXT,;t t
22356 s,@EGREP@,$EGREP,;t t
22357 s,@build@,$build,;t t
22358 s,@build_cpu@,$build_cpu,;t t
22359 s,@build_vendor@,$build_vendor,;t t
22360 s,@build_os@,$build_os,;t t
22361 s,@host@,$host,;t t
22362 s,@host_cpu@,$host_cpu,;t t
22363 s,@host_vendor@,$host_vendor,;t t
22364 s,@host_os@,$host_os,;t t
22365 s,@target@,$target,;t t
22366 s,@target_cpu@,$target_cpu,;t t
22367 s,@target_vendor@,$target_vendor,;t t
22368 s,@target_os@,$target_os,;t t
22369 s,@RANLIB@,$RANLIB,;t t
22370 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22371 s,@SET_MAKE@,$SET_MAKE,;t t
22372 s,@ALLOCA@,$ALLOCA,;t t
22373 s,@USE_NLS@,$USE_NLS,;t t
22374 s,@MSGFMT@,$MSGFMT,;t t
22375 s,@GMSGFMT@,$GMSGFMT,;t t
22376 s,@XGETTEXT@,$XGETTEXT,;t t
22377 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
22378 s,@CATALOGS@,$CATALOGS,;t t
22379 s,@CATOBJEXT@,$CATOBJEXT,;t t
22380 s,@DATADIRNAME@,$DATADIRNAME,;t t
22381 s,@GMOFILES@,$GMOFILES,;t t
22382 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
22383 s,@INTLDEPS@,$INTLDEPS,;t t
22384 s,@INTLLIBS@,$INTLLIBS,;t t
22385 s,@INTLOBJS@,$INTLOBJS,;t t
22386 s,@POFILES@,$POFILES,;t t
22387 s,@POSUB@,$POSUB,;t t
22388 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
22389 s,@GT_NO@,$GT_NO,;t t
22390 s,@GT_YES@,$GT_YES,;t t
22391 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
22393 s,@localedir@,$localedir,;t t
22394 s,@PACKAGE@,$PACKAGE,;t t
22395 s,@subdirs@,$subdirs,;t t
22397 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22398 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22399 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22400 s,@LN_S@,$LN_S,;t t
22401 s,@YACC@,$YACC,;t t
22403 s,@ac_ct_AR@,$ac_ct_AR,;t t
22404 s,@DLLTOOL@,$DLLTOOL,;t t
22405 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
22406 s,@WINDRES@,$WINDRES,;t t
22407 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
22409 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
22410 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
22411 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
22412 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
22413 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
22414 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
22415 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
22416 s,@WIN32LIBS@,$WIN32LIBS,;t t
22417 s,@LIBGUI@,$LIBGUI,;t t
22418 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
22419 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
22420 s,@TCL_VERSION@,$TCL_VERSION,;t t
22421 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
22422 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
22423 s,@TCL_CC@,$TCL_CC,;t t
22424 s,@TCL_DEFS@,$TCL_DEFS,;t t
22425 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
22426 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
22427 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
22428 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
22429 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
22430 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
22431 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
22432 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
22433 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
22434 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
22435 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
22436 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
22437 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
22438 s,@TK_VERSION@,$TK_VERSION,;t t
22439 s,@TK_DEFS@,$TK_DEFS,;t t
22440 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
22441 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
22442 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
22443 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
22444 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
22445 s,@TCLHDIR@,$TCLHDIR,;t t
22446 s,@TKHDIR@,$TKHDIR,;t t
22447 s,@ITCLHDIR@,$ITCLHDIR,;t t
22448 s,@ITKHDIR@,$ITKHDIR,;t t
22449 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
22450 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
22451 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
22452 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
22453 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
22454 s,@ITK_VERSION@,$ITK_VERSION,;t t
22455 s,@ITK_DEFS@,$ITK_DEFS,;t t
22456 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
22457 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
22458 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
22459 s,@X_CFLAGS@,$X_CFLAGS,;t t
22460 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
22461 s,@X_LIBS@,$X_LIBS,;t t
22462 s,@TCL_DEPS@,$TCL_DEPS,;t t
22463 s,@TK_DEPS@,$TK_DEPS,;t t
22464 s,@ITCLLIB@,$ITCLLIB,;t t
22465 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
22466 s,@ITKLIB@,$ITKLIB,;t t
22467 s,@ITK_DEPS@,$ITK_DEPS,;t t
22468 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
22469 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
22470 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
22471 s,@IGNORE_SIM@,$IGNORE_SIM,;t t
22472 s,@IGNORE_SIM_OBS@,$IGNORE_SIM_OBS,;t t
22473 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
22474 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
22475 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
22476 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
22477 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
22478 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
22479 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
22480 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
22481 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
22482 s,@target_subdir@,$target_subdir,;t t
22483 s,@frags@,$frags,;t t
22484 s,@xm_h@,$xm_h,;t t
22485 s,@tm_h@,$tm_h,;t t
22486 s,@nm_h@,$nm_h,;t t
22487 s,@LIBICONV@,$LIBICONV,;t t
22488 s,@LIBOBJS@,$LIBOBJS,;t t
22489 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22490 /@host_makefile_frag@/r $host_makefile_frag
22491 s,@host_makefile_frag@,,;t t
22492 /@target_makefile_frag@/r $target_makefile_frag
22493 s,@target_makefile_frag@,,;t t
22498 cat >>$CONFIG_STATUS <<\_ACEOF
22499 # Split the substitutions into bite-sized pieces for seds with
22500 # small command number limits, like on Digital OSF/1 and HP-UX.
22501 ac_max_sed_lines
=48
22502 ac_sed_frag
=1 # Number of current file.
22503 ac_beg
=1 # First line for current file.
22504 ac_end
=$ac_max_sed_lines # Line after last line for current file.
22507 while $ac_more_lines; do
22508 if test $ac_beg -gt 1; then
22509 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22511 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
22513 if test ! -s $tmp/subs.frag
; then
22514 ac_more_lines
=false
22516 # The purpose of the label and of the branching condition is to
22517 # speed up the sed processing (if there are no `@' at all, there
22518 # is no need to browse any of the substitutions).
22519 # These are the two extra sed commands mentioned above.
22521 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
22522 if test -z "$ac_sed_cmds"; then
22523 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
22525 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22527 ac_sed_frag
=`expr $ac_sed_frag + 1`
22529 ac_end
=`expr $ac_end + $ac_max_sed_lines`
22532 if test -z "$ac_sed_cmds"; then
22535 fi # test -n "$CONFIG_FILES"
22538 cat >>$CONFIG_STATUS <<\_ACEOF
22539 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
22540 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22542 - |
*:- |
*:-:* ) # input from stdin
22544 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22545 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22546 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22547 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22548 * ) ac_file_in
=$ac_file.
in ;;
22551 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22552 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22553 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22554 X"$ac_file" : 'X\(//\)[^/]' \| \
22555 X"$ac_file" : 'X\(//\)$' \| \
22556 X"$ac_file" : 'X\(/\)' \| \
22557 . : '\(.\)' 2>/dev/null ||
22559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22560 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22561 /^X\(\/\/\)$/{ s//\1/; q; }
22562 /^X\(\/\).*/{ s//\1/; q; }
22564 { if $as_mkdir_p; then
22569 while test ! -d "$as_dir"; do
22570 as_dirs
="$as_dir $as_dirs"
22571 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22572 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22573 X"$as_dir" : 'X\(//\)[^/]' \| \
22574 X"$as_dir" : 'X\(//\)$' \| \
22575 X"$as_dir" : 'X\(/\)' \| \
22576 . : '\(.\)' 2>/dev/null ||
22578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22579 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22580 /^X\(\/\/\)$/{ s//\1/; q; }
22581 /^X\(\/\).*/{ s//\1/; q; }
22584 test ! -n "$as_dirs" || mkdir
$as_dirs
22585 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22586 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22587 { (exit 1); exit 1; }; }; }
22591 if test "$ac_dir" != .
; then
22592 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22593 # A "../" for each directory in $ac_dir_suffix.
22594 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22596 ac_dir_suffix
= ac_top_builddir
=
22600 .
) # No --srcdir option. We are building in place.
22602 if test -z "$ac_top_builddir"; then
22605 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
22607 [\\/]* | ?
:[\\/]* ) # Absolute path.
22608 ac_srcdir
=$srcdir$ac_dir_suffix;
22609 ac_top_srcdir
=$srcdir ;;
22610 *) # Relative path.
22611 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
22612 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
22615 # Do not use `cd foo && pwd` to compute absolute paths, because
22616 # the directories may not exist.
22618 .
) ac_abs_builddir
="$ac_dir";;
22621 .
) ac_abs_builddir
=`pwd`;;
22622 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
22623 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
22626 case $ac_abs_builddir in
22627 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22629 case ${ac_top_builddir}.
in
22630 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
22631 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
22632 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
22635 case $ac_abs_builddir in
22636 .
) ac_abs_srcdir
=$ac_srcdir;;
22639 .
) ac_abs_srcdir
=$ac_abs_builddir;;
22640 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
22641 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
22644 case $ac_abs_builddir in
22645 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
22647 case $ac_top_srcdir in
22648 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
22649 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
22650 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
22656 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22657 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
22660 if test x
"$ac_file" != x-
; then
22661 { echo "$as_me:$LINENO: creating $ac_file" >&5
22662 echo "$as_me: creating $ac_file" >&6;}
22665 # Let's still pretend it is `configure' which instantiates (i.e., don't
22666 # use $as_me), people would be surprised to read:
22667 # /* config.h. Generated by config.status. */
22668 if test x
"$ac_file" = x-
; then
22671 configure_input
="$ac_file. "
22673 configure_input
=$configure_input"Generated from `echo $ac_file_in |
22674 sed 's,.*/,,'` by configure."
22676 # First look for the input files in the build tree, otherwise in the
22678 ac_file_inputs
=`IFS=:
22679 for f in $ac_file_in; do
22681 -) echo $tmp/stdin ;;
22683 # Absolute (can't be DOS-style, as IFS=:)
22684 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22685 echo "$as_me: error: cannot find input file: $f" >&2;}
22686 { (exit 1); exit 1; }; }
22689 if test -f "$f"; then
22692 elif test -f "$srcdir/$f"; then
22697 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22698 echo "$as_me: error: cannot find input file: $f" >&2;}
22699 { (exit 1); exit 1; }; }
22702 done` ||
{ (exit 1); exit 1; }
22704 cat >>$CONFIG_STATUS <<_ACEOF
22708 cat >>$CONFIG_STATUS <<\_ACEOF
22710 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22711 s
,@configure_input@
,$configure_input,;t t
22712 s
,@srcdir@
,$ac_srcdir,;t t
22713 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
22714 s
,@top_srcdir@
,$ac_top_srcdir,;t t
22715 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
22716 s
,@builddir@
,$ac_builddir,;t t
22717 s
,@abs_builddir@
,$ac_abs_builddir,;t t
22718 s
,@top_builddir@
,$ac_top_builddir,;t t
22719 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
22720 s
,@INSTALL@
,$ac_INSTALL,;t t
22721 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22723 if test x"$ac_file" != x-; then
22724 mv $tmp/out $ac_file
22732 cat >>$CONFIG_STATUS <<\_ACEOF
22735 # CONFIG_HEADER section.
22738 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
22739 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22741 # ac_d sets the value in "#define NAME VALUE" lines.
22742 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22743 ac_dB
='[ ].*$,\1#\2'
22746 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22747 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22748 ac_uB
='$,\1#\2define\3'
22752 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
22753 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22755 - |
*:- |
*:-:* ) # input from stdin
22757 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22758 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22759 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22760 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
22761 * ) ac_file_in
=$ac_file.
in ;;
22764 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
22765 echo "$as_me: creating $ac_file" >&6;}
22767 # First look for the input files in the build tree, otherwise in the
22769 ac_file_inputs
=`IFS=:
22770 for f in $ac_file_in; do
22772 -) echo $tmp/stdin ;;
22774 # Absolute (can't be DOS-style, as IFS=:)
22775 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22776 echo "$as_me: error: cannot find input file: $f" >&2;}
22777 { (exit 1); exit 1; }; }
22778 # Do quote $f, to prevent DOS paths from being IFS'd.
22781 if test -f "$f"; then
22784 elif test -f "$srcdir/$f"; then
22789 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22790 echo "$as_me: error: cannot find input file: $f" >&2;}
22791 { (exit 1); exit 1; }; }
22794 done` ||
{ (exit 1); exit 1; }
22795 # Remove the trailing spaces.
22796 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22800 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22801 # `conftest.undefs', that substitutes the proper values into
22802 # config.h.in to produce config.h. The first handles `#define'
22803 # templates, and the second `#undef' templates.
22804 # And first: Protect against being on the right side of a sed subst in
22805 # config.status. Protect against being in an unquoted here document
22806 # in config.status.
22807 rm -f conftest.defines conftest.undefs
22808 # Using a here document instead of a string reduces the quoting nightmare.
22809 # Putting comments in sed scripts is not portable.
22811 # `end' is used to avoid that the second main sed command (meant for
22812 # 0-ary CPP macros) applies to n-ary macro definitions.
22813 # See the Autoconf documentation for `clear'.
22814 cat >confdef2sed.
sed <<\_ACEOF
22819 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22821 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22824 # If some macros were called several times there might be several times
22825 # the same #defines, which is useless. Nevertheless, we may not want to
22826 # sort them, since we want the *last* AC-DEFINE to be honored.
22827 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22828 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22829 rm -f confdef2sed.sed
22831 # This sed command replaces #undef with comments. This is necessary, for
22832 # example, in the case of _POSIX_SOURCE, which is predefined and required
22833 # on some systems where configure will not decide to define it.
22834 cat >>conftest.undefs <<\_ACEOF
22835 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22838 # Break up conftest.defines because some shells have a limit on the size
22839 # of here documents, and old seds have small limits too (100 cmds).
22840 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22841 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22842 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22843 echo ' :' >>$CONFIG_STATUS
22844 rm -f conftest.tail
22845 while grep . conftest.defines >/dev/null
22847 # Write a limited-size here document to $tmp/defines.sed.
22848 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22849 # Speed up: don't consider the non `#define' lines.
22850 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22851 # Work around the forget-to-reset-the-flag bug.
22852 echo 't clr' >>$CONFIG_STATUS
22853 echo ': clr' >>$CONFIG_STATUS
22854 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
22856 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22858 mv $tmp/out $tmp/in
22860 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
22861 rm -f conftest.defines
22862 mv conftest.
tail conftest.defines
22864 rm -f conftest.defines
22865 echo ' fi # grep' >>$CONFIG_STATUS
22866 echo >>$CONFIG_STATUS
22868 # Break up conftest.undefs because some shells have a limit on the size
22869 # of here documents, and old seds have small limits too (100 cmds).
22870 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22871 rm -f conftest.
tail
22872 while grep . conftest.undefs
>/dev
/null
22874 # Write a limited-size here document to $tmp/undefs.sed.
22875 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22876 # Speed up: don't consider the non
`#undef'
22877 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22878 # Work around the forget-to-reset-the-flag bug.
22879 echo 't clr' >>$CONFIG_STATUS
22880 echo ': clr' >>$CONFIG_STATUS
22881 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22883 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22885 mv $tmp/out $tmp/in
22887 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22888 rm -f conftest.undefs
22889 mv conftest.tail conftest.undefs
22891 rm -f conftest.undefs
22893 cat >>$CONFIG_STATUS <<\_ACEOF
22894 # Let's still pretend it is `configure
' which instantiates (i.e., don't
22895 # use $as_me), people would be surprised to read:
22896 # /* config.h. Generated by config.status. */
22897 if test x
"$ac_file" = x-
; then
22898 echo "/* Generated by configure. */" >$tmp/config.h
22900 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22902 cat $tmp/in >>$tmp/config.h
22904 if test x
"$ac_file" != x-
; then
22905 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
22906 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22907 echo "$as_me: $ac_file is unchanged" >&6;}
22909 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
22910 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22911 X"$ac_file" : 'X\(//\)[^/]' \| \
22912 X"$ac_file" : 'X\(//\)$' \| \
22913 X"$ac_file" : 'X\(/\)' \| \
22914 . : '\(.\)' 2>/dev/null ||
22916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22917 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22918 /^X\(\/\/\)$/{ s//\1/; q; }
22919 /^X\(\/\).*/{ s//\1/; q; }
22921 { if $as_mkdir_p; then
22926 while test ! -d "$as_dir"; do
22927 as_dirs
="$as_dir $as_dirs"
22928 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22929 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22930 X"$as_dir" : 'X\(//\)[^/]' \| \
22931 X"$as_dir" : 'X\(//\)$' \| \
22932 X"$as_dir" : 'X\(/\)' \| \
22933 . : '\(.\)' 2>/dev/null ||
22935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22936 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22937 /^X\(\/\/\)$/{ s//\1/; q; }
22938 /^X\(\/\).*/{ s//\1/; q; }
22941 test ! -n "$as_dirs" || mkdir
$as_dirs
22942 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22943 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22944 { (exit 1); exit 1; }; }; }
22947 mv $tmp/config.h
$ac_file
22951 rm -f $tmp/config.h
22955 cat >>$CONFIG_STATUS <<\_ACEOF
22958 # CONFIG_LINKS section.
22961 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
22962 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
22963 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
22965 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
22966 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
22968 if test ! -r $srcdir/$ac_source; then
22969 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
22970 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
22971 { (exit 1); exit 1; }; }
22975 # Make relative symlinks.
22976 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
22977 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22978 X"$ac_dest" : 'X\(//\)[^/]' \| \
22979 X"$ac_dest" : 'X\(//\)$' \| \
22980 X"$ac_dest" : 'X\(/\)' \| \
22981 . : '\(.\)' 2>/dev/null ||
22983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22984 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22985 /^X\(\/\/\)$/{ s//\1/; q; }
22986 /^X\(\/\).*/{ s//\1/; q; }
22988 { if $as_mkdir_p; then
22989 mkdir
-p "$ac_dest_dir"
22991 as_dir
="$ac_dest_dir"
22993 while test ! -d "$as_dir"; do
22994 as_dirs
="$as_dir $as_dirs"
22995 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
22996 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22997 X"$as_dir" : 'X\(//\)[^/]' \| \
22998 X"$as_dir" : 'X\(//\)$' \| \
22999 X"$as_dir" : 'X\(/\)' \| \
23000 . : '\(.\)' 2>/dev/null ||
23002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23004 /^X\(\/\/\)$/{ s//\1/; q; }
23005 /^X\(\/\).*/{ s//\1/; q; }
23008 test ! -n "$as_dirs" || mkdir
$as_dirs
23009 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
23010 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
23011 { (exit 1); exit 1; }; }; }
23015 if test "$ac_dest_dir" != .
; then
23016 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
23017 # A "../" for each directory in $ac_dir_suffix.
23018 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23020 ac_dir_suffix
= ac_top_builddir
=
23024 .
) # No --srcdir option. We are building in place.
23026 if test -z "$ac_top_builddir"; then
23029 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23031 [\\/]* | ?
:[\\/]* ) # Absolute path.
23032 ac_srcdir
=$srcdir$ac_dir_suffix;
23033 ac_top_srcdir
=$srcdir ;;
23034 *) # Relative path.
23035 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23036 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23039 # Do not use `cd foo && pwd` to compute absolute paths, because
23040 # the directories may not exist.
23042 .
) ac_abs_builddir
="$ac_dest_dir";;
23044 case "$ac_dest_dir" in
23045 .
) ac_abs_builddir
=`pwd`;;
23046 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
23047 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
23050 case $ac_abs_builddir in
23051 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23053 case ${ac_top_builddir}.
in
23054 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23055 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23056 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23059 case $ac_abs_builddir in
23060 .
) ac_abs_srcdir
=$ac_srcdir;;
23063 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23064 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23065 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23068 case $ac_abs_builddir in
23069 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23071 case $ac_top_srcdir in
23072 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23073 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23074 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23080 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
23081 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
23084 # Try a symlink, then a hard link, then a copy.
23085 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
23086 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
23087 cp -p $srcdir/$ac_source $ac_dest ||
23088 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
23089 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
23090 { (exit 1); exit 1; }; }
23093 cat >>$CONFIG_STATUS <<\_ACEOF
23096 # CONFIG_COMMANDS section.
23098 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
23099 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
23100 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
23101 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
23102 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23103 X"$ac_dest" : 'X\(//\)[^/]' \| \
23104 X"$ac_dest" : 'X\(//\)$' \| \
23105 X"$ac_dest" : 'X\(/\)' \| \
23106 . : '\(.\)' 2>/dev/null ||
23108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23109 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23110 /^X\(\/\/\)$/{ s//\1/; q; }
23111 /^X\(\/\).*/{ s//\1/; q; }
23113 { if $as_mkdir_p; then
23118 while test ! -d "$as_dir"; do
23119 as_dirs
="$as_dir $as_dirs"
23120 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23121 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23122 X"$as_dir" : 'X\(//\)[^/]' \| \
23123 X"$as_dir" : 'X\(//\)$' \| \
23124 X"$as_dir" : 'X\(/\)' \| \
23125 . : '\(.\)' 2>/dev/null ||
23127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23128 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23129 /^X\(\/\/\)$/{ s//\1/; q; }
23130 /^X\(\/\).*/{ s//\1/; q; }
23133 test ! -n "$as_dirs" || mkdir
$as_dirs
23134 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23135 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23136 { (exit 1); exit 1; }; }; }
23140 if test "$ac_dir" != .
; then
23141 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23142 # A "../" for each directory in $ac_dir_suffix.
23143 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23145 ac_dir_suffix
= ac_top_builddir
=
23149 .
) # No --srcdir option. We are building in place.
23151 if test -z "$ac_top_builddir"; then
23154 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23156 [\\/]* | ?
:[\\/]* ) # Absolute path.
23157 ac_srcdir
=$srcdir$ac_dir_suffix;
23158 ac_top_srcdir
=$srcdir ;;
23159 *) # Relative path.
23160 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23161 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23164 # Do not use `cd foo && pwd` to compute absolute paths, because
23165 # the directories may not exist.
23167 .
) ac_abs_builddir
="$ac_dir";;
23170 .
) ac_abs_builddir
=`pwd`;;
23171 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23172 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23175 case $ac_abs_builddir in
23176 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23178 case ${ac_top_builddir}.
in
23179 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23180 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23181 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23184 case $ac_abs_builddir in
23185 .
) ac_abs_srcdir
=$ac_srcdir;;
23188 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23189 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23190 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23193 case $ac_abs_builddir in
23194 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23196 case $ac_top_srcdir in
23197 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23198 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23199 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23204 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23205 echo "$as_me: executing $ac_dest commands" >&6;}
23209 sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
23210 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
23211 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
23212 mv -f Makefile.tmp Makefile
23215 case x
$CONFIG_HEADERS in
23216 xconfig.h
:config.
in)
23224 cat >>$CONFIG_STATUS <<\_ACEOF
23226 { (exit 0); exit 0; }
23228 chmod +x
$CONFIG_STATUS
23229 ac_clean_files
=$ac_clean_files_save
23232 # configure is writing to config.log, and then calls config.status.
23233 # config.status does its own redirection, appending to config.log.
23234 # Unfortunately, on DOS this fails, as config.log is still kept open
23235 # by configure, so config.status won't be able to write to it; its
23236 # output is simply discarded. So we exec the FD to /dev/null,
23237 # effectively closing config.log, so it can be properly (re)opened and
23238 # appended to by config.status. When coming back to configure, we
23239 # need to make the FD available again.
23240 if test "$no_create" != yes; then
23242 ac_config_status_args
=
23243 test "$silent" = yes &&
23244 ac_config_status_args
="$ac_config_status_args --quiet"
23246 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23248 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23249 # would make configure fail if this is the last instruction.
23250 $ac_cs_success ||
{ (exit 1); exit 1; }
23254 # CONFIG_SUBDIRS section.
23256 if test "$no_recursion" != yes; then
23258 # Remove --cache-file and --srcdir arguments so they do not pile up.
23259 ac_sub_configure_args
=
23261 for ac_arg
in $ac_configure_args; do
23262 if test -n "$ac_prev"; then
23267 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
23268 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
23269 ac_prev
=cache_file
;;
23270 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
23271 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
23274 --config-cache |
-C)
23276 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
23278 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
23280 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
23282 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
23284 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
23288 # Always prepend --prefix to ensure using the same prefix
23289 # in subdir configurations.
23290 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
23293 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
23295 # Do not complain, so a configure script can configure whichever
23296 # parts of a large source tree are present.
23297 test -d $srcdir/$ac_dir ||
continue
23299 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
23300 echo "$as_me: configuring in $ac_dir" >&6;}
23301 { if $as_mkdir_p; then
23306 while test ! -d "$as_dir"; do
23307 as_dirs
="$as_dir $as_dirs"
23308 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
23309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23310 X"$as_dir" : 'X\(//\)[^/]' \| \
23311 X"$as_dir" : 'X\(//\)$' \| \
23312 X"$as_dir" : 'X\(/\)' \| \
23313 . : '\(.\)' 2>/dev/null ||
23315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23317 /^X\(\/\/\)$/{ s//\1/; q; }
23318 /^X\(\/\).*/{ s//\1/; q; }
23321 test ! -n "$as_dirs" || mkdir
$as_dirs
23322 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23323 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23324 { (exit 1); exit 1; }; }; }
23328 if test "$ac_dir" != .
; then
23329 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23330 # A "../" for each directory in $ac_dir_suffix.
23331 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23333 ac_dir_suffix
= ac_top_builddir
=
23337 .
) # No --srcdir option. We are building in place.
23339 if test -z "$ac_top_builddir"; then
23342 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
23344 [\\/]* | ?
:[\\/]* ) # Absolute path.
23345 ac_srcdir
=$srcdir$ac_dir_suffix;
23346 ac_top_srcdir
=$srcdir ;;
23347 *) # Relative path.
23348 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
23349 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
23352 # Do not use `cd foo && pwd` to compute absolute paths, because
23353 # the directories may not exist.
23355 .
) ac_abs_builddir
="$ac_dir";;
23358 .
) ac_abs_builddir
=`pwd`;;
23359 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
23360 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
23363 case $ac_abs_builddir in
23364 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23366 case ${ac_top_builddir}.
in
23367 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
23368 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
23369 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
23372 case $ac_abs_builddir in
23373 .
) ac_abs_srcdir
=$ac_srcdir;;
23376 .
) ac_abs_srcdir
=$ac_abs_builddir;;
23377 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
23378 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
23381 case $ac_abs_builddir in
23382 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
23384 case $ac_top_srcdir in
23385 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
23386 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
23387 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
23394 # Check for guested configure; otherwise get Cygnus style configure.
23395 if test -f $ac_srcdir/configure.gnu
; then
23396 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
23397 elif test -f $ac_srcdir/configure
; then
23398 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
23399 elif test -f $ac_srcdir/configure.
in; then
23400 ac_sub_configure
=$ac_configure
23402 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
23403 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
23407 # The recursion is here.
23408 if test -n "$ac_sub_configure"; then
23409 # Make the cache file name correct relative to the subdirectory.
23410 case $cache_file in
23411 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
23412 *) # Relative path.
23413 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
23416 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
23417 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
23418 # The eval makes quoting arguments work.
23419 eval $ac_sub_configure $ac_sub_configure_args \
23420 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
23421 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
23422 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
23423 { (exit 1); exit 1; }; }