2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Concurrent Versions System (CVS) 1.11.22.
5 # Report bugs to <bug-cvs@nongnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='Concurrent Versions System (CVS)'
271 PACKAGE_TARNAME='cvs'
272 PACKAGE_VERSION='1.11.22'
273 PACKAGE_STRING='Concurrent Versions System (CVS) 1.11.22'
274 PACKAGE_BUGREPORT='bug-cvs@nongnu.org'
276 ac_unique_file="src/cvs.h"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar ac_prefix_program MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP RANLIB ac_ct_RANLIB YACC LN_S PERL CSH MKTEMP SENDMAIL PR ROFF PS2PDF TEXI2DVI MAKE_TARGETS_IN_VPATH_TRUE MAKE_TARGETS_IN_VPATH_FALSE LIBOBJS KRB4 includeopt EDITOR with_default_rsh LTLIBOBJS'
315 ac_subst_files='MKTEMP_SH_FUNCTION'
317 # Initialize some variables set by options.
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name=s,x,x,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CPP_set=${CPP+set}
772 ac_env_CPP_value=$CPP
773 ac_cv_env_CPP_set=${CPP+set}
774 ac_cv_env_CPP_value=$CPP
775 ac_env_EDITOR_set=${EDITOR+set}
776 ac_env_EDITOR_value=$EDITOR
777 ac_cv_env_EDITOR_set=${EDITOR+set}
778 ac_cv_env_EDITOR_value=$EDITOR
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 Concurrent Versions System (CVS) 1.11.22 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
847 if test -n "$ac_init_help"; then
848 case $ac_init_help in
849 short | recursive ) echo "Configuration of Concurrent Versions System (CVS) 1.11.22:";;
854 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
855 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
856 --enable-maintainer-mode enable make rules and dependencies not useful
857 (and sometimes confusing) to the casual installer
858 --disable-dependency-tracking speeds up one-time build
859 --enable-dependency-tracking do not reject slow dependency extractors
860 --enable-cvs-ndbm Use the NDBM library distributed with CVS rather
861 than attempting to use a system NDBM library.
862 Disabling this may not work. (default)
863 --enable-client Include code for running as a remote client
865 --enable-password-authenticated-client
866 Enable pserver as a remote access method in the CVS
868 --enable-server Include code for running as a server (default)
869 --enable-server-flow-control
870 If you are working with a large remote repository
871 and a 'cvs checkout' is swamping your network and
872 memory, define these to enable flow control. You may
873 optionally pass a low water mark in bytes and a high
874 water mark in bytes, separated by commas. (default
876 --enable-case-sensitivity
877 Force CVS to expect a case sensitive file system.
878 Enabling this on a case insensitive system should
879 have little effect on the server or client
880 operation, though client users may ocassionally be
881 suprised that the CVS server appears to be case
882 sensitive. Disabling this for a case sensitive
883 server disables server support for case insensitive
884 clients, which can confuse all users of case
885 insensitive clients contacting the server. Disabling
886 this for a case sensitive client will cause the
887 client to ask servers to behave case insensitively,
888 which could cause confusion for users, but also
889 probably no real harm. (default autoselects based on
890 the case sensitivity of the file system containing
891 the current working directory)
892 --enable-encryption Enable encryption support (disabled by default)
893 --enable-force-editor When committing or importing files, you must enter a
894 log message. Normally, you can do this either via
895 the -m flag on the command line, the -F flag on the
896 command line, or an editor will be started for you.
897 If you like to use logging templates (the rcsinfo
898 file within the $CVSROOT/CVSROOT directory), you
899 might want to force people to use the editor even if
900 they specify a message with -m or -F.
901 --enable-force-editor will cause the -m or -F
902 message to be appended to the temp file when the
903 editor is started. (disabled by default)
904 --enable-rootcommit Allow the root user to commit files (disabled by
908 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
909 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
910 --with-krb4 Kerberos 4 directory (default /usr/kerberos)
911 --with-gssapi GSSAPI directory (default autoselects)
912 --with-editor The default text editor CVS should use for log
913 messages (default autoselects)
914 --with-rsh The default remote shell CVS will use for :ext:
915 transport (default autodetects)
916 --with-tmpdir The temporary directory CVS should use as a default
917 (default autoselects)
918 --with-umask Set the umask CVS will use by default in the
919 repository (default 002)
920 --with-cvs-admin-group=GROUP
921 The CVS admin command is restricted to the members
922 of this group. If this group does not exist, all
923 users are allowed to run CVS admin. To disable the
924 CVS admin command for all users, create an empty
925 group by specifying the --with-cvs-admin-group=
926 option. To disable access control for CVS admin, run
927 configure with the --without-cvs-admin-group option.
930 Some influential environment variables:
931 CC C compiler command
932 CFLAGS C compiler flags
933 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
934 nonstandard directory <lib dir>
935 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
936 headers in a nonstandard directory <include dir>
938 EDITOR The text editor CVS will use by default for log messages.
940 Use these variables to override the choices made by `configure' or to help
941 it to find libraries and programs with nonstandard names/locations.
943 Report bugs to <bug-cvs@nongnu.org>.
947 if test "$ac_init_help" = "recursive"; then
948 # If there are subdirs, report their specific --help.
950 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
951 test -d $ac_dir || continue
954 if test "$ac_dir" != .; then
955 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
956 # A "../" for each directory in $ac_dir_suffix.
957 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
959 ac_dir_suffix= ac_top_builddir=
963 .) # No --srcdir option. We are building in place.
965 if test -z "$ac_top_builddir"; then
968 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
970 [\\/]* | ?:[\\/]* ) # Absolute path.
971 ac_srcdir=$srcdir$ac_dir_suffix;
972 ac_top_srcdir=$srcdir ;;
974 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
975 ac_top_srcdir=$ac_top_builddir$srcdir ;;
978 # Do not use `cd foo && pwd` to compute absolute paths, because
979 # the directories may not exist.
981 .) ac_abs_builddir="$ac_dir";;
984 .) ac_abs_builddir=`pwd`;;
985 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
986 *) ac_abs_builddir=`pwd`/"$ac_dir";;
989 case $ac_abs_builddir in
990 .) ac_abs_top_builddir=${ac_top_builddir}.;;
992 case ${ac_top_builddir}. in
993 .) ac_abs_top_builddir=$ac_abs_builddir;;
994 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
995 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
998 case $ac_abs_builddir in
999 .) ac_abs_srcdir=$ac_srcdir;;
1002 .) ac_abs_srcdir=$ac_abs_builddir;;
1003 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1004 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1007 case $ac_abs_builddir in
1008 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1010 case $ac_top_srcdir in
1011 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1012 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1013 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1018 # Check for guested configure; otherwise get Cygnus style configure.
1019 if test -f $ac_srcdir/configure.gnu; then
1021 $SHELL $ac_srcdir/configure.gnu --help=recursive
1022 elif test -f $ac_srcdir/configure; then
1024 $SHELL $ac_srcdir/configure --help=recursive
1025 elif test -f $ac_srcdir/configure.ac ||
1026 test -f $ac_srcdir/configure.in; then
1028 $ac_configure --help
1030 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1036 test -n "$ac_init_help" && exit 0
1037 if $ac_init_version; then
1039 Concurrent Versions System (CVS) configure 1.11.22
1040 generated by GNU Autoconf 2.59
1042 Copyright (C) 2003 Free Software Foundation, Inc.
1043 This configure script is free software; the Free Software Foundation
1044 gives unlimited permission to copy, distribute and modify it.
1050 This file contains any messages produced by compilers while
1051 running configure, to aid debugging if configure makes a mistake.
1053 It was created by Concurrent Versions System (CVS) $as_me 1.11.22, which was
1054 generated by GNU Autoconf 2.59. Invocation command line was
1065 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1066 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1067 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1068 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1069 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1071 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1072 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1074 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1075 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1076 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1077 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1078 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1079 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1080 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1088 test -z "$as_dir" && as_dir=.
1089 echo "PATH: $as_dir"
1104 # Keep a trace of the command line.
1105 # Strip out --no-create and --no-recursion so they do not pile up.
1106 # Strip out --silent because we don't want to record it for future runs.
1107 # Also quote any args containing shell meta-characters.
1108 # Make two passes to allow for proper duplicate-argument suppression.
1113 ac_must_keep_next=false
1119 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1121 | -silent | --silent | --silen | --sile | --sil)
1123 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1124 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1127 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1129 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1130 if test $ac_must_keep_next = true; then
1131 ac_must_keep_next=false # Got value, back to normal.
1134 *=* | --config-cache | -C | -disable-* | --disable-* \
1135 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1136 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1137 | -with-* | --with-* | -without-* | --without-* | --x)
1138 case "$ac_configure_args0 " in
1139 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1142 -* ) ac_must_keep_next=true ;;
1145 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1146 # Get rid of the leading space.
1152 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1153 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1155 # When interrupted or exit'd, cleanup temporary files, and complete
1156 # config.log. We remove comments because anyway the quotes in there
1157 # would cause problems or look ugly.
1158 # WARNING: Be sure not to use single quotes in there, as some shells,
1159 # such as our DU 5.0 friend, will then `close' the trap.
1160 trap 'exit_status=$?
1161 # Save into config.log some information that might help in debugging.
1166 ## ---------------- ##
1167 ## Cache variables. ##
1168 ## ---------------- ##
1171 # The following way of writing the cache mishandles newlines in values,
1174 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1177 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1178 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1182 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1189 ## ----------------- ##
1190 ## Output variables. ##
1191 ## ----------------- ##
1194 for ac_var in $ac_subst_vars
1196 eval ac_val=$`echo $ac_var`
1197 echo "$ac_var='"'"'$ac_val'"'"'"
1201 if test -n "$ac_subst_files"; then
1208 for ac_var in $ac_subst_files
1210 eval ac_val=$`echo $ac_var`
1211 echo "$ac_var='"'"'$ac_val'"'"'"
1216 if test -s confdefs.h; then
1223 sed "/^$/d" confdefs.h | sort
1226 test "$ac_signal" != 0 &&
1227 echo "$as_me: caught signal $ac_signal"
1228 echo "$as_me: exit $exit_status"
1230 rm -f core *.core &&
1231 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1234 for ac_signal in 1 2 13 15; do
1235 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1239 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1240 rm -rf conftest* confdefs.h
1241 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1244 # Predefined preprocessor variables.
1246 cat >>confdefs.h <<_ACEOF
1247 #define PACKAGE_NAME "$PACKAGE_NAME"
1251 cat >>confdefs.h <<_ACEOF
1252 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1256 cat >>confdefs.h <<_ACEOF
1257 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1261 cat >>confdefs.h <<_ACEOF
1262 #define PACKAGE_STRING "$PACKAGE_STRING"
1266 cat >>confdefs.h <<_ACEOF
1267 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1271 # Let the site file select an alternate cache file if it wants to.
1272 # Prefer explicitly selected file to automatically selected ones.
1273 if test -z "$CONFIG_SITE"; then
1274 if test "x$prefix" != xNONE; then
1275 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1277 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1280 for ac_site_file in $CONFIG_SITE; do
1281 if test -r "$ac_site_file"; then
1282 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1283 echo "$as_me: loading site script $ac_site_file" >&6;}
1284 sed 's/^/| /' "$ac_site_file" >&5
1289 if test -r "$cache_file"; then
1290 # Some versions of bash will fail to source /dev/null (special
1291 # files actually), so we avoid doing that.
1292 if test -f "$cache_file"; then
1293 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1294 echo "$as_me: loading cache $cache_file" >&6;}
1296 [\\/]* | ?:[\\/]* ) . $cache_file;;
1297 *) . ./$cache_file;;
1301 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1302 echo "$as_me: creating cache $cache_file" >&6;}
1306 # Check that the precious variables saved in the cache have kept the same
1308 ac_cache_corrupted=false
1309 for ac_var in `(set) 2>&1 |
1310 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1311 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1312 eval ac_new_set=\$ac_env_${ac_var}_set
1313 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1314 eval ac_new_val="\$ac_env_${ac_var}_value"
1315 case $ac_old_set,$ac_new_set in
1317 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1318 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1319 ac_cache_corrupted=: ;;
1321 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1322 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1323 ac_cache_corrupted=: ;;
1326 if test "x$ac_old_val" != "x$ac_new_val"; then
1327 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1328 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1329 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1330 echo "$as_me: former value: $ac_old_val" >&2;}
1331 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1332 echo "$as_me: current value: $ac_new_val" >&2;}
1333 ac_cache_corrupted=:
1336 # Pass precious variables to config.status.
1337 if test "$ac_new_set" = set; then
1339 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1340 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1341 *) ac_arg=$ac_var=$ac_new_val ;;
1343 case " $ac_configure_args " in
1344 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1345 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1349 if $ac_cache_corrupted; then
1350 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1351 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1352 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1353 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1354 { (exit 1); exit 1; }; }
1358 ac_cpp='$CPP $CPPFLAGS'
1359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1390 am__api_version="1.9"
1392 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1393 if test -f $ac_dir/install-sh; then
1395 ac_install_sh="$ac_aux_dir/install-sh -c"
1397 elif test -f $ac_dir/install.sh; then
1399 ac_install_sh="$ac_aux_dir/install.sh -c"
1401 elif test -f $ac_dir/shtool; then
1403 ac_install_sh="$ac_aux_dir/shtool install -c"
1407 if test -z "$ac_aux_dir"; then
1408 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1409 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1410 { (exit 1); exit 1; }; }
1412 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1413 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1414 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1416 # Find a good install program. We prefer a C program (faster),
1417 # so one script is as good as another. But avoid the broken or
1418 # incompatible versions:
1419 # SysV /etc/install, /usr/sbin/install
1420 # SunOS /usr/etc/install
1421 # IRIX /sbin/install
1423 # AmigaOS /C/install, which installs bootblocks on floppy discs
1424 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1425 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1426 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1427 # OS/2's system install, which has a completely different semantic
1428 # ./install, which can be erroneously created by make from ./install.sh.
1429 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1430 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1431 if test -z "$INSTALL"; then
1432 if test "${ac_cv_path_install+set}" = set; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1439 test -z "$as_dir" && as_dir=.
1440 # Account for people who put trailing slashes in PATH elements.
1442 ./ | .// | /cC/* | \
1443 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1444 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1447 # OSF1 and SCO ODT 3.0 have their own names for install.
1448 # Don't use installbsd from OSF since it installs stuff as root
1450 for ac_prog in ginstall scoinst install; do
1451 for ac_exec_ext in '' $ac_executable_extensions; do
1452 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1453 if test $ac_prog = install &&
1454 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1455 # AIX install. It has an incompatible calling convention.
1457 elif test $ac_prog = install &&
1458 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1459 # program-specific install script used by HP pwplus--don't use.
1462 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1474 if test "${ac_cv_path_install+set}" = set; then
1475 INSTALL=$ac_cv_path_install
1477 # As a last resort, use the slow shell script. We don't cache a
1478 # path for INSTALL within a source directory, because that will
1479 # break other packages using the cache if that directory is
1480 # removed, or if the path is relative.
1481 INSTALL=$ac_install_sh
1484 echo "$as_me:$LINENO: result: $INSTALL" >&5
1485 echo "${ECHO_T}$INSTALL" >&6
1487 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1488 # It thinks the first close brace ends the variable substitution.
1489 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1491 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1493 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1495 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1496 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1499 echo timestamp > conftest.file
1500 # Do `set' in a subshell so we don't clobber the current shell's
1501 # arguments. Must try -L first in case configure is actually a
1502 # symlink; some systems play weird games with the mod time of symlinks
1503 # (eg FreeBSD returns the mod time of the symlink's containing
1506 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1507 if test "$*" = "X"; then
1509 set X `ls -t $srcdir/configure conftest.file`
1512 if test "$*" != "X $srcdir/configure conftest.file" \
1513 && test "$*" != "X conftest.file $srcdir/configure"; then
1515 # If neither matched, then we have a broken ls. This can happen
1516 # if, for instance, CONFIG_SHELL is bash and it inherits a
1517 # broken ls alias from the environment. This has actually
1518 # happened. Such a system could not be considered "sane".
1519 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1520 alias in your environment" >&5
1521 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1522 alias in your environment" >&2;}
1523 { (exit 1); exit 1; }; }
1526 test "$2" = conftest.file
1532 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1533 Check your system clock" >&5
1534 echo "$as_me: error: newly created file is older than distributed files!
1535 Check your system clock" >&2;}
1536 { (exit 1); exit 1; }; }
1538 echo "$as_me:$LINENO: result: yes" >&5
1539 echo "${ECHO_T}yes" >&6
1540 test "$program_prefix" != NONE &&
1541 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1542 # Use a double $ so make ignores it.
1543 test "$program_suffix" != NONE &&
1544 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1545 # Double any \ or $. echo might interpret backslashes.
1546 # By default was `s,x,x', remove it if useless.
1547 cat <<\_ACEOF >conftest.sed
1548 s/[\\$]/&&/g;s/;s,x,x,$//
1550 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1553 # expand $ac_aux_dir to an absolute path
1554 am_aux_dir=`cd $ac_aux_dir && pwd`
1556 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1557 # Use eval to expand $SHELL
1558 if eval "$MISSING --run true"; then
1559 am_missing_run="$MISSING --run "
1562 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1563 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1566 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1567 # We used to keeping the `.' as first argument, in order to
1568 # allow $(mkdir_p) to be used without argument. As in
1569 # $(mkdir_p) $(somedir)
1570 # where $(somedir) is conditionally defined. However this is wrong
1572 # 1. if the package is installed by a user who cannot write `.'
1573 # make install will fail,
1574 # 2. the above comment should most certainly read
1575 # $(mkdir_p) $(DESTDIR)$(somedir)
1576 # so it does not work when $(somedir) is undefined and
1577 # $(DESTDIR) is not.
1578 # To support the latter case, we have to write
1579 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1580 # so the `.' trick is pointless.
1581 mkdir_p='mkdir -p --'
1583 # On NextStep and OpenStep, the `mkdir' command does not
1584 # recognize any option. It will interpret all options as
1585 # directories to create, and then abort because `.' already
1587 for d in ./-p ./--version;
1589 test -d $d && rmdir $d
1591 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1592 if test -f "$ac_aux_dir/mkinstalldirs"; then
1593 mkdir_p='$(mkinstalldirs)'
1595 mkdir_p='$(install_sh) -d'
1599 for ac_prog in gawk mawk nawk awk
1601 # Extract the first word of "$ac_prog", so it can be a program name with args.
1602 set dummy $ac_prog; ac_word=$2
1603 echo "$as_me:$LINENO: checking for $ac_word" >&5
1604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605 if test "${ac_cv_prog_AWK+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 if test -n "$AWK"; then
1609 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1615 test -z "$as_dir" && as_dir=.
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618 ac_cv_prog_AWK="$ac_prog"
1619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1628 if test -n "$AWK"; then
1629 echo "$as_me:$LINENO: result: $AWK" >&5
1630 echo "${ECHO_T}$AWK" >&6
1632 echo "$as_me:$LINENO: result: no" >&5
1633 echo "${ECHO_T}no" >&6
1636 test -n "$AWK" && break
1639 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1640 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1641 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1642 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 cat >conftest.make <<\_ACEOF
1647 @echo 'ac_maketemp="$(MAKE)"'
1649 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1650 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1651 if test -n "$ac_maketemp"; then
1652 eval ac_cv_prog_make_${ac_make}_set=yes
1654 eval ac_cv_prog_make_${ac_make}_set=no
1658 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1659 echo "$as_me:$LINENO: result: yes" >&5
1660 echo "${ECHO_T}yes" >&6
1663 echo "$as_me:$LINENO: result: no" >&5
1664 echo "${ECHO_T}no" >&6
1665 SET_MAKE="MAKE=${MAKE-make}"
1668 rm -rf .tst 2>/dev/null
1669 mkdir .tst 2>/dev/null
1670 if test -d .tst; then
1675 rmdir .tst 2>/dev/null
1677 # test to see if srcdir already configured
1678 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1679 test -f $srcdir/config.status; then
1680 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1681 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1682 { (exit 1); exit 1; }; }
1685 # test whether we have cygpath
1686 if test -z "$CYGPATH_W"; then
1687 if (cygpath --version) >/dev/null 2>/dev/null; then
1688 CYGPATH_W='cygpath -w'
1695 # Define the identity of the package.
1700 # Some tools Automake needs.
1702 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1705 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1708 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1711 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1714 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1716 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1718 # Installed binaries are usually stripped using `strip' when the user
1719 # run `make install-strip'. However `strip' might not be the right
1720 # tool to use in cross-compilation environments, therefore Automake
1721 # will honor the `STRIP' environment variable to overrule this program.
1722 if test "$cross_compiling" != no; then
1723 if test -n "$ac_tool_prefix"; then
1724 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1725 set dummy ${ac_tool_prefix}strip; ac_word=$2
1726 echo "$as_me:$LINENO: checking for $ac_word" >&5
1727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1728 if test "${ac_cv_prog_STRIP+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 if test -n "$STRIP"; then
1732 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738 test -z "$as_dir" && as_dir=.
1739 for ac_exec_ext in '' $ac_executable_extensions; do
1740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1741 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 STRIP=$ac_cv_prog_STRIP
1751 if test -n "$STRIP"; then
1752 echo "$as_me:$LINENO: result: $STRIP" >&5
1753 echo "${ECHO_T}$STRIP" >&6
1755 echo "$as_me:$LINENO: result: no" >&5
1756 echo "${ECHO_T}no" >&6
1760 if test -z "$ac_cv_prog_STRIP"; then
1762 # Extract the first word of "strip", so it can be a program name with args.
1763 set dummy strip; ac_word=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$ac_ct_STRIP"; then
1770 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir=.
1777 for ac_exec_ext in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_ac_ct_STRIP="strip"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1786 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1789 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1790 if test -n "$ac_ct_STRIP"; then
1791 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1792 echo "${ECHO_T}$ac_ct_STRIP" >&6
1794 echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6
1800 STRIP="$ac_cv_prog_STRIP"
1804 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1806 # We need awk for the "check" target. The system "awk" is bad on
1808 # Always define AMTAR for backward compatibility.
1810 AMTAR=${AMTAR-"${am_missing_run}tar"}
1812 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1820 if test "x$prefix" = xNONE; then
1821 echo $ECHO_N "checking for prefix by $ECHO_C" >&6
1822 # Extract the first word of "cvs", so it can be a program name with args.
1823 set dummy cvs; ac_word=$2
1824 echo "$as_me:$LINENO: checking for $ac_word" >&5
1825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1826 if test "${ac_cv_path_ac_prefix_program+set}" = set; then
1827 echo $ECHO_N "(cached) $ECHO_C" >&6
1829 case $ac_prefix_program in
1831 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
1834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1838 test -z "$as_dir" && as_dir=.
1839 for ac_exec_ext in '' $ac_executable_extensions; do
1840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1841 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
1842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1851 ac_prefix_program=$ac_cv_path_ac_prefix_program
1853 if test -n "$ac_prefix_program"; then
1854 echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1855 echo "${ECHO_T}$ac_prefix_program" >&6
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1861 if test -n "$ac_prefix_program"; then
1862 prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
1863 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1864 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1865 X"$ac_prefix_program" : 'X\(//\)$' \| \
1866 X"$ac_prefix_program" : 'X\(/\)' \| \
1867 . : '\(.\)' 2>/dev/null ||
1868 echo X"$ac_prefix_program" |
1869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1871 /^X\(\/\/\)$/{ s//\1/; q; }
1872 /^X\(\/\).*/{ s//\1/; q; }
1874 prefix=`(dirname "$prefix") 2>/dev/null ||
1875 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1876 X"$prefix" : 'X\(//\)[^/]' \| \
1877 X"$prefix" : 'X\(//\)$' \| \
1878 X"$prefix" : 'X\(/\)' \| \
1879 . : '\(.\)' 2>/dev/null ||
1881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1882 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1883 /^X\(\/\/\)$/{ s//\1/; q; }
1884 /^X\(\/\).*/{ s//\1/; q; }
1889 ac_config_headers="$ac_config_headers config.h"
1891 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1892 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1893 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1894 if test "${enable_maintainer_mode+set}" = set; then
1895 enableval="$enable_maintainer_mode"
1896 USE_MAINTAINER_MODE=$enableval
1898 USE_MAINTAINER_MODE=no
1900 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1901 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1904 if test $USE_MAINTAINER_MODE = yes; then
1905 MAINTAINER_MODE_TRUE=
1906 MAINTAINER_MODE_FALSE='#'
1908 MAINTAINER_MODE_TRUE='#'
1909 MAINTAINER_MODE_FALSE=
1912 MAINT=$MAINTAINER_MODE_TRUE
1917 ac_cpp='$CPP $CPPFLAGS'
1918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1921 if test -n "$ac_tool_prefix"; then
1922 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1923 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_prog_CC+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test -n "$CC"; then
1930 ac_cv_prog_CC="$CC" # Let the user override the test.
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 test -z "$as_dir" && as_dir=.
1937 for ac_exec_ext in '' $ac_executable_extensions; do
1938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 if test -n "$CC"; then
1950 echo "$as_me:$LINENO: result: $CC" >&5
1951 echo "${ECHO_T}$CC" >&6
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1958 if test -z "$ac_cv_prog_CC"; then
1960 # Extract the first word of "gcc", so it can be a program name with args.
1961 set dummy gcc; ac_word=$2
1962 echo "$as_me:$LINENO: checking for $ac_word" >&5
1963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1964 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1965 echo $ECHO_N "(cached) $ECHO_C" >&6
1967 if test -n "$ac_ct_CC"; then
1968 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir=.
1975 for ac_exec_ext in '' $ac_executable_extensions; do
1976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 ac_cv_prog_ac_ct_CC="gcc"
1978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1987 if test -n "$ac_ct_CC"; then
1988 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1989 echo "${ECHO_T}$ac_ct_CC" >&6
1991 echo "$as_me:$LINENO: result: no" >&5
1992 echo "${ECHO_T}no" >&6
2000 if test -z "$CC"; then
2001 if test -n "$ac_tool_prefix"; then
2002 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2003 set dummy ${ac_tool_prefix}cc; ac_word=$2
2004 echo "$as_me:$LINENO: checking for $ac_word" >&5
2005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2006 if test "${ac_cv_prog_CC+set}" = set; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 if test -n "$CC"; then
2010 ac_cv_prog_CC="$CC" # Let the user override the test.
2012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016 test -z "$as_dir" && as_dir=.
2017 for ac_exec_ext in '' $ac_executable_extensions; do
2018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2019 ac_cv_prog_CC="${ac_tool_prefix}cc"
2020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029 if test -n "$CC"; then
2030 echo "$as_me:$LINENO: result: $CC" >&5
2031 echo "${ECHO_T}$CC" >&6
2033 echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6
2038 if test -z "$ac_cv_prog_CC"; then
2040 # Extract the first word of "cc", so it can be a program name with args.
2041 set dummy cc; ac_word=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -n "$ac_ct_CC"; then
2048 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir=.
2055 for ac_exec_ext in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_prog_ac_ct_CC="cc"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2067 if test -n "$ac_ct_CC"; then
2068 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2069 echo "${ECHO_T}$ac_ct_CC" >&6
2071 echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2081 if test -z "$CC"; then
2082 # Extract the first word of "cc", so it can be a program name with args.
2083 set dummy cc; ac_word=$2
2084 echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2086 if test "${ac_cv_prog_CC+set}" = set; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 if test -n "$CC"; then
2090 ac_cv_prog_CC="$CC" # Let the user override the test.
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir=.
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2100 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2101 ac_prog_rejected=yes
2105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 if test $ac_prog_rejected = yes; then
2112 # We found a bogon in the path, so make sure we never use it.
2113 set dummy $ac_cv_prog_CC
2115 if test $# != 0; then
2116 # We chose a different compiler from the bogus one.
2117 # However, it has the same basename, so the bogon will be chosen
2118 # first if we set CC to just the basename; use the full file name.
2120 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2126 if test -n "$CC"; then
2127 echo "$as_me:$LINENO: result: $CC" >&5
2128 echo "${ECHO_T}$CC" >&6
2130 echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6
2135 if test -z "$CC"; then
2136 if test -n "$ac_tool_prefix"; then
2139 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2140 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2141 echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2143 if test "${ac_cv_prog_CC+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 if test -n "$CC"; then
2147 ac_cv_prog_CC="$CC" # Let the user override the test.
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2156 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 if test -n "$CC"; then
2167 echo "$as_me:$LINENO: result: $CC" >&5
2168 echo "${ECHO_T}$CC" >&6
2170 echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6
2174 test -n "$CC" && break
2177 if test -z "$CC"; then
2181 # Extract the first word of "$ac_prog", so it can be a program name with args.
2182 set dummy $ac_prog; ac_word=$2
2183 echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2185 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 if test -n "$ac_ct_CC"; then
2189 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2198 ac_cv_prog_ac_ct_CC="$ac_prog"
2199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2208 if test -n "$ac_ct_CC"; then
2209 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2210 echo "${ECHO_T}$ac_ct_CC" >&6
2212 echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6
2216 test -n "$ac_ct_CC" && break
2225 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2226 See \`config.log' for more details." >&5
2227 echo "$as_me: error: no acceptable C compiler found in \$PATH
2228 See \`config.log' for more details." >&2;}
2229 { (exit 1); exit 1; }; }
2231 # Provide some information about the compiler.
2232 echo "$as_me:$LINENO:" \
2233 "checking for C compiler version" >&5
2234 ac_compiler=`set X $ac_compile; echo $2`
2235 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2236 (eval $ac_compiler --version </dev/null >&5) 2>&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }
2240 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2241 (eval $ac_compiler -v </dev/null >&5) 2>&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }
2245 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2246 (eval $ac_compiler -V </dev/null >&5) 2>&5
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); }
2251 cat >conftest.$ac_ext <<_ACEOF
2254 cat confdefs.h >>conftest.$ac_ext
2255 cat >>conftest.$ac_ext <<_ACEOF
2256 /* end confdefs.h. */
2266 ac_clean_files_save=$ac_clean_files
2267 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2268 # Try to create an executable without -o first, disregard a.out.
2269 # It will help us diagnose broken compilers, and finding out an intuition
2271 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2272 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2273 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2274 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2275 (eval $ac_link_default) 2>&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; then
2279 # Find the output, starting from the most likely. This scheme is
2280 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2283 # Be careful to initialize this variable, since it used to be cached.
2284 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2286 # b.out is created by i960 compilers.
2287 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2289 test -f "$ac_file" || continue
2291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2294 # This is the source file.
2297 # We found the default executable, but exeext='' is most
2301 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2302 # FIXME: I believe we export ac_cv_exeext for Libtool,
2303 # but it would be cool to find out if it's true. Does anybody
2304 # maintain Libtool? --akim.
2312 echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2315 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2316 See \`config.log' for more details." >&5
2317 echo "$as_me: error: C compiler cannot create executables
2318 See \`config.log' for more details." >&2;}
2319 { (exit 77); exit 77; }; }
2322 ac_exeext=$ac_cv_exeext
2323 echo "$as_me:$LINENO: result: $ac_file" >&5
2324 echo "${ECHO_T}$ac_file" >&6
2326 # Check the compiler produces executables we can run. If not, either
2327 # the compiler is broken, or we cross compile.
2328 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2329 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2330 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2331 # If not cross compiling, check that we can run a simple program.
2332 if test "$cross_compiling" != yes; then
2333 if { ac_try='./$ac_file'
2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; }; then
2341 if test "$cross_compiling" = maybe; then
2344 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2345 If you meant to cross compile, use \`--host'.
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: cannot run C compiled programs.
2348 If you meant to cross compile, use \`--host'.
2349 See \`config.log' for more details." >&2;}
2350 { (exit 1); exit 1; }; }
2354 echo "$as_me:$LINENO: result: yes" >&5
2355 echo "${ECHO_T}yes" >&6
2357 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2358 ac_clean_files=$ac_clean_files_save
2359 # Check the compiler produces executables we can run. If not, either
2360 # the compiler is broken, or we cross compile.
2361 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2362 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2363 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2364 echo "${ECHO_T}$cross_compiling" >&6
2366 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2367 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2369 (eval $ac_link) 2>&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; then
2373 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2374 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2375 # work properly (i.e., refer to `conftest.exe'), while it won't with
2377 for ac_file in conftest.exe conftest conftest.*; do
2378 test -f "$ac_file" || continue
2380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2381 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2388 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2389 See \`config.log' for more details." >&5
2390 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2391 See \`config.log' for more details." >&2;}
2392 { (exit 1); exit 1; }; }
2395 rm -f conftest$ac_cv_exeext
2396 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2397 echo "${ECHO_T}$ac_cv_exeext" >&6
2399 rm -f conftest.$ac_ext
2400 EXEEXT=$ac_cv_exeext
2402 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2403 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2404 if test "${ac_cv_objext+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 cat >conftest.$ac_ext <<_ACEOF
2410 cat confdefs.h >>conftest.$ac_ext
2411 cat >>conftest.$ac_ext <<_ACEOF
2412 /* end confdefs.h. */
2422 rm -f conftest.o conftest.obj
2423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2424 (eval $ac_compile) 2>&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; then
2428 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2431 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2439 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2440 See \`config.log' for more details." >&5
2441 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2442 See \`config.log' for more details." >&2;}
2443 { (exit 1); exit 1; }; }
2446 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2448 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2449 echo "${ECHO_T}$ac_cv_objext" >&6
2450 OBJEXT=$ac_cv_objext
2452 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2453 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2454 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 cat >conftest.$ac_ext <<_ACEOF
2460 cat confdefs.h >>conftest.$ac_ext
2461 cat >>conftest.$ac_ext <<_ACEOF
2462 /* end confdefs.h. */
2475 rm -f conftest.$ac_objext
2476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2477 (eval $ac_compile) 2>conftest.er1
2479 grep -v '^ *+' conftest.er1 >conftest.err
2481 cat conftest.err >&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); } &&
2484 { ac_try='test -z "$ac_c_werror_flag"
2485 || test ! -s conftest.err'
2486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; } &&
2491 { ac_try='test -s conftest.$ac_objext'
2492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; }; then
2499 echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.$ac_ext >&5
2504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2508 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2509 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2510 GCC=`test $ac_compiler_gnu = yes && echo yes`
2511 ac_test_CFLAGS=${CFLAGS+set}
2512 ac_save_CFLAGS=$CFLAGS
2514 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2515 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2516 if test "${ac_cv_prog_cc_g+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 cat >conftest.$ac_ext <<_ACEOF
2522 cat confdefs.h >>conftest.$ac_ext
2523 cat >>conftest.$ac_ext <<_ACEOF
2524 /* end confdefs.h. */
2534 rm -f conftest.$ac_objext
2535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2536 (eval $ac_compile) 2>conftest.er1
2538 grep -v '^ *+' conftest.er1 >conftest.err
2540 cat conftest.err >&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); } &&
2543 { ac_try='test -z "$ac_c_werror_flag"
2544 || test ! -s conftest.err'
2545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; } &&
2550 { ac_try='test -s conftest.$ac_objext'
2551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); }; }; then
2558 echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2565 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2566 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2567 if test "$ac_test_CFLAGS" = set; then
2568 CFLAGS=$ac_save_CFLAGS
2569 elif test $ac_cv_prog_cc_g = yes; then
2570 if test "$GCC" = yes; then
2576 if test "$GCC" = yes; then
2582 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2583 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2584 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2585 echo $ECHO_N "(cached) $ECHO_C" >&6
2587 ac_cv_prog_cc_stdc=no
2589 cat >conftest.$ac_ext <<_ACEOF
2592 cat confdefs.h >>conftest.$ac_ext
2593 cat >>conftest.$ac_ext <<_ACEOF
2594 /* end confdefs.h. */
2597 #include <sys/types.h>
2598 #include <sys/stat.h>
2599 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2600 struct buf { int x; };
2601 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2602 static char *e (p, i)
2608 static char *f (char * (*g) (char **, int), char **p, ...)
2613 s = g (p, va_arg (v,int));
2618 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2619 function prototypes and stuff, but not '\xHH' hex character constants.
2620 These don't provoke an error unfortunately, instead are silently treated
2621 as 'x'. The following induces an error, until -std1 is added to get
2622 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2623 array size at least. It's necessary to write '\x00'==0 to get something
2624 that's true only with -std1. */
2625 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2627 int test (int i, double x);
2628 struct s1 {int (*f) (int a);};
2629 struct s2 {int (*f) (double a);};
2630 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2636 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2641 # Don't try gcc -ansi; that turns off useful extensions and
2642 # breaks some systems' header files.
2643 # AIX -qlanglvl=ansi
2644 # Ultrix and OSF/1 -std1
2645 # HP-UX 10.20 and later -Ae
2646 # HP-UX older versions -Aa -D_HPUX_SOURCE
2647 # SVR4 -Xc -D__EXTENSIONS__
2648 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2650 CC="$ac_save_CC $ac_arg"
2651 rm -f conftest.$ac_objext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2653 (eval $ac_compile) 2>conftest.er1
2655 grep -v '^ *+' conftest.er1 >conftest.err
2657 cat conftest.err >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try='test -z "$ac_c_werror_flag"
2661 || test ! -s conftest.err'
2662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; } &&
2667 { ac_try='test -s conftest.$ac_objext'
2668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }; }; then
2673 ac_cv_prog_cc_stdc=$ac_arg
2676 echo "$as_me: failed program was:" >&5
2677 sed 's/^/| /' conftest.$ac_ext >&5
2680 rm -f conftest.err conftest.$ac_objext
2682 rm -f conftest.$ac_ext conftest.$ac_objext
2687 case "x$ac_cv_prog_cc_stdc" in
2689 echo "$as_me:$LINENO: result: none needed" >&5
2690 echo "${ECHO_T}none needed" >&6 ;;
2692 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2693 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2694 CC="$CC $ac_cv_prog_cc_stdc" ;;
2697 # Some people use a C++ compiler to compile C. Since we use `exit',
2698 # in C++ we need to declare it. In case someone uses the same compiler
2699 # for both compiling C and C++ we need to have the C++ compiler decide
2700 # the declaration of exit, since it's the most demanding environment.
2701 cat >conftest.$ac_ext <<_ACEOF
2706 rm -f conftest.$ac_objext
2707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2708 (eval $ac_compile) 2>conftest.er1
2710 grep -v '^ *+' conftest.er1 >conftest.err
2712 cat conftest.err >&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); } &&
2715 { ac_try='test -z "$ac_c_werror_flag"
2716 || test ! -s conftest.err'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; } &&
2722 { ac_try='test -s conftest.$ac_objext'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; }; then
2728 for ac_declaration in \
2730 'extern "C" void std::exit (int) throw (); using std::exit;' \
2731 'extern "C" void std::exit (int); using std::exit;' \
2732 'extern "C" void exit (int) throw ();' \
2733 'extern "C" void exit (int);' \
2736 cat >conftest.$ac_ext <<_ACEOF
2739 cat confdefs.h >>conftest.$ac_ext
2740 cat >>conftest.$ac_ext <<_ACEOF
2741 /* end confdefs.h. */
2752 rm -f conftest.$ac_objext
2753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2754 (eval $ac_compile) 2>conftest.er1
2756 grep -v '^ *+' conftest.er1 >conftest.err
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } &&
2761 { ac_try='test -z "$ac_c_werror_flag"
2762 || test ! -s conftest.err'
2763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); }; } &&
2768 { ac_try='test -s conftest.$ac_objext'
2769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }; }; then
2776 echo "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.$ac_ext >&5
2781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2782 cat >conftest.$ac_ext <<_ACEOF
2785 cat confdefs.h >>conftest.$ac_ext
2786 cat >>conftest.$ac_ext <<_ACEOF
2787 /* end confdefs.h. */
2797 rm -f conftest.$ac_objext
2798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2799 (eval $ac_compile) 2>conftest.er1
2801 grep -v '^ *+' conftest.er1 >conftest.err
2803 cat conftest.err >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); } &&
2806 { ac_try='test -z "$ac_c_werror_flag"
2807 || test ! -s conftest.err'
2808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; } &&
2813 { ac_try='test -s conftest.$ac_objext'
2814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; }; then
2821 echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2828 if test -n "$ac_declaration"; then
2829 echo '#ifdef __cplusplus' >>confdefs.h
2830 echo $ac_declaration >>confdefs.h
2831 echo '#endif' >>confdefs.h
2835 echo "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2841 ac_cpp='$CPP $CPPFLAGS'
2842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2845 DEPDIR="${am__leading_dot}deps"
2847 ac_config_commands="$ac_config_commands depfiles"
2850 am_make=${MAKE-make}
2851 cat > confinc << 'END'
2856 # If we don't find an include directive, just comment out the code.
2857 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2858 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2862 # First try GNU make style include.
2863 echo "include confinc" > confmf
2864 # We grep out `Entering directory' and `Leaving directory'
2865 # messages which can occur if `w' ends up in MAKEFLAGS.
2866 # In particular we don't look at `^make:' because GNU make might
2867 # be invoked under some other name (usually "gmake"), in which
2868 # case it prints its new name instead of `make'.
2869 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2874 # Now try BSD make style include.
2875 if test "$am__include" = "#"; then
2876 echo '.include "confinc"' > confmf
2877 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2878 am__include=.include
2885 echo "$as_me:$LINENO: result: $_am_result" >&5
2886 echo "${ECHO_T}$_am_result" >&6
2887 rm -f confinc confmf
2889 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2890 if test "${enable_dependency_tracking+set}" = set; then
2891 enableval="$enable_dependency_tracking"
2894 if test "x$enable_dependency_tracking" != xno; then
2895 am_depcomp="$ac_aux_dir/depcomp"
2900 if test "x$enable_dependency_tracking" != xno; then
2911 depcc="$CC" am_compiler_list=
2913 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2914 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2915 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2919 # We make a subdir and do the tests there. Otherwise we can end up
2920 # making bogus files that we don't know about and never remove. For
2921 # instance it was reported that on HP-UX the gcc test will end up
2922 # making a dummy file named `D' -- because `-MD' means `put the output
2925 # Copy depcomp to subdir because otherwise we won't find it if we're
2926 # using a relative directory.
2927 cp "$am_depcomp" conftest.dir
2929 # We will build objects and dependencies in a subdirectory because
2930 # it helps to detect inapplicable dependency modes. For instance
2931 # both Tru64's cc and ICC support -MD to output dependencies as a
2932 # side effect of compilation, but ICC will put the dependencies in
2933 # the current directory while Tru64 will put them in the object
2937 am_cv_CC_dependencies_compiler_type=none
2938 if test "$am_compiler_list" = ""; then
2939 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2941 for depmode in $am_compiler_list; do
2942 # Setup a source with many dependencies, because some compilers
2943 # like to wrap large dependency lists on column 80 (with \), and
2944 # we should not choose a depcomp mode which is confused by this.
2946 # We need to recreate these files for each test, as the compiler may
2947 # overwrite some of them when testing with obscure command lines.
2948 # This happens at least with the AIX C compiler.
2950 for i in 1 2 3 4 5 6; do
2951 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2952 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2953 # Solaris 8's {/usr,}/bin/sh.
2954 touch sub/conftst$i.h
2956 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2960 # after this tag, mechanisms are not by side-effect, so they'll
2961 # only be used when explicitly requested
2962 if test "x$enable_dependency_tracking" = xyes; then
2970 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2971 # mode. It turns out that the SunPro C++ compiler does not properly
2972 # handle `-M -o', and we need to detect this.
2973 if depmode=$depmode \
2974 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2975 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2976 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2977 >/dev/null 2>conftest.err &&
2978 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2979 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2980 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2981 # icc doesn't choke on unknown options, it will just issue warnings
2982 # or remarks (even with -Werror). So we grep stderr for any message
2983 # that says an option was ignored or not supported.
2984 # When given -MP, icc 7.0 and 7.1 complain thusly:
2985 # icc: Command line warning: ignoring option '-M'; no argument required
2986 # The diagnosis changed in icc 8.0:
2987 # icc: Command line remark: option '-MP' not supported
2988 if (grep 'ignoring option' conftest.err ||
2989 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2990 am_cv_CC_dependencies_compiler_type=$depmode
2999 am_cv_CC_dependencies_compiler_type=none
3003 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3004 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3005 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3010 test "x$enable_dependency_tracking" != xno \
3011 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3013 am__fastdepCC_FALSE='#'
3015 am__fastdepCC_TRUE='#'
3016 am__fastdepCC_FALSE=
3020 if test "x$CC" != xcc; then
3021 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3022 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3024 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3025 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3027 set dummy $CC; ac_cc=`echo $2 |
3028 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3029 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 cat >conftest.$ac_ext <<_ACEOF
3035 cat confdefs.h >>conftest.$ac_ext
3036 cat >>conftest.$ac_ext <<_ACEOF
3037 /* end confdefs.h. */
3047 # Make sure it works both with $CC and with simple cc.
3048 # We do the test twice because some compilers refuse to overwrite an
3049 # existing .o file with -o, though they will create one.
3050 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3051 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); } &&
3056 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); };
3062 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3063 if test "x$CC" != xcc; then
3064 # Test first that cc exists at all.
3065 if { ac_try='cc -c conftest.$ac_ext >&5'
3066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; }; then
3071 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3072 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); } &&
3077 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); };
3086 # cc exists but doesn't like -o.
3087 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3092 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3097 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3098 echo "$as_me:$LINENO: result: yes" >&5
3099 echo "${ECHO_T}yes" >&6
3101 echo "$as_me:$LINENO: result: no" >&5
3102 echo "${ECHO_T}no" >&6
3104 cat >>confdefs.h <<\_ACEOF
3105 #define NO_MINUS_C_MINUS_O 1
3110 # FIXME: we rely on the cache variable name because
3111 # there is no other way.
3113 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3114 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3115 # Losing compiler, so override with the script.
3116 # FIXME: It is wrong to rewrite CC.
3117 # But if we don't then we get into trouble of one sort or another.
3118 # A longer-term fix would be to have automake use am__CC in this case,
3119 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3120 CC="$am_aux_dir/compile $CC"
3126 ac_cpp='$CPP $CPPFLAGS'
3127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3130 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3131 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3132 # On Suns, sometimes $CPP names a directory.
3133 if test -n "$CPP" && test -d "$CPP"; then
3136 if test -z "$CPP"; then
3137 if test "${ac_cv_prog_CPP+set}" = set; then
3138 echo $ECHO_N "(cached) $ECHO_C" >&6
3140 # Double quotes because CPP needs to be expanded
3141 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3144 for ac_c_preproc_warn_flag in '' yes
3146 # Use a header file that comes with gcc, so configuring glibc
3147 # with a fresh cross-compiler works.
3148 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3149 # <limits.h> exists even on freestanding compilers.
3150 # On the NeXT, cc -E runs the code through the compiler's parser,
3151 # not just through cpp. "Syntax error" is here to catch this case.
3152 cat >conftest.$ac_ext <<_ACEOF
3155 cat confdefs.h >>conftest.$ac_ext
3156 cat >>conftest.$ac_ext <<_ACEOF
3157 /* end confdefs.h. */
3159 # include <limits.h>
3161 # include <assert.h>
3165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3168 grep -v '^ *+' conftest.er1 >conftest.err
3170 cat conftest.err >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } >/dev/null; then
3173 if test -s conftest.err; then
3174 ac_cpp_err=$ac_c_preproc_warn_flag
3175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3182 if test -z "$ac_cpp_err"; then
3185 echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3188 # Broken: fails on valid input.
3191 rm -f conftest.err conftest.$ac_ext
3193 # OK, works on sane cases. Now check whether non-existent headers
3194 # can be detected and how.
3195 cat >conftest.$ac_ext <<_ACEOF
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3201 #include <ac_nonexistent.h>
3203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } >/dev/null; then
3211 if test -s conftest.err; then
3212 ac_cpp_err=$ac_c_preproc_warn_flag
3213 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3220 if test -z "$ac_cpp_err"; then
3221 # Broken: success on invalid input.
3224 echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.$ac_ext >&5
3227 # Passes both tests.
3231 rm -f conftest.err conftest.$ac_ext
3234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3235 rm -f conftest.err conftest.$ac_ext
3236 if $ac_preproc_ok; then
3248 echo "$as_me:$LINENO: result: $CPP" >&5
3249 echo "${ECHO_T}$CPP" >&6
3251 for ac_c_preproc_warn_flag in '' yes
3253 # Use a header file that comes with gcc, so configuring glibc
3254 # with a fresh cross-compiler works.
3255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3256 # <limits.h> exists even on freestanding compilers.
3257 # On the NeXT, cc -E runs the code through the compiler's parser,
3258 # not just through cpp. "Syntax error" is here to catch this case.
3259 cat >conftest.$ac_ext <<_ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3266 # include <limits.h>
3268 # include <assert.h>
3272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3275 grep -v '^ *+' conftest.er1 >conftest.err
3277 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } >/dev/null; then
3280 if test -s conftest.err; then
3281 ac_cpp_err=$ac_c_preproc_warn_flag
3282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3289 if test -z "$ac_cpp_err"; then
3292 echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.$ac_ext >&5
3295 # Broken: fails on valid input.
3298 rm -f conftest.err conftest.$ac_ext
3300 # OK, works on sane cases. Now check whether non-existent headers
3301 # can be detected and how.
3302 cat >conftest.$ac_ext <<_ACEOF
3305 cat confdefs.h >>conftest.$ac_ext
3306 cat >>conftest.$ac_ext <<_ACEOF
3307 /* end confdefs.h. */
3308 #include <ac_nonexistent.h>
3310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3313 grep -v '^ *+' conftest.er1 >conftest.err
3315 cat conftest.err >&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } >/dev/null; then
3318 if test -s conftest.err; then
3319 ac_cpp_err=$ac_c_preproc_warn_flag
3320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3327 if test -z "$ac_cpp_err"; then
3328 # Broken: success on invalid input.
3331 echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.$ac_ext >&5
3334 # Passes both tests.
3338 rm -f conftest.err conftest.$ac_ext
3341 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3342 rm -f conftest.err conftest.$ac_ext
3343 if $ac_preproc_ok; then
3346 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3347 See \`config.log' for more details." >&5
3348 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3349 See \`config.log' for more details." >&2;}
3350 { (exit 1); exit 1; }; }
3354 ac_cpp='$CPP $CPPFLAGS'
3355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3360 echo "$as_me:$LINENO: checking for egrep" >&5
3361 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3362 if test "${ac_cv_prog_egrep+set}" = set; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3366 then ac_cv_prog_egrep='grep -E'
3367 else ac_cv_prog_egrep='egrep'
3370 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3371 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3372 EGREP=$ac_cv_prog_egrep
3376 echo "$as_me:$LINENO: checking for AIX" >&5
3377 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3378 cat >conftest.$ac_ext <<_ACEOF
3381 cat confdefs.h >>conftest.$ac_ext
3382 cat >>conftest.$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3390 $EGREP "yes" >/dev/null 2>&1; then
3391 echo "$as_me:$LINENO: result: yes" >&5
3392 echo "${ECHO_T}yes" >&6
3393 cat >>confdefs.h <<\_ACEOF
3394 #define _ALL_SOURCE 1
3398 echo "$as_me:$LINENO: result: no" >&5
3399 echo "${ECHO_T}no" >&6
3404 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3405 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3406 if test "${ac_cv_header_stdc+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3409 cat >conftest.$ac_ext <<_ACEOF
3412 cat confdefs.h >>conftest.$ac_ext
3413 cat >>conftest.$ac_ext <<_ACEOF
3414 /* end confdefs.h. */
3428 rm -f conftest.$ac_objext
3429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3430 (eval $ac_compile) 2>conftest.er1
3432 grep -v '^ *+' conftest.er1 >conftest.err
3434 cat conftest.err >&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); } &&
3437 { ac_try='test -z "$ac_c_werror_flag"
3438 || test ! -s conftest.err'
3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); }; } &&
3444 { ac_try='test -s conftest.$ac_objext'
3445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }; }; then
3450 ac_cv_header_stdc=yes
3452 echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3455 ac_cv_header_stdc=no
3457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3459 if test $ac_cv_header_stdc = yes; then
3460 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3461 cat >conftest.$ac_ext <<_ACEOF
3464 cat confdefs.h >>conftest.$ac_ext
3465 cat >>conftest.$ac_ext <<_ACEOF
3466 /* end confdefs.h. */
3470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3471 $EGREP "memchr" >/dev/null 2>&1; then
3474 ac_cv_header_stdc=no
3480 if test $ac_cv_header_stdc = yes; then
3481 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3482 cat >conftest.$ac_ext <<_ACEOF
3485 cat confdefs.h >>conftest.$ac_ext
3486 cat >>conftest.$ac_ext <<_ACEOF
3487 /* end confdefs.h. */
3491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3492 $EGREP "free" >/dev/null 2>&1; then
3495 ac_cv_header_stdc=no
3501 if test $ac_cv_header_stdc = yes; then
3502 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3503 if test "$cross_compiling" = yes; then
3506 cat >conftest.$ac_ext <<_ACEOF
3509 cat confdefs.h >>conftest.$ac_ext
3510 cat >>conftest.$ac_ext <<_ACEOF
3511 /* end confdefs.h. */
3513 #if ((' ' & 0x0FF) == 0x020)
3514 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3515 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3517 # define ISLOWER(c) \
3518 (('a' <= (c) && (c) <= 'i') \
3519 || ('j' <= (c) && (c) <= 'r') \
3520 || ('s' <= (c) && (c) <= 'z'))
3521 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3524 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3529 for (i = 0; i < 256; i++)
3530 if (XOR (islower (i), ISLOWER (i))
3531 || toupper (i) != TOUPPER (i))
3536 rm -f conftest$ac_exeext
3537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3538 (eval $ac_link) 2>&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; }; then
3549 echo "$as_me: program exited with status $ac_status" >&5
3550 echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3554 ac_cv_header_stdc=no
3556 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3560 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3561 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3562 if test $ac_cv_header_stdc = yes; then
3564 cat >>confdefs.h <<\_ACEOF
3565 #define STDC_HEADERS 1
3570 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3580 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3581 inttypes.h stdint.h unistd.h
3583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3584 echo "$as_me:$LINENO: checking for $ac_header" >&5
3585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 cat >conftest.$ac_ext <<_ACEOF
3592 cat confdefs.h >>conftest.$ac_ext
3593 cat >>conftest.$ac_ext <<_ACEOF
3594 /* end confdefs.h. */
3595 $ac_includes_default
3597 #include <$ac_header>
3599 rm -f conftest.$ac_objext
3600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3601 (eval $ac_compile) 2>conftest.er1
3603 grep -v '^ *+' conftest.er1 >conftest.err
3605 cat conftest.err >&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); } &&
3608 { ac_try='test -z "$ac_c_werror_flag"
3609 || test ! -s conftest.err'
3610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614 (exit $ac_status); }; } &&
3615 { ac_try='test -s conftest.$ac_objext'
3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; }; then
3621 eval "$as_ac_Header=yes"
3623 echo "$as_me: failed program was:" >&5
3624 sed 's/^/| /' conftest.$ac_ext >&5
3626 eval "$as_ac_Header=no"
3628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3633 cat >>confdefs.h <<_ACEOF
3634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3642 if test "${ac_cv_header_minix_config_h+set}" = set; then
3643 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3644 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3645 if test "${ac_cv_header_minix_config_h+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3649 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3651 # Is the header compilable?
3652 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3653 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3654 cat >conftest.$ac_ext <<_ACEOF
3657 cat confdefs.h >>conftest.$ac_ext
3658 cat >>conftest.$ac_ext <<_ACEOF
3659 /* end confdefs.h. */
3660 $ac_includes_default
3661 #include <minix/config.h>
3663 rm -f conftest.$ac_objext
3664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3665 (eval $ac_compile) 2>conftest.er1
3667 grep -v '^ *+' conftest.er1 >conftest.err
3669 cat conftest.err >&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); } &&
3672 { ac_try='test -z "$ac_c_werror_flag"
3673 || test ! -s conftest.err'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; } &&
3679 { ac_try='test -s conftest.$ac_objext'
3680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }; }; then
3685 ac_header_compiler=yes
3687 echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.$ac_ext >&5
3690 ac_header_compiler=no
3692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3694 echo "${ECHO_T}$ac_header_compiler" >&6
3696 # Is the header present?
3697 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3698 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3699 cat >conftest.$ac_ext <<_ACEOF
3702 cat confdefs.h >>conftest.$ac_ext
3703 cat >>conftest.$ac_ext <<_ACEOF
3704 /* end confdefs.h. */
3705 #include <minix/config.h>
3707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3710 grep -v '^ *+' conftest.er1 >conftest.err
3712 cat conftest.err >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } >/dev/null; then
3715 if test -s conftest.err; then
3716 ac_cpp_err=$ac_c_preproc_warn_flag
3717 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3724 if test -z "$ac_cpp_err"; then
3725 ac_header_preproc=yes
3727 echo "$as_me: failed program was:" >&5
3728 sed 's/^/| /' conftest.$ac_ext >&5
3730 ac_header_preproc=no
3732 rm -f conftest.err conftest.$ac_ext
3733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3734 echo "${ECHO_T}$ac_header_preproc" >&6
3736 # So? What about this header?
3737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3739 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3740 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3741 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3742 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3743 ac_header_preproc=yes
3746 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3747 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3748 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3749 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3750 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3751 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3752 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3753 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3754 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3755 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3756 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3757 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3760 ## --------------------------------- ##
3761 ## Report this to bug-cvs@nongnu.org ##
3762 ## --------------------------------- ##
3765 sed "s/^/$as_me: WARNING: /" >&2
3768 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3769 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3770 if test "${ac_cv_header_minix_config_h+set}" = set; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 ac_cv_header_minix_config_h=$ac_header_preproc
3775 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3776 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3779 if test $ac_cv_header_minix_config_h = yes; then
3786 if test "$MINIX" = yes; then
3788 cat >>confdefs.h <<\_ACEOF
3789 #define _POSIX_SOURCE 1
3793 cat >>confdefs.h <<\_ACEOF
3794 #define _POSIX_1_SOURCE 2
3798 cat >>confdefs.h <<\_ACEOF
3805 # Find the posix library needed on INTERACTIVE UNIX (ISC)
3806 echo "$as_me:$LINENO: checking for library containing strerror" >&5
3807 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3808 if test "${ac_cv_search_strerror+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 ac_func_search_save_LIBS=$LIBS
3812 ac_cv_search_strerror=no
3813 cat >conftest.$ac_ext <<_ACEOF
3816 cat confdefs.h >>conftest.$ac_ext
3817 cat >>conftest.$ac_ext <<_ACEOF
3818 /* end confdefs.h. */
3820 /* Override any gcc2 internal prototype to avoid an error. */
3824 /* We use char because int might match the return type of a gcc2
3825 builtin and then its argument prototype would still apply. */
3835 rm -f conftest.$ac_objext conftest$ac_exeext
3836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3837 (eval $ac_link) 2>conftest.er1
3839 grep -v '^ *+' conftest.er1 >conftest.err
3841 cat conftest.err >&5
3842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843 (exit $ac_status); } &&
3844 { ac_try='test -z "$ac_c_werror_flag"
3845 || test ! -s conftest.err'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; } &&
3851 { ac_try='test -s conftest$ac_exeext'
3852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); }; }; then
3857 ac_cv_search_strerror="none required"
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3863 rm -f conftest.err conftest.$ac_objext \
3864 conftest$ac_exeext conftest.$ac_ext
3865 if test "$ac_cv_search_strerror" = no; then
3866 for ac_lib in cposix; do
3867 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3868 cat >conftest.$ac_ext <<_ACEOF
3871 cat confdefs.h >>conftest.$ac_ext
3872 cat >>conftest.$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3875 /* Override any gcc2 internal prototype to avoid an error. */
3879 /* We use char because int might match the return type of a gcc2
3880 builtin and then its argument prototype would still apply. */
3890 rm -f conftest.$ac_objext conftest$ac_exeext
3891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3892 (eval $ac_link) 2>conftest.er1
3894 grep -v '^ *+' conftest.er1 >conftest.err
3896 cat conftest.err >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); } &&
3899 { ac_try='test -z "$ac_c_werror_flag"
3900 || test ! -s conftest.err'
3901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); }; } &&
3906 { ac_try='test -s conftest$ac_exeext'
3907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; }; then
3912 ac_cv_search_strerror="-l$ac_lib"
3915 echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.$ac_ext >&5
3919 rm -f conftest.err conftest.$ac_objext \
3920 conftest$ac_exeext conftest.$ac_ext
3923 LIBS=$ac_func_search_save_LIBS
3925 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3926 echo "${ECHO_T}$ac_cv_search_strerror" >&6
3927 if test "$ac_cv_search_strerror" != no; then
3928 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3934 if test -n "$ac_tool_prefix"; then
3935 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3936 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3937 echo "$as_me:$LINENO: checking for $ac_word" >&5
3938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3939 if test "${ac_cv_prog_RANLIB+set}" = set; then
3940 echo $ECHO_N "(cached) $ECHO_C" >&6
3942 if test -n "$RANLIB"; then
3943 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 RANLIB=$ac_cv_prog_RANLIB
3962 if test -n "$RANLIB"; then
3963 echo "$as_me:$LINENO: result: $RANLIB" >&5
3964 echo "${ECHO_T}$RANLIB" >&6
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3971 if test -z "$ac_cv_prog_RANLIB"; then
3972 ac_ct_RANLIB=$RANLIB
3973 # Extract the first word of "ranlib", so it can be a program name with args.
3974 set dummy ranlib; ac_word=$2
3975 echo "$as_me:$LINENO: checking for $ac_word" >&5
3976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3977 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3980 if test -n "$ac_ct_RANLIB"; then
3981 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3990 ac_cv_prog_ac_ct_RANLIB="ranlib"
3991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3997 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4000 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4001 if test -n "$ac_ct_RANLIB"; then
4002 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4003 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4009 RANLIB=$ac_ct_RANLIB
4011 RANLIB="$ac_cv_prog_RANLIB"
4014 for ac_prog in 'bison -y' byacc
4016 # Extract the first word of "$ac_prog", so it can be a program name with args.
4017 set dummy $ac_prog; ac_word=$2
4018 echo "$as_me:$LINENO: checking for $ac_word" >&5
4019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4020 if test "${ac_cv_prog_YACC+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 if test -n "$YACC"; then
4024 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030 test -z "$as_dir" && as_dir=.
4031 for ac_exec_ext in '' $ac_executable_extensions; do
4032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4033 ac_cv_prog_YACC="$ac_prog"
4034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 YACC=$ac_cv_prog_YACC
4043 if test -n "$YACC"; then
4044 echo "$as_me:$LINENO: result: $YACC" >&5
4045 echo "${ECHO_T}$YACC" >&6
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4051 test -n "$YACC" && break
4053 test -n "$YACC" || YACC="yacc"
4055 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4056 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4058 if test "$LN_S" = "ln -s"; then
4059 echo "$as_me:$LINENO: result: yes" >&5
4060 echo "${ECHO_T}yes" >&6
4062 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4063 echo "${ECHO_T}no, using $LN_S" >&6
4068 # Extract the first word of "perl", so it can be a program name with args.
4069 set dummy perl; ac_word=$2
4070 echo "$as_me:$LINENO: checking for $ac_word" >&5
4071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4072 if test "${ac_cv_path_PERL+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4084 test -z "$as_dir" && as_dir=.
4085 for ac_exec_ext in '' $ac_executable_extensions; do
4086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4087 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4094 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
4098 PERL=$ac_cv_path_PERL
4100 if test -n "$PERL"; then
4101 echo "$as_me:$LINENO: result: $PERL" >&5
4102 echo "${ECHO_T}$PERL" >&6
4104 echo "$as_me:$LINENO: result: no" >&5
4105 echo "${ECHO_T}no" >&6
4108 # Extract the first word of "csh", so it can be a program name with args.
4109 set dummy csh; ac_word=$2
4110 echo "$as_me:$LINENO: checking for $ac_word" >&5
4111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4112 if test "${ac_cv_path_CSH+set}" = set; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 ac_cv_path_CSH="$CSH" # Let the user override the test with a path.
4120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4124 test -z "$as_dir" && as_dir=.
4125 for ac_exec_ext in '' $ac_executable_extensions; do
4126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4127 ac_cv_path_CSH="$as_dir/$ac_word$ac_exec_ext"
4128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4134 test -z "$ac_cv_path_CSH" && ac_cv_path_CSH="no"
4140 if test -n "$CSH"; then
4141 echo "$as_me:$LINENO: result: $CSH" >&5
4142 echo "${ECHO_T}$CSH" >&6
4144 echo "$as_me:$LINENO: result: no" >&5
4145 echo "${ECHO_T}no" >&6
4148 # for contrib/rcs2log.sh & src/cvsbug.in.
4149 # Extract the first word of "mktemp", so it can be a program name with args.
4150 set dummy mktemp; ac_word=$2
4151 echo "$as_me:$LINENO: checking for $ac_word" >&5
4152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4153 if test "${ac_cv_path_MKTEMP+set}" = set; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
4161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir=.
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4168 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
4169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4175 test -z "$ac_cv_path_MKTEMP" && ac_cv_path_MKTEMP="mktemp"
4179 MKTEMP=$ac_cv_path_MKTEMP
4181 if test -n "$MKTEMP"; then
4182 echo "$as_me:$LINENO: result: $MKTEMP" >&5
4183 echo "${ECHO_T}$MKTEMP" >&6
4185 echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6
4189 if test x"$MKTEMP" = xmktemp; then
4190 MKTEMP_SH_FUNCTION=$srcdir/mktemp.sh
4192 MKTEMP_SH_FUNCTION=/dev/null
4196 # Extract the first word of "sendmail", so it can be a program name with args.
4197 set dummy sendmail; ac_word=$2
4198 echo "$as_me:$LINENO: checking for $ac_word" >&5
4199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4200 if test "${ac_cv_path_SENDMAIL+set}" = set; then
4201 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 as_dummy="$PATH:/usr/sbin:/usr/lib"
4210 for as_dir in $as_dummy
4213 test -z "$as_dir" && as_dir=.
4214 for ac_exec_ext in '' $ac_executable_extensions; do
4215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4216 ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
4217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4223 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL="no"
4227 SENDMAIL=$ac_cv_path_SENDMAIL
4229 if test -n "$SENDMAIL"; then
4230 echo "$as_me:$LINENO: result: $SENDMAIL" >&5
4231 echo "${ECHO_T}$SENDMAIL" >&6
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4238 # Extract the first word of "pr", so it can be a program name with args.
4239 set dummy pr; ac_word=$2
4240 echo "$as_me:$LINENO: checking for $ac_word" >&5
4241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4242 if test "${ac_cv_path_PR+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 ac_cv_path_PR="$PR" # Let the user override the test with a path.
4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir=.
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4257 ac_cv_path_PR="$as_dir/$ac_word$ac_exec_ext"
4258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 test -z "$ac_cv_path_PR" && ac_cv_path_PR="no"
4270 if test -n "$PR"; then
4271 echo "$as_me:$LINENO: result: $PR" >&5
4272 echo "${ECHO_T}$PR" >&6
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4278 if test x"$PR" != xno; then
4280 cat >>confdefs.h <<_ACEOF
4281 #define PR_PROGRAM "$PR"
4286 missing_dir=`cd $ac_aux_dir && pwd`
4287 glocs="$PATH:/usr/local/bin:/usr/contrib/bin:/usr/gnu/bin:/local/bin:/local/gnu/bin:/gnu/bin"
4288 for ac_prog in groff roff
4290 # Extract the first word of "$ac_prog", so it can be a program name with args.
4291 set dummy $ac_prog; ac_word=$2
4292 echo "$as_me:$LINENO: checking for $ac_word" >&5
4293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4294 if test "${ac_cv_path_ROFF+set}" = set; then
4295 echo $ECHO_N "(cached) $ECHO_C" >&6
4299 ac_cv_path_ROFF="$ROFF" # Let the user override the test with a path.
4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303 for as_dir in $glocs
4306 test -z "$as_dir" && as_dir=.
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4309 ac_cv_path_ROFF="$as_dir/$ac_word$ac_exec_ext"
4310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 ROFF=$ac_cv_path_ROFF
4321 if test -n "$ROFF"; then
4322 echo "$as_me:$LINENO: result: $ROFF" >&5
4323 echo "${ECHO_T}$ROFF" >&6
4325 echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4329 test -n "$ROFF" && break
4331 test -n "$ROFF" || ROFF="$missing_dir/missing roff"
4333 # Extract the first word of "ps2pdf", so it can be a program name with args.
4334 set dummy ps2pdf; ac_word=$2
4335 echo "$as_me:$LINENO: checking for $ac_word" >&5
4336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4337 if test "${ac_cv_path_PS2PDF+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
4345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349 test -z "$as_dir" && as_dir=.
4350 for ac_exec_ext in '' $ac_executable_extensions; do
4351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4352 ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
4353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4359 test -z "$ac_cv_path_PS2PDF" && ac_cv_path_PS2PDF="$missing_dir/missing ps2pdf"
4363 PS2PDF=$ac_cv_path_PS2PDF
4365 if test -n "$PS2PDF"; then
4366 echo "$as_me:$LINENO: result: $PS2PDF" >&5
4367 echo "${ECHO_T}$PS2PDF" >&6
4369 echo "$as_me:$LINENO: result: no" >&5
4370 echo "${ECHO_T}no" >&6
4373 # Extract the first word of "texi2dvi", so it can be a program name with args.
4374 set dummy texi2dvi; ac_word=$2
4375 echo "$as_me:$LINENO: checking for $ac_word" >&5
4376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4377 if test "${ac_cv_path_TEXI2DVI+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4382 ac_cv_path_TEXI2DVI="$TEXI2DVI" # Let the user override the test with a path.
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4392 ac_cv_path_TEXI2DVI="$as_dir/$ac_word$ac_exec_ext"
4393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 test -z "$ac_cv_path_TEXI2DVI" && ac_cv_path_TEXI2DVI="$missing_dir/missing texi2dvi"
4403 TEXI2DVI=$ac_cv_path_TEXI2DVI
4405 if test -n "$TEXI2DVI"; then
4406 echo "$as_me:$LINENO: result: $TEXI2DVI" >&5
4407 echo "${ECHO_T}$TEXI2DVI" >&6
4409 echo "$as_me:$LINENO: result: no" >&5
4410 echo "${ECHO_T}no" >&6
4414 echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5
4415 echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6
4416 if test "${ac_cv_sys_interpreter+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4423 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
4424 if test $? -ne 69; then
4425 ac_cv_sys_interpreter=yes
4427 ac_cv_sys_interpreter=no
4431 echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5
4432 echo "${ECHO_T}$ac_cv_sys_interpreter" >&6
4433 interpval=$ac_cv_sys_interpreter
4435 if test X"$ac_cv_sys_interpreter" != X"yes" ; then
4436 # silly trick to avoid problems in AC macros...
4437 ac_msg='perl scripts using #! may not be invoked properly'
4438 { echo "$as_me:$LINENO: WARNING: $ac_msg" >&5
4439 echo "$as_me: WARNING: $ac_msg" >&2;}
4442 # BSD's logo is a devil for a reason, hey?
4443 echo "$as_me:$LINENO: checking for BSD VPATH bug in make" >&5
4444 echo $ECHO_N "checking for BSD VPATH bug in make... $ECHO_C" >&6
4445 if test "${ccvs_cv_bsd_make_vpath_bug+set}" = set; then
4446 echo $ECHO_N "(cached) $ECHO_C" >&6
4448 if test ! -d ac_test_dir ; then
4449 { ac_try='mkdir ac_test_dir'
4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); }; }
4456 cat >conftestmake <<EOF
4458 ac_test_target: ac_test_dep
4459 echo BSD VPATH bug present >&2
4460 ac_test_dep: ac_test_dep_dep
4462 touch ac_test_dir/ac_test_dep_dep
4463 touch ac_test_dir/ac_test_dep
4464 touch ac_test_target
4465 # Don't know why, but the following test doesn't work under FreeBSD 4.2
4466 # without this sleep command
4468 if { ac_try='make -f conftestmake 2>&1 >/dev/null |grep ^BSD\ VPATH\ bug\ present\$ >/dev/null'
4469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; } ; then
4474 ccvs_cv_bsd_make_vpath_bug=yes
4476 ccvs_cv_bsd_make_vpath_bug=no
4478 { ac_try='rm -rf ac_test_dir ac_test_target conftestmake'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; }
4485 echo "$as_me:$LINENO: result: $ccvs_cv_bsd_make_vpath_bug" >&5
4486 echo "${ECHO_T}$ccvs_cv_bsd_make_vpath_bug" >&6
4487 # We also don't need to worry about the bug when $srcdir = $builddir
4491 test $ccvs_cv_bsd_make_vpath_bug = no \
4492 || test $srcdir = .; then
4493 MAKE_TARGETS_IN_VPATH_TRUE=
4494 MAKE_TARGETS_IN_VPATH_FALSE='#'
4496 MAKE_TARGETS_IN_VPATH_TRUE='#'
4497 MAKE_TARGETS_IN_VPATH_FALSE=
4507 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4508 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4509 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4510 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 cat >conftest.$ac_ext <<_ACEOF
4517 cat confdefs.h >>conftest.$ac_ext
4518 cat >>conftest.$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4520 #include <sys/types.h>
4532 rm -f conftest.$ac_objext
4533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4534 (eval $ac_compile) 2>conftest.er1
4536 grep -v '^ *+' conftest.er1 >conftest.err
4538 cat conftest.err >&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); } &&
4541 { ac_try='test -z "$ac_c_werror_flag"
4542 || test ! -s conftest.err'
4543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; } &&
4548 { ac_try='test -s conftest.$ac_objext'
4549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; }; then
4554 eval "$as_ac_Header=yes"
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.$ac_ext >&5
4559 eval "$as_ac_Header=no"
4561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4566 cat >>confdefs.h <<_ACEOF
4567 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4570 ac_header_dirent=$ac_hdr; break
4574 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4575 if test $ac_header_dirent = dirent.h; then
4576 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4577 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4578 if test "${ac_cv_search_opendir+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 ac_func_search_save_LIBS=$LIBS
4582 ac_cv_search_opendir=no
4583 cat >conftest.$ac_ext <<_ACEOF
4586 cat confdefs.h >>conftest.$ac_ext
4587 cat >>conftest.$ac_ext <<_ACEOF
4588 /* end confdefs.h. */
4590 /* Override any gcc2 internal prototype to avoid an error. */
4594 /* We use char because int might match the return type of a gcc2
4595 builtin and then its argument prototype would still apply. */
4605 rm -f conftest.$ac_objext conftest$ac_exeext
4606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4607 (eval $ac_link) 2>conftest.er1
4609 grep -v '^ *+' conftest.er1 >conftest.err
4611 cat conftest.err >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); } &&
4614 { ac_try='test -z "$ac_c_werror_flag"
4615 || test ! -s conftest.err'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; } &&
4621 { ac_try='test -s conftest$ac_exeext'
4622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); }; }; then
4627 ac_cv_search_opendir="none required"
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.$ac_ext >&5
4633 rm -f conftest.err conftest.$ac_objext \
4634 conftest$ac_exeext conftest.$ac_ext
4635 if test "$ac_cv_search_opendir" = no; then
4636 for ac_lib in dir; do
4637 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4638 cat >conftest.$ac_ext <<_ACEOF
4641 cat confdefs.h >>conftest.$ac_ext
4642 cat >>conftest.$ac_ext <<_ACEOF
4643 /* end confdefs.h. */
4645 /* Override any gcc2 internal prototype to avoid an error. */
4649 /* We use char because int might match the return type of a gcc2
4650 builtin and then its argument prototype would still apply. */
4660 rm -f conftest.$ac_objext conftest$ac_exeext
4661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4662 (eval $ac_link) 2>conftest.er1
4664 grep -v '^ *+' conftest.er1 >conftest.err
4666 cat conftest.err >&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); } &&
4669 { ac_try='test -z "$ac_c_werror_flag"
4670 || test ! -s conftest.err'
4671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); }; } &&
4676 { ac_try='test -s conftest$ac_exeext'
4677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); }; }; then
4682 ac_cv_search_opendir="-l$ac_lib"
4685 echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4689 rm -f conftest.err conftest.$ac_objext \
4690 conftest$ac_exeext conftest.$ac_ext
4693 LIBS=$ac_func_search_save_LIBS
4695 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4696 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4697 if test "$ac_cv_search_opendir" != no; then
4698 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4703 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4704 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4705 if test "${ac_cv_search_opendir+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4708 ac_func_search_save_LIBS=$LIBS
4709 ac_cv_search_opendir=no
4710 cat >conftest.$ac_ext <<_ACEOF
4713 cat confdefs.h >>conftest.$ac_ext
4714 cat >>conftest.$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4717 /* Override any gcc2 internal prototype to avoid an error. */
4721 /* We use char because int might match the return type of a gcc2
4722 builtin and then its argument prototype would still apply. */
4732 rm -f conftest.$ac_objext conftest$ac_exeext
4733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4734 (eval $ac_link) 2>conftest.er1
4736 grep -v '^ *+' conftest.er1 >conftest.err
4738 cat conftest.err >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } &&
4741 { ac_try='test -z "$ac_c_werror_flag"
4742 || test ! -s conftest.err'
4743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; } &&
4748 { ac_try='test -s conftest$ac_exeext'
4749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }; }; then
4754 ac_cv_search_opendir="none required"
4756 echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.$ac_ext >&5
4760 rm -f conftest.err conftest.$ac_objext \
4761 conftest$ac_exeext conftest.$ac_ext
4762 if test "$ac_cv_search_opendir" = no; then
4764 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4765 cat >conftest.$ac_ext <<_ACEOF
4768 cat confdefs.h >>conftest.$ac_ext
4769 cat >>conftest.$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4772 /* Override any gcc2 internal prototype to avoid an error. */
4776 /* We use char because int might match the return type of a gcc2
4777 builtin and then its argument prototype would still apply. */
4787 rm -f conftest.$ac_objext conftest$ac_exeext
4788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4789 (eval $ac_link) 2>conftest.er1
4791 grep -v '^ *+' conftest.er1 >conftest.err
4793 cat conftest.err >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } &&
4796 { ac_try='test -z "$ac_c_werror_flag"
4797 || test ! -s conftest.err'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; } &&
4803 { ac_try='test -s conftest$ac_exeext'
4804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); }; }; then
4809 ac_cv_search_opendir="-l$ac_lib"
4812 echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4816 rm -f conftest.err conftest.$ac_objext \
4817 conftest$ac_exeext conftest.$ac_ext
4820 LIBS=$ac_func_search_save_LIBS
4822 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4823 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4824 if test "$ac_cv_search_opendir" != no; then
4825 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4831 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4832 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4833 if test "${ac_cv_header_stdc+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 cat >conftest.$ac_ext <<_ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4855 rm -f conftest.$ac_objext
4856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4857 (eval $ac_compile) 2>conftest.er1
4859 grep -v '^ *+' conftest.er1 >conftest.err
4861 cat conftest.err >&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } &&
4864 { ac_try='test -z "$ac_c_werror_flag"
4865 || test ! -s conftest.err'
4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; } &&
4871 { ac_try='test -s conftest.$ac_objext'
4872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); }; }; then
4877 ac_cv_header_stdc=yes
4879 echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.$ac_ext >&5
4882 ac_cv_header_stdc=no
4884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4886 if test $ac_cv_header_stdc = yes; then
4887 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4888 cat >conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4898 $EGREP "memchr" >/dev/null 2>&1; then
4901 ac_cv_header_stdc=no
4907 if test $ac_cv_header_stdc = yes; then
4908 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4909 cat >conftest.$ac_ext <<_ACEOF
4912 cat confdefs.h >>conftest.$ac_ext
4913 cat >>conftest.$ac_ext <<_ACEOF
4914 /* end confdefs.h. */
4918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4919 $EGREP "free" >/dev/null 2>&1; then
4922 ac_cv_header_stdc=no
4928 if test $ac_cv_header_stdc = yes; then
4929 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4930 if test "$cross_compiling" = yes; then
4933 cat >conftest.$ac_ext <<_ACEOF
4936 cat confdefs.h >>conftest.$ac_ext
4937 cat >>conftest.$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4940 #if ((' ' & 0x0FF) == 0x020)
4941 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4942 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4944 # define ISLOWER(c) \
4945 (('a' <= (c) && (c) <= 'i') \
4946 || ('j' <= (c) && (c) <= 'r') \
4947 || ('s' <= (c) && (c) <= 'z'))
4948 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4951 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4956 for (i = 0; i < 256; i++)
4957 if (XOR (islower (i), ISLOWER (i))
4958 || toupper (i) != TOUPPER (i))
4963 rm -f conftest$ac_exeext
4964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4965 (eval $ac_link) 2>&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; }; then
4976 echo "$as_me: program exited with status $ac_status" >&5
4977 echo "$as_me: failed program was:" >&5
4978 sed 's/^/| /' conftest.$ac_ext >&5
4981 ac_cv_header_stdc=no
4983 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4987 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4988 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4989 if test $ac_cv_header_stdc = yes; then
4991 cat >>confdefs.h <<\_ACEOF
4992 #define STDC_HEADERS 1
4997 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4998 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4999 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5000 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 cat >conftest.$ac_ext <<_ACEOF
5005 cat confdefs.h >>conftest.$ac_ext
5006 cat >>conftest.$ac_ext <<_ACEOF
5007 /* end confdefs.h. */
5008 #include <sys/types.h>
5009 #include <sys/wait.h>
5011 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5014 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5022 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5027 rm -f conftest.$ac_objext
5028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5029 (eval $ac_compile) 2>conftest.er1
5031 grep -v '^ *+' conftest.er1 >conftest.err
5033 cat conftest.err >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try='test -z "$ac_c_werror_flag"
5037 || test ! -s conftest.err'
5038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); }; } &&
5043 { ac_try='test -s conftest.$ac_objext'
5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; }; then
5049 ac_cv_header_sys_wait_h=yes
5051 echo "$as_me: failed program was:" >&5
5052 sed 's/^/| /' conftest.$ac_ext >&5
5054 ac_cv_header_sys_wait_h=no
5056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5058 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5059 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5060 if test $ac_cv_header_sys_wait_h = yes; then
5062 cat >>confdefs.h <<\_ACEOF
5063 #define HAVE_SYS_WAIT_H 1
5109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5111 echo "$as_me:$LINENO: checking for $ac_header" >&5
5112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5119 # Is the header compilable?
5120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5122 cat >conftest.$ac_ext <<_ACEOF
5125 cat confdefs.h >>conftest.$ac_ext
5126 cat >>conftest.$ac_ext <<_ACEOF
5127 /* end confdefs.h. */
5128 $ac_includes_default
5129 #include <$ac_header>
5131 rm -f conftest.$ac_objext
5132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5133 (eval $ac_compile) 2>conftest.er1
5135 grep -v '^ *+' conftest.er1 >conftest.err
5137 cat conftest.err >&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } &&
5140 { ac_try='test -z "$ac_c_werror_flag"
5141 || test ! -s conftest.err'
5142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); }; } &&
5147 { ac_try='test -s conftest.$ac_objext'
5148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); }; }; then
5153 ac_header_compiler=yes
5155 echo "$as_me: failed program was:" >&5
5156 sed 's/^/| /' conftest.$ac_ext >&5
5158 ac_header_compiler=no
5160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5162 echo "${ECHO_T}$ac_header_compiler" >&6
5164 # Is the header present?
5165 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5167 cat >conftest.$ac_ext <<_ACEOF
5170 cat confdefs.h >>conftest.$ac_ext
5171 cat >>conftest.$ac_ext <<_ACEOF
5172 /* end confdefs.h. */
5173 #include <$ac_header>
5175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5176 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5178 grep -v '^ *+' conftest.er1 >conftest.err
5180 cat conftest.err >&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); } >/dev/null; then
5183 if test -s conftest.err; then
5184 ac_cpp_err=$ac_c_preproc_warn_flag
5185 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5192 if test -z "$ac_cpp_err"; then
5193 ac_header_preproc=yes
5195 echo "$as_me: failed program was:" >&5
5196 sed 's/^/| /' conftest.$ac_ext >&5
5198 ac_header_preproc=no
5200 rm -f conftest.err conftest.$ac_ext
5201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5202 echo "${ECHO_T}$ac_header_preproc" >&6
5204 # So? What about this header?
5205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5211 ac_header_preproc=yes
5214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5218 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5220 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5221 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5224 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5228 ## --------------------------------- ##
5229 ## Report this to bug-cvs@nongnu.org ##
5230 ## --------------------------------- ##
5233 sed "s/^/$as_me: WARNING: /" >&2
5236 echo "$as_me:$LINENO: checking for $ac_header" >&5
5237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5241 eval "$as_ac_Header=\$ac_header_preproc"
5243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5248 cat >>confdefs.h <<_ACEOF
5249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5256 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5257 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
5258 if test "${ac_cv_header_stat_broken+set}" = set; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 cat >conftest.$ac_ext <<_ACEOF
5264 cat confdefs.h >>conftest.$ac_ext
5265 cat >>conftest.$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5267 #include <sys/types.h>
5268 #include <sys/stat.h>
5270 #if defined(S_ISBLK) && defined(S_IFDIR)
5271 # if S_ISBLK (S_IFDIR)
5276 #if defined(S_ISBLK) && defined(S_IFCHR)
5277 # if S_ISBLK (S_IFCHR)
5282 #if defined(S_ISLNK) && defined(S_IFREG)
5283 # if S_ISLNK (S_IFREG)
5288 #if defined(S_ISSOCK) && defined(S_IFREG)
5289 # if S_ISSOCK (S_IFREG)
5295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5296 $EGREP "You lose" >/dev/null 2>&1; then
5297 ac_cv_header_stat_broken=yes
5299 ac_cv_header_stat_broken=no
5304 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
5305 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
5306 if test $ac_cv_header_stat_broken = yes; then
5308 cat >>confdefs.h <<\_ACEOF
5309 #define STAT_MACROS_BROKEN 1
5314 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5315 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5316 if test "${ac_cv_header_time+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 cat >conftest.$ac_ext <<_ACEOF
5322 cat confdefs.h >>conftest.$ac_ext
5323 cat >>conftest.$ac_ext <<_ACEOF
5324 /* end confdefs.h. */
5325 #include <sys/types.h>
5326 #include <sys/time.h>
5332 if ((struct tm *) 0)
5338 rm -f conftest.$ac_objext
5339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5340 (eval $ac_compile) 2>conftest.er1
5342 grep -v '^ *+' conftest.er1 >conftest.err
5344 cat conftest.err >&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); } &&
5347 { ac_try='test -z "$ac_c_werror_flag"
5348 || test ! -s conftest.err'
5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); }; } &&
5354 { ac_try='test -s conftest.$ac_objext'
5355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); }; }; then
5360 ac_cv_header_time=yes
5362 echo "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.$ac_ext >&5
5365 ac_cv_header_time=no
5367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5369 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5370 echo "${ECHO_T}$ac_cv_header_time" >&6
5371 if test $ac_cv_header_time = yes; then
5373 cat >>confdefs.h <<\_ACEOF
5374 #define TIME_WITH_SYS_TIME 1
5380 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5381 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5382 if test "${ac_cv_c_const+set}" = set; then
5383 echo $ECHO_N "(cached) $ECHO_C" >&6
5385 cat >conftest.$ac_ext <<_ACEOF
5388 cat confdefs.h >>conftest.$ac_ext
5389 cat >>conftest.$ac_ext <<_ACEOF
5390 /* end confdefs.h. */
5395 /* FIXME: Include the comments suggested by Paul. */
5397 /* Ultrix mips cc rejects this. */
5398 typedef int charset[2];
5400 /* SunOS 4.1.1 cc rejects this. */
5401 char const *const *ccp;
5403 /* NEC SVR4.0.2 mips cc rejects this. */
5404 struct point {int x, y;};
5405 static struct point const zero = {0,0};
5406 /* AIX XL C 1.02.0.0 rejects this.
5407 It does not let you subtract one const X* pointer from another in
5408 an arm of an if-expression whose if-part is not a constant
5410 const char *g = "string";
5411 ccp = &g + (g ? g-g : 0);
5412 /* HPUX 7.0 cc rejects these. */
5415 ccp = (char const *const *) p;
5416 { /* SCO 3.2v4 cc rejects this. */
5418 char const *s = 0 ? (char *) 0 : (char const *) 0;
5422 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5424 const int *foo = &x[0];
5427 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5428 typedef const int *iptr;
5432 { /* AIX XL C 1.02.0.0 rejects this saying
5433 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5434 struct s { int j; const int *ap[3]; };
5435 struct s *b; b->j = 5;
5437 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5446 rm -f conftest.$ac_objext
5447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5448 (eval $ac_compile) 2>conftest.er1
5450 grep -v '^ *+' conftest.er1 >conftest.err
5452 cat conftest.err >&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); } &&
5455 { ac_try='test -z "$ac_c_werror_flag"
5456 || test ! -s conftest.err'
5457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; } &&
5462 { ac_try='test -s conftest.$ac_objext'
5463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; }; then
5470 echo "$as_me: failed program was:" >&5
5471 sed 's/^/| /' conftest.$ac_ext >&5
5475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5477 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5478 echo "${ECHO_T}$ac_cv_c_const" >&6
5479 if test $ac_cv_c_const = no; then
5481 cat >>confdefs.h <<\_ACEOF
5487 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
5488 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
5489 if test "${ac_cv_type_uid_t+set}" = set; then
5490 echo $ECHO_N "(cached) $ECHO_C" >&6
5492 cat >conftest.$ac_ext <<_ACEOF
5495 cat confdefs.h >>conftest.$ac_ext
5496 cat >>conftest.$ac_ext <<_ACEOF
5497 /* end confdefs.h. */
5498 #include <sys/types.h>
5501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5502 $EGREP "uid_t" >/dev/null 2>&1; then
5503 ac_cv_type_uid_t=yes
5510 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5511 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
5512 if test $ac_cv_type_uid_t = no; then
5514 cat >>confdefs.h <<\_ACEOF
5519 cat >>confdefs.h <<\_ACEOF
5525 echo "$as_me:$LINENO: checking for mode_t" >&5
5526 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
5527 if test "${ac_cv_type_mode_t+set}" = set; then
5528 echo $ECHO_N "(cached) $ECHO_C" >&6
5530 cat >conftest.$ac_ext <<_ACEOF
5533 cat confdefs.h >>conftest.$ac_ext
5534 cat >>conftest.$ac_ext <<_ACEOF
5535 /* end confdefs.h. */
5536 $ac_includes_default
5542 if (sizeof (mode_t))
5548 rm -f conftest.$ac_objext
5549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5550 (eval $ac_compile) 2>conftest.er1
5552 grep -v '^ *+' conftest.er1 >conftest.err
5554 cat conftest.err >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } &&
5557 { ac_try='test -z "$ac_c_werror_flag"
5558 || test ! -s conftest.err'
5559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; } &&
5564 { ac_try='test -s conftest.$ac_objext'
5565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); }; }; then
5570 ac_cv_type_mode_t=yes
5572 echo "$as_me: failed program was:" >&5
5573 sed 's/^/| /' conftest.$ac_ext >&5
5575 ac_cv_type_mode_t=no
5577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5579 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5580 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
5581 if test $ac_cv_type_mode_t = yes; then
5585 cat >>confdefs.h <<_ACEOF
5591 echo "$as_me:$LINENO: checking for pid_t" >&5
5592 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
5593 if test "${ac_cv_type_pid_t+set}" = set; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 cat >conftest.$ac_ext <<_ACEOF
5599 cat confdefs.h >>conftest.$ac_ext
5600 cat >>conftest.$ac_ext <<_ACEOF
5601 /* end confdefs.h. */
5602 $ac_includes_default
5614 rm -f conftest.$ac_objext
5615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5616 (eval $ac_compile) 2>conftest.er1
5618 grep -v '^ *+' conftest.er1 >conftest.err
5620 cat conftest.err >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } &&
5623 { ac_try='test -z "$ac_c_werror_flag"
5624 || test ! -s conftest.err'
5625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); }; } &&
5630 { ac_try='test -s conftest.$ac_objext'
5631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); }; }; then
5636 ac_cv_type_pid_t=yes
5638 echo "$as_me: failed program was:" >&5
5639 sed 's/^/| /' conftest.$ac_ext >&5
5643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5645 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5646 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
5647 if test $ac_cv_type_pid_t = yes; then
5651 cat >>confdefs.h <<_ACEOF
5657 echo "$as_me:$LINENO: checking for size_t" >&5
5658 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5659 if test "${ac_cv_type_size_t+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 cat >conftest.$ac_ext <<_ACEOF
5665 cat confdefs.h >>conftest.$ac_ext
5666 cat >>conftest.$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5668 $ac_includes_default
5674 if (sizeof (size_t))
5680 rm -f conftest.$ac_objext
5681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5682 (eval $ac_compile) 2>conftest.er1
5684 grep -v '^ *+' conftest.er1 >conftest.err
5686 cat conftest.err >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); } &&
5689 { ac_try='test -z "$ac_c_werror_flag"
5690 || test ! -s conftest.err'
5691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); }; } &&
5696 { ac_try='test -s conftest.$ac_objext'
5697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; }; then
5702 ac_cv_type_size_t=yes
5704 echo "$as_me: failed program was:" >&5
5705 sed 's/^/| /' conftest.$ac_ext >&5
5707 ac_cv_type_size_t=no
5709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5711 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5712 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5713 if test $ac_cv_type_size_t = yes; then
5717 cat >>confdefs.h <<_ACEOF
5718 #define size_t unsigned
5723 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5724 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5725 if test "${ac_cv_type_signal+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 cat >conftest.$ac_ext <<_ACEOF
5731 cat confdefs.h >>conftest.$ac_ext
5732 cat >>conftest.$ac_ext <<_ACEOF
5733 /* end confdefs.h. */
5734 #include <sys/types.h>
5740 extern "C" void (*signal (int, void (*)(int)))(int);
5742 void (*signal ()) ();
5753 rm -f conftest.$ac_objext
5754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5755 (eval $ac_compile) 2>conftest.er1
5757 grep -v '^ *+' conftest.er1 >conftest.err
5759 cat conftest.err >&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); } &&
5762 { ac_try='test -z "$ac_c_werror_flag"
5763 || test ! -s conftest.err'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; } &&
5769 { ac_try='test -s conftest.$ac_objext'
5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; }; then
5775 ac_cv_type_signal=void
5777 echo "$as_me: failed program was:" >&5
5778 sed 's/^/| /' conftest.$ac_ext >&5
5780 ac_cv_type_signal=int
5782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5784 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5785 echo "${ECHO_T}$ac_cv_type_signal" >&6
5787 cat >>confdefs.h <<_ACEOF
5788 #define RETSIGTYPE $ac_cv_type_signal
5793 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
5794 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5795 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 cat >conftest.$ac_ext <<_ACEOF
5801 cat confdefs.h >>conftest.$ac_ext
5802 cat >>conftest.$ac_ext <<_ACEOF
5803 /* end confdefs.h. */
5804 $ac_includes_default
5808 static struct stat ac_aggr;
5809 if (ac_aggr.st_blksize)
5815 rm -f conftest.$ac_objext
5816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5817 (eval $ac_compile) 2>conftest.er1
5819 grep -v '^ *+' conftest.er1 >conftest.err
5821 cat conftest.err >&5
5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 (exit $ac_status); } &&
5824 { ac_try='test -z "$ac_c_werror_flag"
5825 || test ! -s conftest.err'
5826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); }; } &&
5831 { ac_try='test -s conftest.$ac_objext'
5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); }; }; then
5837 ac_cv_member_struct_stat_st_blksize=yes
5839 echo "$as_me: failed program was:" >&5
5840 sed 's/^/| /' conftest.$ac_ext >&5
5842 cat >conftest.$ac_ext <<_ACEOF
5845 cat confdefs.h >>conftest.$ac_ext
5846 cat >>conftest.$ac_ext <<_ACEOF
5847 /* end confdefs.h. */
5848 $ac_includes_default
5852 static struct stat ac_aggr;
5853 if (sizeof ac_aggr.st_blksize)
5859 rm -f conftest.$ac_objext
5860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5861 (eval $ac_compile) 2>conftest.er1
5863 grep -v '^ *+' conftest.er1 >conftest.err
5865 cat conftest.err >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); } &&
5868 { ac_try='test -z "$ac_c_werror_flag"
5869 || test ! -s conftest.err'
5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; } &&
5875 { ac_try='test -s conftest.$ac_objext'
5876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); }; }; then
5881 ac_cv_member_struct_stat_st_blksize=yes
5883 echo "$as_me: failed program was:" >&5
5884 sed 's/^/| /' conftest.$ac_ext >&5
5886 ac_cv_member_struct_stat_st_blksize=no
5888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5892 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
5893 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
5894 if test $ac_cv_member_struct_stat_st_blksize = yes; then
5896 cat >>confdefs.h <<_ACEOF
5897 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5903 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5904 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5905 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 cat >conftest.$ac_ext <<_ACEOF
5911 cat confdefs.h >>conftest.$ac_ext
5912 cat >>conftest.$ac_ext <<_ACEOF
5913 /* end confdefs.h. */
5914 $ac_includes_default
5918 static struct stat ac_aggr;
5919 if (ac_aggr.st_rdev)
5925 rm -f conftest.$ac_objext
5926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5927 (eval $ac_compile) 2>conftest.er1
5929 grep -v '^ *+' conftest.er1 >conftest.err
5931 cat conftest.err >&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } &&
5934 { ac_try='test -z "$ac_c_werror_flag"
5935 || test ! -s conftest.err'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; } &&
5941 { ac_try='test -s conftest.$ac_objext'
5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; }; then
5947 ac_cv_member_struct_stat_st_rdev=yes
5949 echo "$as_me: failed program was:" >&5
5950 sed 's/^/| /' conftest.$ac_ext >&5
5952 cat >conftest.$ac_ext <<_ACEOF
5955 cat confdefs.h >>conftest.$ac_ext
5956 cat >>conftest.$ac_ext <<_ACEOF
5957 /* end confdefs.h. */
5958 $ac_includes_default
5962 static struct stat ac_aggr;
5963 if (sizeof ac_aggr.st_rdev)
5969 rm -f conftest.$ac_objext
5970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5971 (eval $ac_compile) 2>conftest.er1
5973 grep -v '^ *+' conftest.er1 >conftest.err
5975 cat conftest.err >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); } &&
5978 { ac_try='test -z "$ac_c_werror_flag"
5979 || test ! -s conftest.err'
5980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984 (exit $ac_status); }; } &&
5985 { ac_try='test -s conftest.$ac_objext'
5986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); }; }; then
5991 ac_cv_member_struct_stat_st_rdev=yes
5993 echo "$as_me: failed program was:" >&5
5994 sed 's/^/| /' conftest.$ac_ext >&5
5996 ac_cv_member_struct_stat_st_rdev=no
5998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6002 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6003 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
6004 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6006 cat >>confdefs.h <<_ACEOF
6007 #define HAVE_STRUCT_STAT_ST_RDEV 1
6039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6040 echo "$as_me:$LINENO: checking for $ac_func" >&5
6041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6042 if eval "test \"\${$as_ac_var+set}\" = set"; then
6043 echo $ECHO_N "(cached) $ECHO_C" >&6
6045 cat >conftest.$ac_ext <<_ACEOF
6048 cat confdefs.h >>conftest.$ac_ext
6049 cat >>conftest.$ac_ext <<_ACEOF
6050 /* end confdefs.h. */
6051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6053 #define $ac_func innocuous_$ac_func
6055 /* System header to define __stub macros and hopefully few prototypes,
6056 which can conflict with char $ac_func (); below.
6057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6058 <limits.h> exists even on freestanding compilers. */
6061 # include <limits.h>
6063 # include <assert.h>
6068 /* Override any gcc2 internal prototype to avoid an error. */
6073 /* We use char because int might match the return type of a gcc2
6074 builtin and then its argument prototype would still apply. */
6076 /* The GNU C library defines this for functions which it implements
6077 to always fail with ENOSYS. Some functions are actually named
6078 something starting with __ and the normal name is an alias. */
6079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6082 char (*f) () = $ac_func;
6091 return f != $ac_func;
6096 rm -f conftest.$ac_objext conftest$ac_exeext
6097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6098 (eval $ac_link) 2>conftest.er1
6100 grep -v '^ *+' conftest.er1 >conftest.err
6102 cat conftest.err >&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); } &&
6105 { ac_try='test -z "$ac_c_werror_flag"
6106 || test ! -s conftest.err'
6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; } &&
6112 { ac_try='test -s conftest$ac_exeext'
6113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }; }; then
6118 eval "$as_ac_var=yes"
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.$ac_ext >&5
6123 eval "$as_ac_var=no"
6125 rm -f conftest.err conftest.$ac_objext \
6126 conftest$ac_exeext conftest.$ac_ext
6128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6130 if test `eval echo '${'$as_ac_var'}'` = yes; then
6131 cat >>confdefs.h <<_ACEOF
6132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6137 "$ac_func.$ac_objext" | \
6138 *" $ac_func.$ac_objext" | \
6139 "$ac_func.$ac_objext "* | \
6140 *" $ac_func.$ac_objext "* ) ;;
6141 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
6153 for ac_header in stdint.h
6155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6157 echo "$as_me:$LINENO: checking for $ac_header" >&5
6158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6165 # Is the header compilable?
6166 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6167 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6168 cat >conftest.$ac_ext <<_ACEOF
6171 cat confdefs.h >>conftest.$ac_ext
6172 cat >>conftest.$ac_ext <<_ACEOF
6173 /* end confdefs.h. */
6174 $ac_includes_default
6175 #include <$ac_header>
6177 rm -f conftest.$ac_objext
6178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6179 (eval $ac_compile) 2>conftest.er1
6181 grep -v '^ *+' conftest.er1 >conftest.err
6183 cat conftest.err >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); } &&
6186 { ac_try='test -z "$ac_c_werror_flag"
6187 || test ! -s conftest.err'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; } &&
6193 { ac_try='test -s conftest.$ac_objext'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then
6199 ac_header_compiler=yes
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.$ac_ext >&5
6204 ac_header_compiler=no
6206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6207 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6208 echo "${ECHO_T}$ac_header_compiler" >&6
6210 # Is the header present?
6211 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6212 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6213 cat >conftest.$ac_ext <<_ACEOF
6216 cat confdefs.h >>conftest.$ac_ext
6217 cat >>conftest.$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6219 #include <$ac_header>
6221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6224 grep -v '^ *+' conftest.er1 >conftest.err
6226 cat conftest.err >&5
6227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228 (exit $ac_status); } >/dev/null; then
6229 if test -s conftest.err; then
6230 ac_cpp_err=$ac_c_preproc_warn_flag
6231 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6238 if test -z "$ac_cpp_err"; then
6239 ac_header_preproc=yes
6241 echo "$as_me: failed program was:" >&5
6242 sed 's/^/| /' conftest.$ac_ext >&5
6244 ac_header_preproc=no
6246 rm -f conftest.err conftest.$ac_ext
6247 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6248 echo "${ECHO_T}$ac_header_preproc" >&6
6250 # So? What about this header?
6251 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6253 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6254 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6256 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6257 ac_header_preproc=yes
6260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6264 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6265 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6266 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6267 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6270 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6271 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6274 ## --------------------------------- ##
6275 ## Report this to bug-cvs@nongnu.org ##
6276 ## --------------------------------- ##
6279 sed "s/^/$as_me: WARNING: /" >&2
6282 echo "$as_me:$LINENO: checking for $ac_header" >&5
6283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 eval "$as_ac_Header=\$ac_header_preproc"
6289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6294 cat >>confdefs.h <<_ACEOF
6295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6302 echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
6303 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
6305 cat >conftest.$ac_ext <<_ACEOF
6308 cat confdefs.h >>conftest.$ac_ext
6309 cat >>conftest.$ac_ext <<_ACEOF
6310 /* end confdefs.h. */
6321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6322 $EGREP "Found it" >/dev/null 2>&1; then
6327 if test -z "$result"; then
6328 if test "$cross_compiling" = yes; then
6329 # Depending upon the size, compute the lo and hi bounds.
6330 cat >conftest.$ac_ext <<_ACEOF
6333 cat confdefs.h >>conftest.$ac_ext
6334 cat >>conftest.$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6340 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
6347 rm -f conftest.$ac_objext
6348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6349 (eval $ac_compile) 2>conftest.er1
6351 grep -v '^ *+' conftest.er1 >conftest.err
6353 cat conftest.err >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } &&
6356 { ac_try='test -z "$ac_c_werror_flag"
6357 || test ! -s conftest.err'
6358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); }; } &&
6363 { ac_try='test -s conftest.$ac_objext'
6364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); }; }; then
6371 cat >conftest.$ac_ext <<_ACEOF
6374 cat confdefs.h >>conftest.$ac_ext
6375 cat >>conftest.$ac_ext <<_ACEOF
6376 /* end confdefs.h. */
6381 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
6388 rm -f conftest.$ac_objext
6389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6390 (eval $ac_compile) 2>conftest.er1
6392 grep -v '^ *+' conftest.er1 >conftest.err
6394 cat conftest.err >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); } &&
6397 { ac_try='test -z "$ac_c_werror_flag"
6398 || test ! -s conftest.err'
6399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); }; } &&
6404 { ac_try='test -s conftest.$ac_objext'
6405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); }; }; then
6410 ac_hi=$ac_mid; break
6412 echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5
6415 ac_lo=`expr $ac_mid + 1`
6416 if test $ac_lo -le $ac_mid; then
6420 ac_mid=`expr 2 '*' $ac_mid + 1`
6422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6425 echo "$as_me: failed program was:" >&5
6426 sed 's/^/| /' conftest.$ac_ext >&5
6428 cat >conftest.$ac_ext <<_ACEOF
6431 cat confdefs.h >>conftest.$ac_ext
6432 cat >>conftest.$ac_ext <<_ACEOF
6433 /* end confdefs.h. */
6438 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
6445 rm -f conftest.$ac_objext
6446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6447 (eval $ac_compile) 2>conftest.er1
6449 grep -v '^ *+' conftest.er1 >conftest.err
6451 cat conftest.err >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } &&
6454 { ac_try='test -z "$ac_c_werror_flag"
6455 || test ! -s conftest.err'
6456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); }; } &&
6461 { ac_try='test -s conftest.$ac_objext'
6462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); }; }; then
6469 cat >conftest.$ac_ext <<_ACEOF
6472 cat confdefs.h >>conftest.$ac_ext
6473 cat >>conftest.$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6479 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
6486 rm -f conftest.$ac_objext
6487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6488 (eval $ac_compile) 2>conftest.er1
6490 grep -v '^ *+' conftest.er1 >conftest.err
6492 cat conftest.err >&5
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); } &&
6495 { ac_try='test -z "$ac_c_werror_flag"
6496 || test ! -s conftest.err'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; } &&
6502 { ac_try='test -s conftest.$ac_objext'
6503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); }; }; then
6508 ac_lo=$ac_mid; break
6510 echo "$as_me: failed program was:" >&5
6511 sed 's/^/| /' conftest.$ac_ext >&5
6513 ac_hi=`expr '(' $ac_mid ')' - 1`
6514 if test $ac_mid -le $ac_hi; then
6518 ac_mid=`expr 2 '*' $ac_mid`
6520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6523 echo "$as_me: failed program was:" >&5
6524 sed 's/^/| /' conftest.$ac_ext >&5
6528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6531 # Binary search between lo and hi bounds.
6532 while test "x$ac_lo" != "x$ac_hi"; do
6533 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6534 cat >conftest.$ac_ext <<_ACEOF
6537 cat confdefs.h >>conftest.$ac_ext
6538 cat >>conftest.$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6544 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
6551 rm -f conftest.$ac_objext
6552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6553 (eval $ac_compile) 2>conftest.er1
6555 grep -v '^ *+' conftest.er1 >conftest.err
6557 cat conftest.err >&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } &&
6560 { ac_try='test -z "$ac_c_werror_flag"
6561 || test ! -s conftest.err'
6562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); }; } &&
6567 { ac_try='test -s conftest.$ac_objext'
6568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); }; }; then
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.$ac_ext >&5
6578 ac_lo=`expr '(' $ac_mid ')' + 1`
6580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6587 if test "$cross_compiling" = yes; then
6588 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6589 See \`config.log' for more details." >&5
6590 echo "$as_me: error: cannot run test program while cross compiling
6591 See \`config.log' for more details." >&2;}
6592 { (exit 1); exit 1; }; }
6594 cat >conftest.$ac_ext <<_ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6601 long longval () { return ~(size_t)0 / 10; }
6602 unsigned long ulongval () { return ~(size_t)0 / 10; }
6609 FILE *f = fopen ("conftest.val", "w");
6612 if ((~(size_t)0 / 10) < 0)
6614 long i = longval ();
6615 if (i != (~(size_t)0 / 10))
6617 fprintf (f, "%ld\n", i);
6621 unsigned long i = ulongval ();
6622 if (i != (~(size_t)0 / 10))
6624 fprintf (f, "%lu\n", i);
6626 exit (ferror (f) || fclose (f) != 0);
6632 rm -f conftest$ac_exeext
6633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6634 (eval $ac_link) 2>&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; }; then
6643 res_hi=`cat conftest.val`
6645 echo "$as_me: program exited with status $ac_status" >&5
6646 echo "$as_me: failed program was:" >&5
6647 sed 's/^/| /' conftest.$ac_ext >&5
6652 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6656 if test "$cross_compiling" = yes; then
6657 # Depending upon the size, compute the lo and hi bounds.
6658 cat >conftest.$ac_ext <<_ACEOF
6661 cat confdefs.h >>conftest.$ac_ext
6662 cat >>conftest.$ac_ext <<_ACEOF
6663 /* end confdefs.h. */
6668 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
6675 rm -f conftest.$ac_objext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6677 (eval $ac_compile) 2>conftest.er1
6679 grep -v '^ *+' conftest.er1 >conftest.err
6681 cat conftest.err >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try='test -z "$ac_c_werror_flag"
6685 || test ! -s conftest.err'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; } &&
6691 { ac_try='test -s conftest.$ac_objext'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; }; then
6699 cat >conftest.$ac_ext <<_ACEOF
6702 cat confdefs.h >>conftest.$ac_ext
6703 cat >>conftest.$ac_ext <<_ACEOF
6704 /* end confdefs.h. */
6709 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
6716 rm -f conftest.$ac_objext
6717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6718 (eval $ac_compile) 2>conftest.er1
6720 grep -v '^ *+' conftest.er1 >conftest.err
6722 cat conftest.err >&5
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); } &&
6725 { ac_try='test -z "$ac_c_werror_flag"
6726 || test ! -s conftest.err'
6727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 (exit $ac_status); }; } &&
6732 { ac_try='test -s conftest.$ac_objext'
6733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); }; }; then
6738 ac_hi=$ac_mid; break
6740 echo "$as_me: failed program was:" >&5
6741 sed 's/^/| /' conftest.$ac_ext >&5
6743 ac_lo=`expr $ac_mid + 1`
6744 if test $ac_lo -le $ac_mid; then
6748 ac_mid=`expr 2 '*' $ac_mid + 1`
6750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6753 echo "$as_me: failed program was:" >&5
6754 sed 's/^/| /' conftest.$ac_ext >&5
6756 cat >conftest.$ac_ext <<_ACEOF
6759 cat confdefs.h >>conftest.$ac_ext
6760 cat >>conftest.$ac_ext <<_ACEOF
6761 /* end confdefs.h. */
6766 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
6773 rm -f conftest.$ac_objext
6774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6775 (eval $ac_compile) 2>conftest.er1
6777 grep -v '^ *+' conftest.er1 >conftest.err
6779 cat conftest.err >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); } &&
6782 { ac_try='test -z "$ac_c_werror_flag"
6783 || test ! -s conftest.err'
6784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); }; } &&
6789 { ac_try='test -s conftest.$ac_objext'
6790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); }; }; then
6797 cat >conftest.$ac_ext <<_ACEOF
6800 cat confdefs.h >>conftest.$ac_ext
6801 cat >>conftest.$ac_ext <<_ACEOF
6802 /* end confdefs.h. */
6807 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
6814 rm -f conftest.$ac_objext
6815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6816 (eval $ac_compile) 2>conftest.er1
6818 grep -v '^ *+' conftest.er1 >conftest.err
6820 cat conftest.err >&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); } &&
6823 { ac_try='test -z "$ac_c_werror_flag"
6824 || test ! -s conftest.err'
6825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; } &&
6830 { ac_try='test -s conftest.$ac_objext'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; }; then
6836 ac_lo=$ac_mid; break
6838 echo "$as_me: failed program was:" >&5
6839 sed 's/^/| /' conftest.$ac_ext >&5
6841 ac_hi=`expr '(' $ac_mid ')' - 1`
6842 if test $ac_mid -le $ac_hi; then
6846 ac_mid=`expr 2 '*' $ac_mid`
6848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6851 echo "$as_me: failed program was:" >&5
6852 sed 's/^/| /' conftest.$ac_ext >&5
6856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6859 # Binary search between lo and hi bounds.
6860 while test "x$ac_lo" != "x$ac_hi"; do
6861 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6862 cat >conftest.$ac_ext <<_ACEOF
6865 cat confdefs.h >>conftest.$ac_ext
6866 cat >>conftest.$ac_ext <<_ACEOF
6867 /* end confdefs.h. */
6872 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
6879 rm -f conftest.$ac_objext
6880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6881 (eval $ac_compile) 2>conftest.er1
6883 grep -v '^ *+' conftest.er1 >conftest.err
6885 cat conftest.err >&5
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); } &&
6888 { ac_try='test -z "$ac_c_werror_flag"
6889 || test ! -s conftest.err'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; } &&
6895 { ac_try='test -s conftest.$ac_objext'
6896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; }; then
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.$ac_ext >&5
6906 ac_lo=`expr '(' $ac_mid ')' + 1`
6908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6915 if test "$cross_compiling" = yes; then
6916 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6917 See \`config.log' for more details." >&5
6918 echo "$as_me: error: cannot run test program while cross compiling
6919 See \`config.log' for more details." >&2;}
6920 { (exit 1); exit 1; }; }
6922 cat >conftest.$ac_ext <<_ACEOF
6925 cat confdefs.h >>conftest.$ac_ext
6926 cat >>conftest.$ac_ext <<_ACEOF
6927 /* end confdefs.h. */
6929 long longval () { return ~(size_t)0 % 10; }
6930 unsigned long ulongval () { return ~(size_t)0 % 10; }
6937 FILE *f = fopen ("conftest.val", "w");
6940 if ((~(size_t)0 % 10) < 0)
6942 long i = longval ();
6943 if (i != (~(size_t)0 % 10))
6945 fprintf (f, "%ld\n", i);
6949 unsigned long i = ulongval ();
6950 if (i != (~(size_t)0 % 10))
6952 fprintf (f, "%lu\n", i);
6954 exit (ferror (f) || fclose (f) != 0);
6960 rm -f conftest$ac_exeext
6961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6962 (eval $ac_link) 2>&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); }; }; then
6971 res_lo=`cat conftest.val`
6973 echo "$as_me: program exited with status $ac_status" >&5
6974 echo "$as_me: failed program was:" >&5
6975 sed 's/^/| /' conftest.$ac_ext >&5
6980 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6984 if test "$cross_compiling" = yes; then
6985 # Depending upon the size, compute the lo and hi bounds.
6986 cat >conftest.$ac_ext <<_ACEOF
6989 cat confdefs.h >>conftest.$ac_ext
6990 cat >>conftest.$ac_ext <<_ACEOF
6991 /* end confdefs.h. */
6996 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
7003 rm -f conftest.$ac_objext
7004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7005 (eval $ac_compile) 2>conftest.er1
7007 grep -v '^ *+' conftest.er1 >conftest.err
7009 cat conftest.err >&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } &&
7012 { ac_try='test -z "$ac_c_werror_flag"
7013 || test ! -s conftest.err'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; } &&
7019 { ac_try='test -s conftest.$ac_objext'
7020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); }; }; then
7027 cat >conftest.$ac_ext <<_ACEOF
7030 cat confdefs.h >>conftest.$ac_ext
7031 cat >>conftest.$ac_ext <<_ACEOF
7032 /* end confdefs.h. */
7037 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7044 rm -f conftest.$ac_objext
7045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7046 (eval $ac_compile) 2>conftest.er1
7048 grep -v '^ *+' conftest.er1 >conftest.err
7050 cat conftest.err >&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } &&
7053 { ac_try='test -z "$ac_c_werror_flag"
7054 || test ! -s conftest.err'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; } &&
7060 { ac_try='test -s conftest.$ac_objext'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; }; then
7066 ac_hi=$ac_mid; break
7068 echo "$as_me: failed program was:" >&5
7069 sed 's/^/| /' conftest.$ac_ext >&5
7071 ac_lo=`expr $ac_mid + 1`
7072 if test $ac_lo -le $ac_mid; then
7076 ac_mid=`expr 2 '*' $ac_mid + 1`
7078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 cat >conftest.$ac_ext <<_ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7094 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
7101 rm -f conftest.$ac_objext
7102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7103 (eval $ac_compile) 2>conftest.er1
7105 grep -v '^ *+' conftest.er1 >conftest.err
7107 cat conftest.err >&5
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); } &&
7110 { ac_try='test -z "$ac_c_werror_flag"
7111 || test ! -s conftest.err'
7112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); }; } &&
7117 { ac_try='test -s conftest.$ac_objext'
7118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); }; }; then
7125 cat >conftest.$ac_ext <<_ACEOF
7128 cat confdefs.h >>conftest.$ac_ext
7129 cat >>conftest.$ac_ext <<_ACEOF
7130 /* end confdefs.h. */
7135 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
7142 rm -f conftest.$ac_objext
7143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7144 (eval $ac_compile) 2>conftest.er1
7146 grep -v '^ *+' conftest.er1 >conftest.err
7148 cat conftest.err >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } &&
7151 { ac_try='test -z "$ac_c_werror_flag"
7152 || test ! -s conftest.err'
7153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); }; } &&
7158 { ac_try='test -s conftest.$ac_objext'
7159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); }; }; then
7164 ac_lo=$ac_mid; break
7166 echo "$as_me: failed program was:" >&5
7167 sed 's/^/| /' conftest.$ac_ext >&5
7169 ac_hi=`expr '(' $ac_mid ')' - 1`
7170 if test $ac_mid -le $ac_hi; then
7174 ac_mid=`expr 2 '*' $ac_mid`
7176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7179 echo "$as_me: failed program was:" >&5
7180 sed 's/^/| /' conftest.$ac_ext >&5
7184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7187 # Binary search between lo and hi bounds.
7188 while test "x$ac_lo" != "x$ac_hi"; do
7189 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7190 cat >conftest.$ac_ext <<_ACEOF
7193 cat confdefs.h >>conftest.$ac_ext
7194 cat >>conftest.$ac_ext <<_ACEOF
7195 /* end confdefs.h. */
7200 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7207 rm -f conftest.$ac_objext
7208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7209 (eval $ac_compile) 2>conftest.er1
7211 grep -v '^ *+' conftest.er1 >conftest.err
7213 cat conftest.err >&5
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); } &&
7216 { ac_try='test -z "$ac_c_werror_flag"
7217 || test ! -s conftest.err'
7218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; } &&
7223 { ac_try='test -s conftest.$ac_objext'
7224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); }; }; then
7231 echo "$as_me: failed program was:" >&5
7232 sed 's/^/| /' conftest.$ac_ext >&5
7234 ac_lo=`expr '(' $ac_mid ')' + 1`
7236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7239 ?*) fits_in_uint=$ac_lo;;
7243 if test "$cross_compiling" = yes; then
7244 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7245 See \`config.log' for more details." >&5
7246 echo "$as_me: error: cannot run test program while cross compiling
7247 See \`config.log' for more details." >&2;}
7248 { (exit 1); exit 1; }; }
7250 cat >conftest.$ac_ext <<_ACEOF
7253 cat confdefs.h >>conftest.$ac_ext
7254 cat >>conftest.$ac_ext <<_ACEOF
7255 /* end confdefs.h. */
7257 long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
7258 unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
7265 FILE *f = fopen ("conftest.val", "w");
7268 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
7270 long i = longval ();
7271 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
7273 fprintf (f, "%ld\n", i);
7277 unsigned long i = ulongval ();
7278 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
7280 fprintf (f, "%lu\n", i);
7282 exit (ferror (f) || fclose (f) != 0);
7288 rm -f conftest$ac_exeext
7289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7290 (eval $ac_link) 2>&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); }; }; then
7299 fits_in_uint=`cat conftest.val`
7301 echo "$as_me: program exited with status $ac_status" >&5
7302 echo "$as_me: failed program was:" >&5
7303 sed 's/^/| /' conftest.$ac_ext >&5
7308 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7312 if test "$fits_in_uint" = 1; then
7313 cat >conftest.$ac_ext <<_ACEOF
7316 cat confdefs.h >>conftest.$ac_ext
7317 cat >>conftest.$ac_ext <<_ACEOF
7318 /* end confdefs.h. */
7321 extern unsigned long foo;
7331 rm -f conftest.$ac_objext
7332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7333 (eval $ac_compile) 2>conftest.er1
7335 grep -v '^ *+' conftest.er1 >conftest.err
7337 cat conftest.err >&5
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); } &&
7340 { ac_try='test -z "$ac_c_werror_flag"
7341 || test ! -s conftest.err'
7342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 (exit $ac_status); }; } &&
7347 { ac_try='test -s conftest.$ac_objext'
7348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); }; }; then
7355 echo "$as_me: failed program was:" >&5
7356 sed 's/^/| /' conftest.$ac_ext >&5
7359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7361 if test -z "$result"; then
7362 if test "$fits_in_uint" = 1; then
7363 result="$res_hi$res_lo"U
7365 result="$res_hi$res_lo"UL
7371 echo "$as_me:$LINENO: result: $result" >&5
7372 echo "${ECHO_T}$result" >&6
7373 if test "$result" != yes; then
7375 cat >>confdefs.h <<_ACEOF
7376 #define SIZE_MAX $result
7381 echo "$as_me:$LINENO: checking for inline" >&5
7382 echo $ECHO_N "checking for inline... $ECHO_C" >&6
7383 if test "${ac_cv_c_inline+set}" = set; then
7384 echo $ECHO_N "(cached) $ECHO_C" >&6
7387 for ac_kw in inline __inline__ __inline; do
7388 cat >conftest.$ac_ext <<_ACEOF
7391 cat confdefs.h >>conftest.$ac_ext
7392 cat >>conftest.$ac_ext <<_ACEOF
7393 /* end confdefs.h. */
7396 static $ac_kw foo_t static_foo () {return 0; }
7397 $ac_kw foo_t foo () {return 0; }
7401 rm -f conftest.$ac_objext
7402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7403 (eval $ac_compile) 2>conftest.er1
7405 grep -v '^ *+' conftest.er1 >conftest.err
7407 cat conftest.err >&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); } &&
7410 { ac_try='test -z "$ac_c_werror_flag"
7411 || test ! -s conftest.err'
7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); }; } &&
7417 { ac_try='test -s conftest.$ac_objext'
7418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); }; }; then
7423 ac_cv_c_inline=$ac_kw; break
7425 echo "$as_me: failed program was:" >&5
7426 sed 's/^/| /' conftest.$ac_ext >&5
7429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7433 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7434 echo "${ECHO_T}$ac_cv_c_inline" >&6
7437 case $ac_cv_c_inline in
7440 case $ac_cv_c_inline in
7442 *) ac_val=$ac_cv_c_inline;;
7444 cat >>confdefs.h <<_ACEOF
7446 #define inline $ac_val
7456 for ac_header in stdint.h
7458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7460 echo "$as_me:$LINENO: checking for $ac_header" >&5
7461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7463 echo $ECHO_N "(cached) $ECHO_C" >&6
7465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7468 # Is the header compilable?
7469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7471 cat >conftest.$ac_ext <<_ACEOF
7474 cat confdefs.h >>conftest.$ac_ext
7475 cat >>conftest.$ac_ext <<_ACEOF
7476 /* end confdefs.h. */
7477 $ac_includes_default
7478 #include <$ac_header>
7480 rm -f conftest.$ac_objext
7481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7482 (eval $ac_compile) 2>conftest.er1
7484 grep -v '^ *+' conftest.er1 >conftest.err
7486 cat conftest.err >&5
7487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 (exit $ac_status); } &&
7489 { ac_try='test -z "$ac_c_werror_flag"
7490 || test ! -s conftest.err'
7491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); }; } &&
7496 { ac_try='test -s conftest.$ac_objext'
7497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); }; }; then
7502 ac_header_compiler=yes
7504 echo "$as_me: failed program was:" >&5
7505 sed 's/^/| /' conftest.$ac_ext >&5
7507 ac_header_compiler=no
7509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7511 echo "${ECHO_T}$ac_header_compiler" >&6
7513 # Is the header present?
7514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7516 cat >conftest.$ac_ext <<_ACEOF
7519 cat confdefs.h >>conftest.$ac_ext
7520 cat >>conftest.$ac_ext <<_ACEOF
7521 /* end confdefs.h. */
7522 #include <$ac_header>
7524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7525 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7527 grep -v '^ *+' conftest.er1 >conftest.err
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } >/dev/null; then
7532 if test -s conftest.err; then
7533 ac_cpp_err=$ac_c_preproc_warn_flag
7534 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7541 if test -z "$ac_cpp_err"; then
7542 ac_header_preproc=yes
7544 echo "$as_me: failed program was:" >&5
7545 sed 's/^/| /' conftest.$ac_ext >&5
7547 ac_header_preproc=no
7549 rm -f conftest.err conftest.$ac_ext
7550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7551 echo "${ECHO_T}$ac_header_preproc" >&6
7553 # So? What about this header?
7554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7560 ac_header_preproc=yes
7563 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7565 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7566 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7567 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7569 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7570 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7573 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7577 ## --------------------------------- ##
7578 ## Report this to bug-cvs@nongnu.org ##
7579 ## --------------------------------- ##
7582 sed "s/^/$as_me: WARNING: /" >&2
7585 echo "$as_me:$LINENO: checking for $ac_header" >&5
7586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7588 echo $ECHO_N "(cached) $ECHO_C" >&6
7590 eval "$as_ac_Header=\$ac_header_preproc"
7592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7597 cat >>confdefs.h <<_ACEOF
7598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7608 cat >>confdefs.h <<\_ACEOF
7609 #define getpass cvs_getpass
7681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7682 echo "$as_me:$LINENO: checking for $ac_func" >&5
7683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7684 if eval "test \"\${$as_ac_var+set}\" = set"; then
7685 echo $ECHO_N "(cached) $ECHO_C" >&6
7687 cat >conftest.$ac_ext <<_ACEOF
7690 cat confdefs.h >>conftest.$ac_ext
7691 cat >>conftest.$ac_ext <<_ACEOF
7692 /* end confdefs.h. */
7693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7695 #define $ac_func innocuous_$ac_func
7697 /* System header to define __stub macros and hopefully few prototypes,
7698 which can conflict with char $ac_func (); below.
7699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7700 <limits.h> exists even on freestanding compilers. */
7703 # include <limits.h>
7705 # include <assert.h>
7710 /* Override any gcc2 internal prototype to avoid an error. */
7715 /* We use char because int might match the return type of a gcc2
7716 builtin and then its argument prototype would still apply. */
7718 /* The GNU C library defines this for functions which it implements
7719 to always fail with ENOSYS. Some functions are actually named
7720 something starting with __ and the normal name is an alias. */
7721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7724 char (*f) () = $ac_func;
7733 return f != $ac_func;
7738 rm -f conftest.$ac_objext conftest$ac_exeext
7739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7740 (eval $ac_link) 2>conftest.er1
7742 grep -v '^ *+' conftest.er1 >conftest.err
7744 cat conftest.err >&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); } &&
7747 { ac_try='test -z "$ac_c_werror_flag"
7748 || test ! -s conftest.err'
7749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; } &&
7754 { ac_try='test -s conftest$ac_exeext'
7755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 (exit $ac_status); }; }; then
7760 eval "$as_ac_var=yes"
7762 echo "$as_me: failed program was:" >&5
7763 sed 's/^/| /' conftest.$ac_ext >&5
7765 eval "$as_ac_var=no"
7767 rm -f conftest.err conftest.$ac_objext \
7768 conftest$ac_exeext conftest.$ac_ext
7770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7772 if test `eval echo '${'$as_ac_var'}'` = yes; then
7773 cat >>confdefs.h <<_ACEOF
7774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7780 # we only need one of the following
7790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7791 echo "$as_me:$LINENO: checking for $ac_func" >&5
7792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7793 if eval "test \"\${$as_ac_var+set}\" = set"; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 cat >conftest.$ac_ext <<_ACEOF
7799 cat confdefs.h >>conftest.$ac_ext
7800 cat >>conftest.$ac_ext <<_ACEOF
7801 /* end confdefs.h. */
7802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7804 #define $ac_func innocuous_$ac_func
7806 /* System header to define __stub macros and hopefully few prototypes,
7807 which can conflict with char $ac_func (); below.
7808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7809 <limits.h> exists even on freestanding compilers. */
7812 # include <limits.h>
7814 # include <assert.h>
7819 /* Override any gcc2 internal prototype to avoid an error. */
7824 /* We use char because int might match the return type of a gcc2
7825 builtin and then its argument prototype would still apply. */
7827 /* The GNU C library defines this for functions which it implements
7828 to always fail with ENOSYS. Some functions are actually named
7829 something starting with __ and the normal name is an alias. */
7830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7833 char (*f) () = $ac_func;
7842 return f != $ac_func;
7847 rm -f conftest.$ac_objext conftest$ac_exeext
7848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7849 (eval $ac_link) 2>conftest.er1
7851 grep -v '^ *+' conftest.er1 >conftest.err
7853 cat conftest.err >&5
7854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7855 (exit $ac_status); } &&
7856 { ac_try='test -z "$ac_c_werror_flag"
7857 || test ! -s conftest.err'
7858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); }; } &&
7863 { ac_try='test -s conftest$ac_exeext'
7864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); }; }; then
7869 eval "$as_ac_var=yes"
7871 echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.$ac_ext >&5
7874 eval "$as_ac_var=no"
7876 rm -f conftest.err conftest.$ac_objext \
7877 conftest$ac_exeext conftest.$ac_ext
7879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7881 if test `eval echo '${'$as_ac_var'}'` = yes; then
7882 cat >>confdefs.h <<_ACEOF
7883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7891 cat >>confdefs.h <<\_ACEOF
7892 #define HAVE_STRCHR 1
7896 cat >>confdefs.h <<\_ACEOF
7897 #define HAVE_MEMCHR 1
7902 cat >>confdefs.h <<\_ACEOF
7903 #define REGEX_MALLOC 1
7907 cat >>confdefs.h <<\_ACEOF
7908 #define _REGEX_RE_COMP 1
7913 for ac_header in unistd.h vfork.h
7915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7917 echo "$as_me:$LINENO: checking for $ac_header" >&5
7918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7920 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7925 # Is the header compilable?
7926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7928 cat >conftest.$ac_ext <<_ACEOF
7931 cat confdefs.h >>conftest.$ac_ext
7932 cat >>conftest.$ac_ext <<_ACEOF
7933 /* end confdefs.h. */
7934 $ac_includes_default
7935 #include <$ac_header>
7937 rm -f conftest.$ac_objext
7938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7939 (eval $ac_compile) 2>conftest.er1
7941 grep -v '^ *+' conftest.er1 >conftest.err
7943 cat conftest.err >&5
7944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945 (exit $ac_status); } &&
7946 { ac_try='test -z "$ac_c_werror_flag"
7947 || test ! -s conftest.err'
7948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952 (exit $ac_status); }; } &&
7953 { ac_try='test -s conftest.$ac_objext'
7954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 (exit $ac_status); }; }; then
7959 ac_header_compiler=yes
7961 echo "$as_me: failed program was:" >&5
7962 sed 's/^/| /' conftest.$ac_ext >&5
7964 ac_header_compiler=no
7966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7967 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7968 echo "${ECHO_T}$ac_header_compiler" >&6
7970 # Is the header present?
7971 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7972 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7973 cat >conftest.$ac_ext <<_ACEOF
7976 cat confdefs.h >>conftest.$ac_ext
7977 cat >>conftest.$ac_ext <<_ACEOF
7978 /* end confdefs.h. */
7979 #include <$ac_header>
7981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7982 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7984 grep -v '^ *+' conftest.er1 >conftest.err
7986 cat conftest.err >&5
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 (exit $ac_status); } >/dev/null; then
7989 if test -s conftest.err; then
7990 ac_cpp_err=$ac_c_preproc_warn_flag
7991 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7998 if test -z "$ac_cpp_err"; then
7999 ac_header_preproc=yes
8001 echo "$as_me: failed program was:" >&5
8002 sed 's/^/| /' conftest.$ac_ext >&5
8004 ac_header_preproc=no
8006 rm -f conftest.err conftest.$ac_ext
8007 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8008 echo "${ECHO_T}$ac_header_preproc" >&6
8010 # So? What about this header?
8011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8013 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8014 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8016 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8017 ac_header_preproc=yes
8020 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8022 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8023 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8024 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8025 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8026 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8027 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8029 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8030 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8031 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8034 ## --------------------------------- ##
8035 ## Report this to bug-cvs@nongnu.org ##
8036 ## --------------------------------- ##
8039 sed "s/^/$as_me: WARNING: /" >&2
8042 echo "$as_me:$LINENO: checking for $ac_header" >&5
8043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8045 echo $ECHO_N "(cached) $ECHO_C" >&6
8047 eval "$as_ac_Header=\$ac_header_preproc"
8049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8054 cat >>confdefs.h <<_ACEOF
8055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8064 for ac_func in fork vfork
8066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8067 echo "$as_me:$LINENO: checking for $ac_func" >&5
8068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8069 if eval "test \"\${$as_ac_var+set}\" = set"; then
8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8072 cat >conftest.$ac_ext <<_ACEOF
8075 cat confdefs.h >>conftest.$ac_ext
8076 cat >>conftest.$ac_ext <<_ACEOF
8077 /* end confdefs.h. */
8078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8080 #define $ac_func innocuous_$ac_func
8082 /* System header to define __stub macros and hopefully few prototypes,
8083 which can conflict with char $ac_func (); below.
8084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8085 <limits.h> exists even on freestanding compilers. */
8088 # include <limits.h>
8090 # include <assert.h>
8095 /* Override any gcc2 internal prototype to avoid an error. */
8100 /* We use char because int might match the return type of a gcc2
8101 builtin and then its argument prototype would still apply. */
8103 /* The GNU C library defines this for functions which it implements
8104 to always fail with ENOSYS. Some functions are actually named
8105 something starting with __ and the normal name is an alias. */
8106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8109 char (*f) () = $ac_func;
8118 return f != $ac_func;
8123 rm -f conftest.$ac_objext conftest$ac_exeext
8124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8125 (eval $ac_link) 2>conftest.er1
8127 grep -v '^ *+' conftest.er1 >conftest.err
8129 cat conftest.err >&5
8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131 (exit $ac_status); } &&
8132 { ac_try='test -z "$ac_c_werror_flag"
8133 || test ! -s conftest.err'
8134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138 (exit $ac_status); }; } &&
8139 { ac_try='test -s conftest$ac_exeext'
8140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); }; }; then
8145 eval "$as_ac_var=yes"
8147 echo "$as_me: failed program was:" >&5
8148 sed 's/^/| /' conftest.$ac_ext >&5
8150 eval "$as_ac_var=no"
8152 rm -f conftest.err conftest.$ac_objext \
8153 conftest$ac_exeext conftest.$ac_ext
8155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8157 if test `eval echo '${'$as_ac_var'}'` = yes; then
8158 cat >>confdefs.h <<_ACEOF
8159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8165 if test "x$ac_cv_func_fork" = xyes; then
8166 echo "$as_me:$LINENO: checking for working fork" >&5
8167 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
8168 if test "${ac_cv_func_fork_works+set}" = set; then
8169 echo $ECHO_N "(cached) $ECHO_C" >&6
8171 if test "$cross_compiling" = yes; then
8172 ac_cv_func_fork_works=cross
8174 cat >conftest.$ac_ext <<_ACEOF
8175 /* By Ruediger Kuhlmann. */
8176 #include <sys/types.h>
8178 # include <unistd.h>
8180 /* Some systems only have a dummy stub for fork() */
8188 rm -f conftest$ac_exeext
8189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8190 (eval $ac_link) 2>&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); }; }; then
8199 ac_cv_func_fork_works=yes
8201 echo "$as_me: program exited with status $ac_status" >&5
8202 echo "$as_me: failed program was:" >&5
8203 sed 's/^/| /' conftest.$ac_ext >&5
8206 ac_cv_func_fork_works=no
8208 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8211 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
8212 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
8215 ac_cv_func_fork_works=$ac_cv_func_fork
8217 if test "x$ac_cv_func_fork_works" = xcross; then
8219 *-*-amigaos* | *-*-msdosdjgpp*)
8220 # Override, as these systems have only a dummy fork() stub
8221 ac_cv_func_fork_works=no
8224 ac_cv_func_fork_works=yes
8227 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
8228 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
8230 ac_cv_func_vfork_works=$ac_cv_func_vfork
8231 if test "x$ac_cv_func_vfork" = xyes; then
8232 echo "$as_me:$LINENO: checking for working vfork" >&5
8233 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
8234 if test "${ac_cv_func_vfork_works+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 if test "$cross_compiling" = yes; then
8238 ac_cv_func_vfork_works=cross
8240 cat >conftest.$ac_ext <<_ACEOF
8243 cat confdefs.h >>conftest.$ac_ext
8244 cat >>conftest.$ac_ext <<_ACEOF
8245 /* end confdefs.h. */
8246 /* Thanks to Paul Eggert for this test. */
8249 #include <sys/types.h>
8250 #include <sys/stat.h>
8251 #include <sys/wait.h>
8253 # include <unistd.h>
8258 /* On some sparc systems, changes by the child to local and incoming
8259 argument registers are propagated back to the parent. The compiler
8260 is told about this with #include <vfork.h>, but some compilers
8261 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
8262 static variable whose address is put into a register that is
8263 clobbered by the vfork. */
8266 sparc_address_test (int arg)
8268 sparc_address_test (arg) int arg;
8289 pid_t parent = getpid ();
8292 sparc_address_test (0);
8297 /* Here is another test for sparc vfork register problems. This
8298 test uses lots of local variables, at least as many local
8299 variables as main has allocated so far including compiler
8300 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
8301 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
8302 reuse the register of parent for one of the local variables,
8303 since it will think that parent can't possibly be used any more
8304 in this routine. Assigning to the local variable will thus
8305 munge parent in the parent process. */
8307 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
8308 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
8309 /* Convince the compiler that p..p7 are live; otherwise, it might
8310 use the same hardware register for all 8 local variables. */
8311 if (p != p1 || p != p2 || p != p3 || p != p4
8312 || p != p5 || p != p6 || p != p7)
8315 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
8316 from child file descriptors. If the child closes a descriptor
8317 before it execs or exits, this munges the parent's descriptor
8318 as well. Test for this by closing stdout in the child. */
8319 _exit(close(fileno(stdout)) != 0);
8324 while (wait(&status) != child)
8327 /* Was there some problem with vforking? */
8330 /* Did the child fail? (This shouldn't happen.) */
8333 /* Did the vfork/compiler bug occur? */
8334 || parent != getpid()
8336 /* Did the file descriptor bug occur? */
8337 || fstat(fileno(stdout), &st) != 0
8342 rm -f conftest$ac_exeext
8343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8344 (eval $ac_link) 2>&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); }; }; then
8353 ac_cv_func_vfork_works=yes
8355 echo "$as_me: program exited with status $ac_status" >&5
8356 echo "$as_me: failed program was:" >&5
8357 sed 's/^/| /' conftest.$ac_ext >&5
8360 ac_cv_func_vfork_works=no
8362 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8365 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
8366 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
8369 if test "x$ac_cv_func_fork_works" = xcross; then
8370 ac_cv_func_vfork_works=$ac_cv_func_vfork
8371 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
8372 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
8375 if test "x$ac_cv_func_vfork_works" = xyes; then
8377 cat >>confdefs.h <<\_ACEOF
8378 #define HAVE_WORKING_VFORK 1
8383 cat >>confdefs.h <<\_ACEOF
8388 if test "x$ac_cv_func_fork_works" = xyes; then
8390 cat >>confdefs.h <<\_ACEOF
8391 #define HAVE_WORKING_FORK 1
8396 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8397 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
8398 if test "${ac_cv_func_closedir_void+set}" = set; then
8399 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 if test "$cross_compiling" = yes; then
8402 ac_cv_func_closedir_void=yes
8404 cat >conftest.$ac_ext <<_ACEOF
8407 cat confdefs.h >>conftest.$ac_ext
8408 cat >>conftest.$ac_ext <<_ACEOF
8409 /* end confdefs.h. */
8410 $ac_includes_default
8411 #include <$ac_header_dirent>
8419 exit (closedir (opendir (".")) != 0);
8424 rm -f conftest$ac_exeext
8425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8426 (eval $ac_link) 2>&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; }; then
8435 ac_cv_func_closedir_void=no
8437 echo "$as_me: program exited with status $ac_status" >&5
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.$ac_ext >&5
8442 ac_cv_func_closedir_void=yes
8444 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8447 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8448 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
8449 if test $ac_cv_func_closedir_void = yes; then
8451 cat >>confdefs.h <<\_ACEOF
8452 #define CLOSEDIR_VOID 1
8458 echo "$as_me:$LINENO: checking for library containing getspnam" >&5
8459 echo $ECHO_N "checking for library containing getspnam... $ECHO_C" >&6
8460 if test "${ac_cv_search_getspnam+set}" = set; then
8461 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 ac_func_search_save_LIBS=$LIBS
8464 ac_cv_search_getspnam=no
8465 cat >conftest.$ac_ext <<_ACEOF
8468 cat confdefs.h >>conftest.$ac_ext
8469 cat >>conftest.$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8472 /* Override any gcc2 internal prototype to avoid an error. */
8476 /* We use char because int might match the return type of a gcc2
8477 builtin and then its argument prototype would still apply. */
8487 rm -f conftest.$ac_objext conftest$ac_exeext
8488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8489 (eval $ac_link) 2>conftest.er1
8491 grep -v '^ *+' conftest.er1 >conftest.err
8493 cat conftest.err >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); } &&
8496 { ac_try='test -z "$ac_c_werror_flag"
8497 || test ! -s conftest.err'
8498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); }; } &&
8503 { ac_try='test -s conftest$ac_exeext'
8504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); }; }; then
8509 ac_cv_search_getspnam="none required"
8511 echo "$as_me: failed program was:" >&5
8512 sed 's/^/| /' conftest.$ac_ext >&5
8515 rm -f conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 if test "$ac_cv_search_getspnam" = no; then
8518 for ac_lib in sec gen; do
8519 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8520 cat >conftest.$ac_ext <<_ACEOF
8523 cat confdefs.h >>conftest.$ac_ext
8524 cat >>conftest.$ac_ext <<_ACEOF
8525 /* end confdefs.h. */
8527 /* Override any gcc2 internal prototype to avoid an error. */
8531 /* We use char because int might match the return type of a gcc2
8532 builtin and then its argument prototype would still apply. */
8542 rm -f conftest.$ac_objext conftest$ac_exeext
8543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8544 (eval $ac_link) 2>conftest.er1
8546 grep -v '^ *+' conftest.er1 >conftest.err
8548 cat conftest.err >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } &&
8551 { ac_try='test -z "$ac_c_werror_flag"
8552 || test ! -s conftest.err'
8553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); }; } &&
8558 { ac_try='test -s conftest$ac_exeext'
8559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); }; }; then
8564 ac_cv_search_getspnam="-l$ac_lib"
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.$ac_ext >&5
8571 rm -f conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8575 LIBS=$ac_func_search_save_LIBS
8577 echo "$as_me:$LINENO: result: $ac_cv_search_getspnam" >&5
8578 echo "${ECHO_T}$ac_cv_search_getspnam" >&6
8579 if test "$ac_cv_search_getspnam" != no; then
8580 test "$ac_cv_search_getspnam" = "none required" || LIBS="$ac_cv_search_getspnam $LIBS"
8582 cat >>confdefs.h <<\_ACEOF
8583 #define HAVE_GETSPNAM 1
8589 echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
8590 echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6
8591 if test "${ac_cv_func_utime_null+set}" = set; then
8592 echo $ECHO_N "(cached) $ECHO_C" >&6
8594 rm -f conftest.data; >conftest.data
8595 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
8596 if test "$cross_compiling" = yes; then
8597 ac_cv_func_utime_null=no
8599 cat >conftest.$ac_ext <<_ACEOF
8602 cat confdefs.h >>conftest.$ac_ext
8603 cat >>conftest.$ac_ext <<_ACEOF
8604 /* end confdefs.h. */
8605 $ac_includes_default
8610 exit (!(stat ("conftest.data", &s) == 0
8611 && utime ("conftest.data", (long *)0) == 0
8612 && stat ("conftest.data", &t) == 0
8613 && t.st_mtime >= s.st_mtime
8614 && t.st_mtime - s.st_mtime < 120));
8619 rm -f conftest$ac_exeext
8620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8621 (eval $ac_link) 2>&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); }; }; then
8630 ac_cv_func_utime_null=yes
8632 echo "$as_me: program exited with status $ac_status" >&5
8633 echo "$as_me: failed program was:" >&5
8634 sed 's/^/| /' conftest.$ac_ext >&5
8637 ac_cv_func_utime_null=no
8639 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8643 echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
8644 echo "${ECHO_T}$ac_cv_func_utime_null" >&6
8645 if test $ac_cv_func_utime_null = yes; then
8647 cat >>confdefs.h <<\_ACEOF
8648 #define HAVE_UTIME_NULL 1
8654 echo "$as_me:$LINENO: checking for long file names" >&5
8655 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
8656 if test "${ac_cv_sys_long_file_names+set}" = set; then
8657 echo $ECHO_N "(cached) $ECHO_C" >&6
8659 ac_cv_sys_long_file_names=yes
8660 # Test for long file names in all the places we know might matter:
8661 # . the current directory, where building will happen
8662 # $prefix/lib where we will be installing things
8663 # $exec_prefix/lib likewise
8664 # eval it to expand exec_prefix.
8665 # $TMPDIR if set, where it might want to write temporary files
8666 # if $TMPDIR is not set:
8667 # /tmp where it might want to write temporary files
8670 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
8673 ac_tmpdirs='/tmp /var/tmp /usr/tmp'
8675 for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
8676 test -d $ac_dir || continue
8677 test -w $ac_dir || continue # It is less confusing to not echo anything here.
8678 ac_xdir=$ac_dir/cf$$
8679 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
8680 ac_tf1=$ac_xdir/conftest9012345
8681 ac_tf2=$ac_xdir/conftest9012346
8682 (echo 1 >$ac_tf1) 2>/dev/null
8683 (echo 2 >$ac_tf2) 2>/dev/null
8684 ac_val=`cat $ac_tf1 2>/dev/null`
8685 if test ! -f $ac_tf1 || test "$ac_val" != 1; then
8686 ac_cv_sys_long_file_names=no
8687 rm -rf $ac_xdir 2>/dev/null
8690 rm -rf $ac_xdir 2>/dev/null
8693 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
8694 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
8695 if test $ac_cv_sys_long_file_names = yes; then
8697 cat >>confdefs.h <<\_ACEOF
8698 #define HAVE_LONG_FILE_NAMES 1
8704 echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5
8705 echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6
8706 if test "${ac_cv_func_fnmatch_works+set}" = set; then
8707 echo $ECHO_N "(cached) $ECHO_C" >&6
8709 # Some versions of Solaris, SCO, and the GNU C Library
8710 # have a broken or incompatible fnmatch.
8711 # So we run a test program. If we are cross-compiling, take no chance.
8712 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
8713 if test "$cross_compiling" = yes; then
8714 ac_cv_func_fnmatch_works=cross
8716 cat >conftest.$ac_ext <<_ACEOF
8719 cat confdefs.h >>conftest.$ac_ext
8720 cat >>conftest.$ac_ext <<_ACEOF
8721 /* end confdefs.h. */
8722 #include <fnmatch.h>
8723 # define y(a, b, c) (fnmatch (a, b, c) == 0)
8724 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
8730 (!(y ("a*", "abc", 0)
8731 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
8732 && y ("a\\\\bc", "abc", 0)
8733 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
8734 && y ("*x", ".x", 0)
8735 && n ("*x", ".x", FNM_PERIOD)
8741 rm -f conftest$ac_exeext
8742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8743 (eval $ac_link) 2>&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8751 (exit $ac_status); }; }; then
8752 ac_cv_func_fnmatch_works=yes
8754 echo "$as_me: program exited with status $ac_status" >&5
8755 echo "$as_me: failed program was:" >&5
8756 sed 's/^/| /' conftest.$ac_ext >&5
8759 ac_cv_func_fnmatch_works=no
8761 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8764 echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5
8765 echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6
8766 if test $ac_cv_func_fnmatch_works = yes; then
8768 cat >>confdefs.h <<\_ACEOF
8769 #define HAVE_FNMATCH 1
8776 if test "$ac_cv_func_fnmatch_works" = no; then
8778 "fnmatch.$ac_objext" | \
8779 *" fnmatch.$ac_objext" | \
8780 "fnmatch.$ac_objext "* | \
8781 *" fnmatch.$ac_objext "* ) ;;
8782 *) LIBOBJS="$LIBOBJS fnmatch.$ac_objext" ;;
8785 ac_config_links="$ac_config_links lib/fnmatch.h:lib/fnmatch.h.in"
8792 for ac_header in stdlib.h unistd.h
8794 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8796 echo "$as_me:$LINENO: checking for $ac_header" >&5
8797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8804 # Is the header compilable?
8805 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8807 cat >conftest.$ac_ext <<_ACEOF
8810 cat confdefs.h >>conftest.$ac_ext
8811 cat >>conftest.$ac_ext <<_ACEOF
8812 /* end confdefs.h. */
8813 $ac_includes_default
8814 #include <$ac_header>
8816 rm -f conftest.$ac_objext
8817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8818 (eval $ac_compile) 2>conftest.er1
8820 grep -v '^ *+' conftest.er1 >conftest.err
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } &&
8825 { ac_try='test -z "$ac_c_werror_flag"
8826 || test ! -s conftest.err'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; } &&
8832 { ac_try='test -s conftest.$ac_objext'
8833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); }; }; then
8838 ac_header_compiler=yes
8840 echo "$as_me: failed program was:" >&5
8841 sed 's/^/| /' conftest.$ac_ext >&5
8843 ac_header_compiler=no
8845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8846 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8847 echo "${ECHO_T}$ac_header_compiler" >&6
8849 # Is the header present?
8850 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8851 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8852 cat >conftest.$ac_ext <<_ACEOF
8855 cat confdefs.h >>conftest.$ac_ext
8856 cat >>conftest.$ac_ext <<_ACEOF
8857 /* end confdefs.h. */
8858 #include <$ac_header>
8860 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8861 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8863 grep -v '^ *+' conftest.er1 >conftest.err
8865 cat conftest.err >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); } >/dev/null; then
8868 if test -s conftest.err; then
8869 ac_cpp_err=$ac_c_preproc_warn_flag
8870 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8877 if test -z "$ac_cpp_err"; then
8878 ac_header_preproc=yes
8880 echo "$as_me: failed program was:" >&5
8881 sed 's/^/| /' conftest.$ac_ext >&5
8883 ac_header_preproc=no
8885 rm -f conftest.err conftest.$ac_ext
8886 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8887 echo "${ECHO_T}$ac_header_preproc" >&6
8889 # So? What about this header?
8890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8893 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8895 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8896 ac_header_preproc=yes
8899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8903 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8904 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8905 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8906 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8909 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8910 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8913 ## --------------------------------- ##
8914 ## Report this to bug-cvs@nongnu.org ##
8915 ## --------------------------------- ##
8918 sed "s/^/$as_me: WARNING: /" >&2
8921 echo "$as_me:$LINENO: checking for $ac_header" >&5
8922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8924 echo $ECHO_N "(cached) $ECHO_C" >&6
8926 eval "$as_ac_Header=\$ac_header_preproc"
8928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8933 cat >>confdefs.h <<_ACEOF
8934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8942 for ac_func in getpagesize
8944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8945 echo "$as_me:$LINENO: checking for $ac_func" >&5
8946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8947 if eval "test \"\${$as_ac_var+set}\" = set"; then
8948 echo $ECHO_N "(cached) $ECHO_C" >&6
8950 cat >conftest.$ac_ext <<_ACEOF
8953 cat confdefs.h >>conftest.$ac_ext
8954 cat >>conftest.$ac_ext <<_ACEOF
8955 /* end confdefs.h. */
8956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8958 #define $ac_func innocuous_$ac_func
8960 /* System header to define __stub macros and hopefully few prototypes,
8961 which can conflict with char $ac_func (); below.
8962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8963 <limits.h> exists even on freestanding compilers. */
8966 # include <limits.h>
8968 # include <assert.h>
8973 /* Override any gcc2 internal prototype to avoid an error. */
8978 /* We use char because int might match the return type of a gcc2
8979 builtin and then its argument prototype would still apply. */
8981 /* The GNU C library defines this for functions which it implements
8982 to always fail with ENOSYS. Some functions are actually named
8983 something starting with __ and the normal name is an alias. */
8984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8987 char (*f) () = $ac_func;
8996 return f != $ac_func;
9001 rm -f conftest.$ac_objext conftest$ac_exeext
9002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9003 (eval $ac_link) 2>conftest.er1
9005 grep -v '^ *+' conftest.er1 >conftest.err
9007 cat conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); } &&
9010 { ac_try='test -z "$ac_c_werror_flag"
9011 || test ! -s conftest.err'
9012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); }; } &&
9017 { ac_try='test -s conftest$ac_exeext'
9018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 (exit $ac_status); }; }; then
9023 eval "$as_ac_var=yes"
9025 echo "$as_me: failed program was:" >&5
9026 sed 's/^/| /' conftest.$ac_ext >&5
9028 eval "$as_ac_var=no"
9030 rm -f conftest.err conftest.$ac_objext \
9031 conftest$ac_exeext conftest.$ac_ext
9033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9035 if test `eval echo '${'$as_ac_var'}'` = yes; then
9036 cat >>confdefs.h <<_ACEOF
9037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9043 echo "$as_me:$LINENO: checking for working mmap" >&5
9044 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
9045 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9046 echo $ECHO_N "(cached) $ECHO_C" >&6
9048 if test "$cross_compiling" = yes; then
9049 ac_cv_func_mmap_fixed_mapped=no
9051 cat >conftest.$ac_ext <<_ACEOF
9054 cat confdefs.h >>conftest.$ac_ext
9055 cat >>conftest.$ac_ext <<_ACEOF
9056 /* end confdefs.h. */
9057 $ac_includes_default
9058 /* malloc might have been renamed as rpl_malloc. */
9061 /* Thanks to Mike Haertel and Jim Avera for this test.
9062 Here is a matrix of mmap possibilities:
9063 mmap private not fixed
9064 mmap private fixed at somewhere currently unmapped
9065 mmap private fixed at somewhere already mapped
9066 mmap shared not fixed
9067 mmap shared fixed at somewhere currently unmapped
9068 mmap shared fixed at somewhere already mapped
9069 For private mappings, we should verify that changes cannot be read()
9070 back from the file, nor mmap's back from the file at a different
9071 address. (There have been systems where private was not correctly
9072 implemented like the infamous i386 svr4.0, and systems where the
9073 VM page cache was not coherent with the file system buffer cache
9074 like early versions of FreeBSD and possibly contemporary NetBSD.)
9075 For shared mappings, we should conversely verify that changes get
9076 propagated back to all the places they're supposed to be.
9078 Grep wants private fixed already mapped.
9079 The main things grep needs to know about mmap are:
9080 * does it exist and is it safe to write into the mmap'd area
9081 * how to use it (BSD variants) */
9084 #include <sys/mman.h>
9086 #if !STDC_HEADERS && !HAVE_STDLIB_H
9090 /* This mess was copied from the GNU getpagesize.h. */
9091 #if !HAVE_GETPAGESIZE
9092 /* Assume that all systems that can run configure have sys/param.h. */
9093 # if !HAVE_SYS_PARAM_H
9094 # define HAVE_SYS_PARAM_H 1
9097 # ifdef _SC_PAGESIZE
9098 # define getpagesize() sysconf(_SC_PAGESIZE)
9099 # else /* no _SC_PAGESIZE */
9100 # if HAVE_SYS_PARAM_H
9101 # include <sys/param.h>
9102 # ifdef EXEC_PAGESIZE
9103 # define getpagesize() EXEC_PAGESIZE
9104 # else /* no EXEC_PAGESIZE */
9106 # define getpagesize() NBPG * CLSIZE
9109 # endif /* no CLSIZE */
9110 # else /* no NBPG */
9112 # define getpagesize() NBPC
9113 # else /* no NBPC */
9115 # define getpagesize() PAGESIZE
9116 # endif /* PAGESIZE */
9117 # endif /* no NBPC */
9118 # endif /* no NBPG */
9119 # endif /* no EXEC_PAGESIZE */
9120 # else /* no HAVE_SYS_PARAM_H */
9121 # define getpagesize() 8192 /* punt totally */
9122 # endif /* no HAVE_SYS_PARAM_H */
9123 # endif /* no _SC_PAGESIZE */
9125 #endif /* no HAVE_GETPAGESIZE */
9130 char *data, *data2, *data3;
9134 pagesize = getpagesize ();
9136 /* First, make a file with some known garbage in it. */
9137 data = (char *) malloc (pagesize);
9140 for (i = 0; i < pagesize; ++i)
9141 *(data + i) = rand ();
9143 fd = creat ("conftest.mmap", 0600);
9146 if (write (fd, data, pagesize) != pagesize)
9150 /* Next, try to mmap the file at a fixed address which already has
9151 something else allocated at it. If we can, also make sure that
9152 we see the same garbage. */
9153 fd = open ("conftest.mmap", O_RDWR);
9156 data2 = (char *) malloc (2 * pagesize);
9159 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9160 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9161 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9163 for (i = 0; i < pagesize; ++i)
9164 if (*(data + i) != *(data2 + i))
9167 /* Finally, make sure that changes to the mapped area do not
9168 percolate back to the file as seen by read(). (This is a bug on
9169 some variants of i386 svr4.0.) */
9170 for (i = 0; i < pagesize; ++i)
9171 *(data2 + i) = *(data2 + i) + 1;
9172 data3 = (char *) malloc (pagesize);
9175 if (read (fd, data3, pagesize) != pagesize)
9177 for (i = 0; i < pagesize; ++i)
9178 if (*(data + i) != *(data3 + i))
9184 rm -f conftest$ac_exeext
9185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9186 (eval $ac_link) 2>&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); }; }; then
9195 ac_cv_func_mmap_fixed_mapped=yes
9197 echo "$as_me: program exited with status $ac_status" >&5
9198 echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.$ac_ext >&5
9202 ac_cv_func_mmap_fixed_mapped=no
9204 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9207 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9208 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9209 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9211 cat >>confdefs.h <<\_ACEOF
9219 # Try to find connect and gethostbyname.
9221 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
9222 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
9223 if test "${ac_cv_lib_nsl_main+set}" = set; then
9224 echo $ECHO_N "(cached) $ECHO_C" >&6
9226 ac_check_lib_save_LIBS=$LIBS
9228 cat >conftest.$ac_ext <<_ACEOF
9231 cat confdefs.h >>conftest.$ac_ext
9232 cat >>conftest.$ac_ext <<_ACEOF
9233 /* end confdefs.h. */
9244 rm -f conftest.$ac_objext conftest$ac_exeext
9245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9246 (eval $ac_link) 2>conftest.er1
9248 grep -v '^ *+' conftest.er1 >conftest.err
9250 cat conftest.err >&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } &&
9253 { ac_try='test -z "$ac_c_werror_flag"
9254 || test ! -s conftest.err'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; } &&
9260 { ac_try='test -s conftest$ac_exeext'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; }; then
9266 ac_cv_lib_nsl_main=yes
9268 echo "$as_me: failed program was:" >&5
9269 sed 's/^/| /' conftest.$ac_ext >&5
9271 ac_cv_lib_nsl_main=no
9273 rm -f conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_lib_save_LIBS
9277 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
9278 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
9279 if test $ac_cv_lib_nsl_main = yes; then
9280 cat >>confdefs.h <<_ACEOF
9281 #define HAVE_LIBNSL 1
9288 echo "$as_me:$LINENO: checking for library containing connect" >&5
9289 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6
9290 if test "${ac_cv_search_connect+set}" = set; then
9291 echo $ECHO_N "(cached) $ECHO_C" >&6
9293 ac_func_search_save_LIBS=$LIBS
9294 ac_cv_search_connect=no
9295 cat >conftest.$ac_ext <<_ACEOF
9298 cat confdefs.h >>conftest.$ac_ext
9299 cat >>conftest.$ac_ext <<_ACEOF
9300 /* end confdefs.h. */
9302 /* Override any gcc2 internal prototype to avoid an error. */
9306 /* We use char because int might match the return type of a gcc2
9307 builtin and then its argument prototype would still apply. */
9317 rm -f conftest.$ac_objext conftest$ac_exeext
9318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9319 (eval $ac_link) 2>conftest.er1
9321 grep -v '^ *+' conftest.er1 >conftest.err
9323 cat conftest.err >&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); } &&
9326 { ac_try='test -z "$ac_c_werror_flag"
9327 || test ! -s conftest.err'
9328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; } &&
9333 { ac_try='test -s conftest$ac_exeext'
9334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); }; }; then
9339 ac_cv_search_connect="none required"
9341 echo "$as_me: failed program was:" >&5
9342 sed 's/^/| /' conftest.$ac_ext >&5
9345 rm -f conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 if test "$ac_cv_search_connect" = no; then
9348 for ac_lib in xnet socket inet; do
9349 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9350 cat >conftest.$ac_ext <<_ACEOF
9353 cat confdefs.h >>conftest.$ac_ext
9354 cat >>conftest.$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9357 /* Override any gcc2 internal prototype to avoid an error. */
9361 /* We use char because int might match the return type of a gcc2
9362 builtin and then its argument prototype would still apply. */
9372 rm -f conftest.$ac_objext conftest$ac_exeext
9373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9374 (eval $ac_link) 2>conftest.er1
9376 grep -v '^ *+' conftest.er1 >conftest.err
9378 cat conftest.err >&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } &&
9381 { ac_try='test -z "$ac_c_werror_flag"
9382 || test ! -s conftest.err'
9383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); }; } &&
9388 { ac_try='test -s conftest$ac_exeext'
9389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); }; }; then
9394 ac_cv_search_connect="-l$ac_lib"
9397 echo "$as_me: failed program was:" >&5
9398 sed 's/^/| /' conftest.$ac_ext >&5
9401 rm -f conftest.err conftest.$ac_objext \
9402 conftest$ac_exeext conftest.$ac_ext
9405 LIBS=$ac_func_search_save_LIBS
9407 echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
9408 echo "${ECHO_T}$ac_cv_search_connect" >&6
9409 if test "$ac_cv_search_connect" != no; then
9410 test "$ac_cv_search_connect" = "none required" || LIBS="$ac_cv_search_connect $LIBS"
9412 cat >>confdefs.h <<\_ACEOF
9413 #define HAVE_CONNECT 1
9418 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
9419 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
9420 if test "${ac_cv_search_gethostbyname+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6
9423 ac_func_search_save_LIBS=$LIBS
9424 ac_cv_search_gethostbyname=no
9425 cat >conftest.$ac_ext <<_ACEOF
9428 cat confdefs.h >>conftest.$ac_ext
9429 cat >>conftest.$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9432 /* Override any gcc2 internal prototype to avoid an error. */
9436 /* We use char because int might match the return type of a gcc2
9437 builtin and then its argument prototype would still apply. */
9438 char gethostbyname ();
9447 rm -f conftest.$ac_objext conftest$ac_exeext
9448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9449 (eval $ac_link) 2>conftest.er1
9451 grep -v '^ *+' conftest.er1 >conftest.err
9453 cat conftest.err >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } &&
9456 { ac_try='test -z "$ac_c_werror_flag"
9457 || test ! -s conftest.err'
9458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); }; } &&
9463 { ac_try='test -s conftest$ac_exeext'
9464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); }; }; then
9469 ac_cv_search_gethostbyname="none required"
9471 echo "$as_me: failed program was:" >&5
9472 sed 's/^/| /' conftest.$ac_ext >&5
9475 rm -f conftest.err conftest.$ac_objext \
9476 conftest$ac_exeext conftest.$ac_ext
9477 if test "$ac_cv_search_gethostbyname" = no; then
9478 for ac_lib in netinet; do
9479 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9480 cat >conftest.$ac_ext <<_ACEOF
9483 cat confdefs.h >>conftest.$ac_ext
9484 cat >>conftest.$ac_ext <<_ACEOF
9485 /* end confdefs.h. */
9487 /* Override any gcc2 internal prototype to avoid an error. */
9491 /* We use char because int might match the return type of a gcc2
9492 builtin and then its argument prototype would still apply. */
9493 char gethostbyname ();
9502 rm -f conftest.$ac_objext conftest$ac_exeext
9503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9504 (eval $ac_link) 2>conftest.er1
9506 grep -v '^ *+' conftest.er1 >conftest.err
9508 cat conftest.err >&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); } &&
9511 { ac_try='test -z "$ac_c_werror_flag"
9512 || test ! -s conftest.err'
9513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); }; } &&
9518 { ac_try='test -s conftest$ac_exeext'
9519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); }; }; then
9524 ac_cv_search_gethostbyname="-l$ac_lib"
9527 echo "$as_me: failed program was:" >&5
9528 sed 's/^/| /' conftest.$ac_ext >&5
9531 rm -f conftest.err conftest.$ac_objext \
9532 conftest$ac_exeext conftest.$ac_ext
9535 LIBS=$ac_func_search_save_LIBS
9537 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
9538 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
9539 if test "$ac_cv_search_gethostbyname" != no; then
9540 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
9550 # Check whether --with-krb4 or --without-krb4 was given.
9551 if test "${with_krb4+set}" = set; then
9552 withval="$with_krb4"
9554 fi; echo "$as_me:$LINENO: checking for KRB4 in $KRB4" >&5
9555 echo $ECHO_N "checking for KRB4 in $KRB4... $ECHO_C" >&6
9556 echo "$as_me:$LINENO: result: " >&5
9557 echo "${ECHO_T}" >&6
9561 echo "$as_me:$LINENO: checking for krb.h" >&5
9562 echo $ECHO_N "checking for krb.h... $ECHO_C" >&6
9563 if test "$cross_compiling" != yes && test -r $KRB4/include/krb.h; then
9565 CFLAGS="$CFLAGS -I$KRB4/include"
9566 cat >conftest.$ac_ext <<_ACEOF
9569 cat confdefs.h >>conftest.$ac_ext
9570 cat >>conftest.$ac_ext <<_ACEOF
9571 /* end confdefs.h. */
9581 rm -f conftest.$ac_objext conftest$ac_exeext
9582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9583 (eval $ac_link) 2>conftest.er1
9585 grep -v '^ *+' conftest.er1 >conftest.err
9587 cat conftest.err >&5
9588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9589 (exit $ac_status); } &&
9590 { ac_try='test -z "$ac_c_werror_flag"
9591 || test ! -s conftest.err'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; } &&
9597 { ac_try='test -s conftest$ac_exeext'
9598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9602 (exit $ac_status); }; }; then
9603 krb_h=yes krb_incdir=$KRB4/include
9605 echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.$ac_ext >&5
9609 cat >conftest.$ac_ext <<_ACEOF
9612 cat confdefs.h >>conftest.$ac_ext
9613 cat >>conftest.$ac_ext <<_ACEOF
9614 /* end confdefs.h. */
9624 rm -f conftest.$ac_objext conftest$ac_exeext
9625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9626 (eval $ac_link) 2>conftest.er1
9628 grep -v '^ *+' conftest.er1 >conftest.err
9630 cat conftest.err >&5
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); } &&
9633 { ac_try='test -z "$ac_c_werror_flag"
9634 || test ! -s conftest.err'
9635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); }; } &&
9640 { ac_try='test -s conftest$ac_exeext'
9641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); }; }; then
9646 krb_h=yes krb_incdir=
9648 echo "$as_me: failed program was:" >&5
9649 sed 's/^/| /' conftest.$ac_ext >&5
9652 rm -f conftest.err conftest.$ac_objext \
9653 conftest$ac_exeext conftest.$ac_ext
9655 rm -f conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9659 cat >conftest.$ac_ext <<_ACEOF
9662 cat confdefs.h >>conftest.$ac_ext
9663 cat >>conftest.$ac_ext <<_ACEOF
9664 /* end confdefs.h. */
9674 rm -f conftest.$ac_objext conftest$ac_exeext
9675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9676 (eval $ac_link) 2>conftest.er1
9678 grep -v '^ *+' conftest.er1 >conftest.err
9680 cat conftest.err >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } &&
9683 { ac_try='test -z "$ac_c_werror_flag"
9684 || test ! -s conftest.err'
9685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); }; } &&
9690 { ac_try='test -s conftest$ac_exeext'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; }; then
9696 krb_h=yes krb_incdir=
9698 echo "$as_me: failed program was:" >&5
9699 sed 's/^/| /' conftest.$ac_ext >&5
9702 rm -f conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9705 if test -z "$krb_h"; then
9706 cat >conftest.$ac_ext <<_ACEOF
9709 cat confdefs.h >>conftest.$ac_ext
9710 cat >>conftest.$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9721 rm -f conftest.$ac_objext conftest$ac_exeext
9722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9723 (eval $ac_link) 2>conftest.er1
9725 grep -v '^ *+' conftest.er1 >conftest.err
9727 cat conftest.err >&5
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); } &&
9730 { ac_try='test -z "$ac_c_werror_flag"
9731 || test ! -s conftest.err'
9732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9736 (exit $ac_status); }; } &&
9737 { ac_try='test -s conftest$ac_exeext'
9738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); }; }; then
9743 krb_h=yes krb_incdir=
9745 echo "$as_me: failed program was:" >&5
9746 sed 's/^/| /' conftest.$ac_ext >&5
9748 if test "$cross_compiling" != yes && test -r $KRB4/include/kerberosIV/krb.h; then
9750 CFLAGS="$CFLAGS -I$KRB4/include/kerberosIV"
9751 cat >conftest.$ac_ext <<_ACEOF
9754 cat confdefs.h >>conftest.$ac_ext
9755 cat >>conftest.$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9766 rm -f conftest.$ac_objext conftest$ac_exeext
9767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9768 (eval $ac_link) 2>conftest.er1
9770 grep -v '^ *+' conftest.er1 >conftest.err
9772 cat conftest.err >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); } &&
9775 { ac_try='test -z "$ac_c_werror_flag"
9776 || test ! -s conftest.err'
9777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); }; } &&
9782 { ac_try='test -s conftest$ac_exeext'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; }; then
9788 krb_h=yes krb_incdir=$KRB4/include/kerberosIV
9790 echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.$ac_ext >&5
9794 rm -f conftest.err conftest.$ac_objext \
9795 conftest$ac_exeext conftest.$ac_ext
9799 rm -f conftest.err conftest.$ac_objext \
9800 conftest$ac_exeext conftest.$ac_ext
9802 echo "$as_me:$LINENO: result: $krb_h" >&5
9803 echo "${ECHO_T}$krb_h" >&6
9807 if test -n "$krb_h"; then
9809 if test "$cross_compiling" != yes && test -r $KRB4/lib/libkrb.a; then
9810 hold_ldflags=$LDFLAGS
9811 LDFLAGS="-L${KRB4}/lib $LDFLAGS"
9812 echo "$as_me:$LINENO: checking for printf in -lkrb" >&5
9813 echo $ECHO_N "checking for printf in -lkrb... $ECHO_C" >&6
9814 if test "${ac_cv_lib_krb_printf+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 ac_check_lib_save_LIBS=$LIBS
9819 cat >conftest.$ac_ext <<_ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h. */
9826 /* Override any gcc2 internal prototype to avoid an error. */
9830 /* We use char because int might match the return type of a gcc2
9831 builtin and then its argument prototype would still apply. */
9841 rm -f conftest.$ac_objext conftest$ac_exeext
9842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9843 (eval $ac_link) 2>conftest.er1
9845 grep -v '^ *+' conftest.er1 >conftest.err
9847 cat conftest.err >&5
9848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849 (exit $ac_status); } &&
9850 { ac_try='test -z "$ac_c_werror_flag"
9851 || test ! -s conftest.err'
9852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); }; } &&
9857 { ac_try='test -s conftest$ac_exeext'
9858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); }; }; then
9863 ac_cv_lib_krb_printf=yes
9865 echo "$as_me: failed program was:" >&5
9866 sed 's/^/| /' conftest.$ac_ext >&5
9868 ac_cv_lib_krb_printf=no
9870 rm -f conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LIBS=$ac_check_lib_save_LIBS
9874 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_printf" >&5
9875 echo "${ECHO_T}$ac_cv_lib_krb_printf" >&6
9876 if test $ac_cv_lib_krb_printf = yes; then
9877 krb_lib=yes krb_libdir=${KRB4}/lib
9879 LDFLAGS=$hold_ldflags
9880 # Using open here instead of printf so we don't
9881 # get confused by the cached value for printf from above.
9882 echo "$as_me:$LINENO: checking for open in -lkrb" >&5
9883 echo $ECHO_N "checking for open in -lkrb... $ECHO_C" >&6
9884 if test "${ac_cv_lib_krb_open+set}" = set; then
9885 echo $ECHO_N "(cached) $ECHO_C" >&6
9887 ac_check_lib_save_LIBS=$LIBS
9889 cat >conftest.$ac_ext <<_ACEOF
9892 cat confdefs.h >>conftest.$ac_ext
9893 cat >>conftest.$ac_ext <<_ACEOF
9894 /* end confdefs.h. */
9896 /* Override any gcc2 internal prototype to avoid an error. */
9900 /* We use char because int might match the return type of a gcc2
9901 builtin and then its argument prototype would still apply. */
9911 rm -f conftest.$ac_objext conftest$ac_exeext
9912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9913 (eval $ac_link) 2>conftest.er1
9915 grep -v '^ *+' conftest.er1 >conftest.err
9917 cat conftest.err >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); } &&
9920 { ac_try='test -z "$ac_c_werror_flag"
9921 || test ! -s conftest.err'
9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); }; } &&
9927 { ac_try='test -s conftest$ac_exeext'
9928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); }; }; then
9933 ac_cv_lib_krb_open=yes
9935 echo "$as_me: failed program was:" >&5
9936 sed 's/^/| /' conftest.$ac_ext >&5
9938 ac_cv_lib_krb_open=no
9940 rm -f conftest.err conftest.$ac_objext \
9941 conftest$ac_exeext conftest.$ac_ext
9942 LIBS=$ac_check_lib_save_LIBS
9944 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_open" >&5
9945 echo "${ECHO_T}$ac_cv_lib_krb_open" >&6
9946 if test $ac_cv_lib_krb_open = yes; then
9947 krb_lib=yes krb_libdir=
9952 LDFLAGS=$hold_ldflags
9954 echo "$as_me:$LINENO: checking for printf in -lkrb" >&5
9955 echo $ECHO_N "checking for printf in -lkrb... $ECHO_C" >&6
9956 if test "${ac_cv_lib_krb_printf+set}" = set; then
9957 echo $ECHO_N "(cached) $ECHO_C" >&6
9959 ac_check_lib_save_LIBS=$LIBS
9961 cat >conftest.$ac_ext <<_ACEOF
9964 cat confdefs.h >>conftest.$ac_ext
9965 cat >>conftest.$ac_ext <<_ACEOF
9966 /* end confdefs.h. */
9968 /* Override any gcc2 internal prototype to avoid an error. */
9972 /* We use char because int might match the return type of a gcc2
9973 builtin and then its argument prototype would still apply. */
9983 rm -f conftest.$ac_objext conftest$ac_exeext
9984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9985 (eval $ac_link) 2>conftest.er1
9987 grep -v '^ *+' conftest.er1 >conftest.err
9989 cat conftest.err >&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); } &&
9992 { ac_try='test -z "$ac_c_werror_flag"
9993 || test ! -s conftest.err'
9994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); }; } &&
9999 { ac_try='test -s conftest$ac_exeext'
10000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10001 (eval $ac_try) 2>&5
10003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); }; }; then
10005 ac_cv_lib_krb_printf=yes
10007 echo "$as_me: failed program was:" >&5
10008 sed 's/^/| /' conftest.$ac_ext >&5
10010 ac_cv_lib_krb_printf=no
10012 rm -f conftest.err conftest.$ac_objext \
10013 conftest$ac_exeext conftest.$ac_ext
10014 LIBS=$ac_check_lib_save_LIBS
10016 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_printf" >&5
10017 echo "${ECHO_T}$ac_cv_lib_krb_printf" >&6
10018 if test $ac_cv_lib_krb_printf = yes; then
10019 krb_lib=yes krb_libdir=
10022 echo "$as_me:$LINENO: checking for krb_recvauth" >&5
10023 echo $ECHO_N "checking for krb_recvauth... $ECHO_C" >&6
10024 if test "${ac_cv_func_krb_recvauth+set}" = set; then
10025 echo $ECHO_N "(cached) $ECHO_C" >&6
10027 cat >conftest.$ac_ext <<_ACEOF
10030 cat confdefs.h >>conftest.$ac_ext
10031 cat >>conftest.$ac_ext <<_ACEOF
10032 /* end confdefs.h. */
10033 /* Define krb_recvauth to an innocuous variant, in case <limits.h> declares krb_recvauth.
10034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10035 #define krb_recvauth innocuous_krb_recvauth
10037 /* System header to define __stub macros and hopefully few prototypes,
10038 which can conflict with char krb_recvauth (); below.
10039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10040 <limits.h> exists even on freestanding compilers. */
10043 # include <limits.h>
10045 # include <assert.h>
10048 #undef krb_recvauth
10050 /* Override any gcc2 internal prototype to avoid an error. */
10055 /* We use char because int might match the return type of a gcc2
10056 builtin and then its argument prototype would still apply. */
10057 char krb_recvauth ();
10058 /* The GNU C library defines this for functions which it implements
10059 to always fail with ENOSYS. Some functions are actually named
10060 something starting with __ and the normal name is an alias. */
10061 #if defined (__stub_krb_recvauth) || defined (__stub___krb_recvauth)
10064 char (*f) () = krb_recvauth;
10073 return f != krb_recvauth;
10078 rm -f conftest.$ac_objext conftest$ac_exeext
10079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10080 (eval $ac_link) 2>conftest.er1
10082 grep -v '^ *+' conftest.er1 >conftest.err
10084 cat conftest.err >&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); } &&
10087 { ac_try='test -z "$ac_c_werror_flag"
10088 || test ! -s conftest.err'
10089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10090 (eval $ac_try) 2>&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); }; } &&
10094 { ac_try='test -s conftest$ac_exeext'
10095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10096 (eval $ac_try) 2>&5
10098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099 (exit $ac_status); }; }; then
10100 ac_cv_func_krb_recvauth=yes
10102 echo "$as_me: failed program was:" >&5
10103 sed 's/^/| /' conftest.$ac_ext >&5
10105 ac_cv_func_krb_recvauth=no
10107 rm -f conftest.err conftest.$ac_objext \
10108 conftest$ac_exeext conftest.$ac_ext
10110 echo "$as_me:$LINENO: result: $ac_cv_func_krb_recvauth" >&5
10111 echo "${ECHO_T}$ac_cv_func_krb_recvauth" >&6
10112 if test $ac_cv_func_krb_recvauth = yes; then
10113 krb_lib=yes krb_libdir=
10117 if test -n "$krb_lib"; then
10119 cat >>confdefs.h <<\_ACEOF
10120 #define HAVE_KERBEROS 1
10123 test -n "${krb_libdir}" && LIBS="${LIBS} -L${krb_libdir}"
10124 # Put -L${krb_libdir} in LDFLAGS temporarily so that it appears before
10125 # -ldes in the command line. Don't do it permanently so that we honor
10126 # the user's setting for LDFLAGS
10127 hold_ldflags=$LDFLAGS
10128 test -n "${krb_libdir}" && LDFLAGS="$LDFLAGS -L${krb_libdir}"
10129 echo "$as_me:$LINENO: checking for printf in -ldes" >&5
10130 echo $ECHO_N "checking for printf in -ldes... $ECHO_C" >&6
10131 if test "${ac_cv_lib_des_printf+set}" = set; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 ac_check_lib_save_LIBS=$LIBS
10136 cat >conftest.$ac_ext <<_ACEOF
10139 cat confdefs.h >>conftest.$ac_ext
10140 cat >>conftest.$ac_ext <<_ACEOF
10141 /* end confdefs.h. */
10143 /* Override any gcc2 internal prototype to avoid an error. */
10147 /* We use char because int might match the return type of a gcc2
10148 builtin and then its argument prototype would still apply. */
10158 rm -f conftest.$ac_objext conftest$ac_exeext
10159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10160 (eval $ac_link) 2>conftest.er1
10162 grep -v '^ *+' conftest.er1 >conftest.err
10164 cat conftest.err >&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); } &&
10167 { ac_try='test -z "$ac_c_werror_flag"
10168 || test ! -s conftest.err'
10169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10170 (eval $ac_try) 2>&5
10172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173 (exit $ac_status); }; } &&
10174 { ac_try='test -s conftest$ac_exeext'
10175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10176 (eval $ac_try) 2>&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; }; then
10180 ac_cv_lib_des_printf=yes
10182 echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.$ac_ext >&5
10185 ac_cv_lib_des_printf=no
10187 rm -f conftest.err conftest.$ac_objext \
10188 conftest$ac_exeext conftest.$ac_ext
10189 LIBS=$ac_check_lib_save_LIBS
10191 echo "$as_me:$LINENO: result: $ac_cv_lib_des_printf" >&5
10192 echo "${ECHO_T}$ac_cv_lib_des_printf" >&6
10193 if test $ac_cv_lib_des_printf = yes; then
10194 LIBS="${LIBS} -ldes"
10198 echo "$as_me:$LINENO: checking for krb_recvauth in -lkrb" >&5
10199 echo $ECHO_N "checking for krb_recvauth in -lkrb... $ECHO_C" >&6
10200 if test "${ac_cv_lib_krb_krb_recvauth+set}" = set; then
10201 echo $ECHO_N "(cached) $ECHO_C" >&6
10203 ac_check_lib_save_LIBS=$LIBS
10205 cat >conftest.$ac_ext <<_ACEOF
10208 cat confdefs.h >>conftest.$ac_ext
10209 cat >>conftest.$ac_ext <<_ACEOF
10210 /* end confdefs.h. */
10212 /* Override any gcc2 internal prototype to avoid an error. */
10216 /* We use char because int might match the return type of a gcc2
10217 builtin and then its argument prototype would still apply. */
10218 char krb_recvauth ();
10227 rm -f conftest.$ac_objext conftest$ac_exeext
10228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10229 (eval $ac_link) 2>conftest.er1
10231 grep -v '^ *+' conftest.er1 >conftest.err
10233 cat conftest.err >&5
10234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10235 (exit $ac_status); } &&
10236 { ac_try='test -z "$ac_c_werror_flag"
10237 || test ! -s conftest.err'
10238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10239 (eval $ac_try) 2>&5
10241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242 (exit $ac_status); }; } &&
10243 { ac_try='test -s conftest$ac_exeext'
10244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10245 (eval $ac_try) 2>&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); }; }; then
10249 ac_cv_lib_krb_krb_recvauth=yes
10251 echo "$as_me: failed program was:" >&5
10252 sed 's/^/| /' conftest.$ac_ext >&5
10254 ac_cv_lib_krb_krb_recvauth=no
10256 rm -f conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 LIBS=$ac_check_lib_save_LIBS
10260 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_recvauth" >&5
10261 echo "${ECHO_T}$ac_cv_lib_krb_krb_recvauth" >&6
10262 if test $ac_cv_lib_krb_krb_recvauth = yes; then
10263 cat >>confdefs.h <<_ACEOF
10264 #define HAVE_LIBKRB 1
10272 echo "$as_me:$LINENO: checking for krb_recvauth in -lkrb4" >&5
10273 echo $ECHO_N "checking for krb_recvauth in -lkrb4... $ECHO_C" >&6
10274 if test "${ac_cv_lib_krb4_krb_recvauth+set}" = set; then
10275 echo $ECHO_N "(cached) $ECHO_C" >&6
10277 ac_check_lib_save_LIBS=$LIBS
10278 LIBS="-lkrb4 $LIBS"
10279 cat >conftest.$ac_ext <<_ACEOF
10282 cat confdefs.h >>conftest.$ac_ext
10283 cat >>conftest.$ac_ext <<_ACEOF
10284 /* end confdefs.h. */
10286 /* Override any gcc2 internal prototype to avoid an error. */
10290 /* We use char because int might match the return type of a gcc2
10291 builtin and then its argument prototype would still apply. */
10292 char krb_recvauth ();
10301 rm -f conftest.$ac_objext conftest$ac_exeext
10302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10303 (eval $ac_link) 2>conftest.er1
10305 grep -v '^ *+' conftest.er1 >conftest.err
10307 cat conftest.err >&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); } &&
10310 { ac_try='test -z "$ac_c_werror_flag"
10311 || test ! -s conftest.err'
10312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10313 (eval $ac_try) 2>&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); }; } &&
10317 { ac_try='test -s conftest$ac_exeext'
10318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10319 (eval $ac_try) 2>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }; }; then
10323 ac_cv_lib_krb4_krb_recvauth=yes
10325 echo "$as_me: failed program was:" >&5
10326 sed 's/^/| /' conftest.$ac_ext >&5
10328 ac_cv_lib_krb4_krb_recvauth=no
10330 rm -f conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 LIBS=$ac_check_lib_save_LIBS
10334 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_recvauth" >&5
10335 echo "${ECHO_T}$ac_cv_lib_krb4_krb_recvauth" >&6
10336 if test $ac_cv_lib_krb4_krb_recvauth = yes; then
10337 cat >>confdefs.h <<_ACEOF
10338 #define HAVE_LIBKRB4 1
10341 LIBS="-lkrb4 $LIBS"
10345 LDFLAGS=$hold_ldflags
10346 if test -n "$krb_incdir"; then
10347 includeopt="${includeopt} -I$krb_incdir"
10352 for ac_func in krb_get_err_text
10354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10355 echo "$as_me:$LINENO: checking for $ac_func" >&5
10356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10357 if eval "test \"\${$as_ac_var+set}\" = set"; then
10358 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 cat >conftest.$ac_ext <<_ACEOF
10363 cat confdefs.h >>conftest.$ac_ext
10364 cat >>conftest.$ac_ext <<_ACEOF
10365 /* end confdefs.h. */
10366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10368 #define $ac_func innocuous_$ac_func
10370 /* System header to define __stub macros and hopefully few prototypes,
10371 which can conflict with char $ac_func (); below.
10372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10373 <limits.h> exists even on freestanding compilers. */
10376 # include <limits.h>
10378 # include <assert.h>
10383 /* Override any gcc2 internal prototype to avoid an error. */
10388 /* We use char because int might match the return type of a gcc2
10389 builtin and then its argument prototype would still apply. */
10391 /* The GNU C library defines this for functions which it implements
10392 to always fail with ENOSYS. Some functions are actually named
10393 something starting with __ and the normal name is an alias. */
10394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10397 char (*f) () = $ac_func;
10406 return f != $ac_func;
10411 rm -f conftest.$ac_objext conftest$ac_exeext
10412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10413 (eval $ac_link) 2>conftest.er1
10415 grep -v '^ *+' conftest.er1 >conftest.err
10417 cat conftest.err >&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); } &&
10420 { ac_try='test -z "$ac_c_werror_flag"
10421 || test ! -s conftest.err'
10422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10423 (eval $ac_try) 2>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); }; } &&
10427 { ac_try='test -s conftest$ac_exeext'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; }; then
10433 eval "$as_ac_var=yes"
10435 echo "$as_me: failed program was:" >&5
10436 sed 's/^/| /' conftest.$ac_ext >&5
10438 eval "$as_ac_var=no"
10440 rm -f conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10445 if test `eval echo '${'$as_ac_var'}'` = yes; then
10446 cat >>confdefs.h <<_ACEOF
10447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10457 # Use --with-gssapi[=DIR] to enable GSSAPI support.
10459 # defaults to enabled with DIR in default list below
10461 # Search for /SUNHEA/ and read the comments about this default below.
10464 # Check whether --with-gssapi or --without-gssapi was given.
10465 if test "${with_gssapi+set}" = set; then
10466 withval="$with_gssapi"
10472 # Try to locate a GSSAPI installation if no location was specified, assuming
10473 # GSSAPI was enabled (the default).
10475 if test -n "$acx_gssapi_cv_gssapi"; then
10476 # Granted, this is a slightly ugly way to print this info, but the
10477 # AC_CHECK_HEADER used in the search for a GSSAPI installation makes using
10478 # AC_CACHE_CHECK worse
10479 echo "$as_me:$LINENO: checking for GSSAPI" >&5
10480 echo $ECHO_N "checking for GSSAPI... $ECHO_C" >&6
10482 if test "${acx_gssapi_cv_gssapi+set}" = set; then
10483 echo $ECHO_N "(cached) $ECHO_C" >&6
10486 if test x$with_gssapi = xyes; then
10487 # --with but no location specified
10488 # assume a gssapi.h or gssapi/gssapi.h locates our install.
10490 # This isn't always strictly true. For instance Solaris 7's SUNHEA (header)
10491 # package installs gssapi.h whether or not the necessary libraries are
10492 # installed. I'm still not sure whether to consider this a bug. The long
10493 # way around is to not consider GSSPAI installed unless gss_import_name is
10494 # found, but that brings up a lot of other hassles, like continuing to let
10495 # gcc & ld generate the error messages when the user uses --with-gssapi=dir
10496 # as a debugging aid. The short way around is to disable GSSAPI by default,
10497 # but I think Sun users have been faced with this for awhile and I haven't
10498 # heard many complaints.
10499 acx_gssapi_save_CPPFLAGS=$CPPFLAGS
10500 for acx_gssapi_cv_gssapi in yes /usr/kerberos /usr/cygnus/kerbnet no; do
10501 if test x$acx_gssapi_cv_gssapi = xno; then
10504 if test x$acx_gssapi_cv_gssapi = xyes; then
10505 echo "$as_me:$LINENO: checking for GSSAPI" >&5
10506 echo $ECHO_N "checking for GSSAPI... $ECHO_C" >&6
10507 echo "$as_me:$LINENO: result: " >&5
10508 echo "${ECHO_T}" >&6
10510 CPPFLAGS="$acx_gssapi_save_CPPFLAGS -I$acx_gssapi_cv_gssapi/include"
10511 echo "$as_me:$LINENO: checking for GSSAPI in $acx_gssapi_cv_gssapi" >&5
10512 echo $ECHO_N "checking for GSSAPI in $acx_gssapi_cv_gssapi... $ECHO_C" >&6
10513 echo "$as_me:$LINENO: result: " >&5
10514 echo "${ECHO_T}" >&6
10516 unset ac_cv_header_gssapi_h
10517 unset ac_cv_header_gssapi_gssapi_h
10518 unset ac_cv_header_krb5_h
10522 for ac_header in gssapi.h gssapi/gssapi.h krb5.h
10524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10534 # Is the header compilable?
10535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10537 cat >conftest.$ac_ext <<_ACEOF
10540 cat confdefs.h >>conftest.$ac_ext
10541 cat >>conftest.$ac_ext <<_ACEOF
10542 /* end confdefs.h. */
10543 $ac_includes_default
10544 #include <$ac_header>
10546 rm -f conftest.$ac_objext
10547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10548 (eval $ac_compile) 2>conftest.er1
10550 grep -v '^ *+' conftest.er1 >conftest.err
10552 cat conftest.err >&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } &&
10555 { ac_try='test -z "$ac_c_werror_flag"
10556 || test ! -s conftest.err'
10557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10558 (eval $ac_try) 2>&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); }; } &&
10562 { ac_try='test -s conftest.$ac_objext'
10563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10564 (eval $ac_try) 2>&5
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); }; }; then
10568 ac_header_compiler=yes
10570 echo "$as_me: failed program was:" >&5
10571 sed 's/^/| /' conftest.$ac_ext >&5
10573 ac_header_compiler=no
10575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10577 echo "${ECHO_T}$ac_header_compiler" >&6
10579 # Is the header present?
10580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10582 cat >conftest.$ac_ext <<_ACEOF
10585 cat confdefs.h >>conftest.$ac_ext
10586 cat >>conftest.$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 #include <$ac_header>
10590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10593 grep -v '^ *+' conftest.er1 >conftest.err
10595 cat conftest.err >&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); } >/dev/null; then
10598 if test -s conftest.err; then
10599 ac_cpp_err=$ac_c_preproc_warn_flag
10600 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10607 if test -z "$ac_cpp_err"; then
10608 ac_header_preproc=yes
10610 echo "$as_me: failed program was:" >&5
10611 sed 's/^/| /' conftest.$ac_ext >&5
10613 ac_header_preproc=no
10615 rm -f conftest.err conftest.$ac_ext
10616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10617 echo "${ECHO_T}$ac_header_preproc" >&6
10619 # So? What about this header?
10620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10626 ac_header_preproc=yes
10629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10643 ## --------------------------------- ##
10644 ## Report this to bug-cvs@nongnu.org ##
10645 ## --------------------------------- ##
10648 sed "s/^/$as_me: WARNING: /" >&2
10651 echo "$as_me:$LINENO: checking for $ac_header" >&5
10652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6
10656 eval "$as_ac_Header=\$ac_header_preproc"
10658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10663 cat >>confdefs.h <<_ACEOF
10664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10671 if (test "$ac_cv_header_gssapi_h" = yes ||
10672 test "$ac_cv_header_gssapi_gssapi_h" = yes) &&
10673 test "$ac_cv_header_krb5_h" = yes; then
10677 CPPFLAGS=$acx_gssapi_save_CPPFLAGS
10679 acx_gssapi_cv_gssapi=$with_gssapi
10681 echo "$as_me:$LINENO: checking for GSSAPI" >&5
10682 echo $ECHO_N "checking for GSSAPI... $ECHO_C" >&6
10685 echo "$as_me:$LINENO: result: $acx_gssapi_cv_gssapi" >&5
10686 echo "${ECHO_T}$acx_gssapi_cv_gssapi" >&6
10689 # Set up GSSAPI includes for later use. We don't bother to check for
10690 # $acx_gssapi_cv_gssapi=no here since that will be caught later.
10692 if test x$acx_gssapi_cv_gssapi = xyes; then
10693 # no special includes necessary
10696 # GSSAPI at $acx_gssapi_cv_gssapi (could be 'no')
10697 GSSAPI_INCLUDES=" -I$acx_gssapi_cv_gssapi/include"
10701 # Get the rest of the information CVS needs to compile with GSSAPI support
10703 if test x$acx_gssapi_cv_gssapi != xno; then
10704 # define HAVE_GSSAPI and set up the includes
10706 cat >>confdefs.h <<\_ACEOF
10707 #define HAVE_GSSAPI
10710 includeopt=$includeopt$GSSAPI_INCLUDES
10712 # locate any other headers
10713 acx_gssapi_save_CPPFLAGS=$CPPFLAGS
10714 CPPFLAGS=$CPPFLAGS$GSSAPI_INCLUDES
10719 for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h krb5.h
10721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10723 echo "$as_me:$LINENO: checking for $ac_header" >&5
10724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10726 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10731 # Is the header compilable?
10732 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10734 cat >conftest.$ac_ext <<_ACEOF
10737 cat confdefs.h >>conftest.$ac_ext
10738 cat >>conftest.$ac_ext <<_ACEOF
10739 /* end confdefs.h. */
10740 $ac_includes_default
10741 #include <$ac_header>
10743 rm -f conftest.$ac_objext
10744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10745 (eval $ac_compile) 2>conftest.er1
10747 grep -v '^ *+' conftest.er1 >conftest.err
10749 cat conftest.err >&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); } &&
10752 { ac_try='test -z "$ac_c_werror_flag"
10753 || test ! -s conftest.err'
10754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10755 (eval $ac_try) 2>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); }; } &&
10759 { ac_try='test -s conftest.$ac_objext'
10760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761 (eval $ac_try) 2>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); }; }; then
10765 ac_header_compiler=yes
10767 echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.$ac_ext >&5
10770 ac_header_compiler=no
10772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10774 echo "${ECHO_T}$ac_header_compiler" >&6
10776 # Is the header present?
10777 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10779 cat >conftest.$ac_ext <<_ACEOF
10782 cat confdefs.h >>conftest.$ac_ext
10783 cat >>conftest.$ac_ext <<_ACEOF
10784 /* end confdefs.h. */
10785 #include <$ac_header>
10787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10790 grep -v '^ *+' conftest.er1 >conftest.err
10792 cat conftest.err >&5
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); } >/dev/null; then
10795 if test -s conftest.err; then
10796 ac_cpp_err=$ac_c_preproc_warn_flag
10797 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10804 if test -z "$ac_cpp_err"; then
10805 ac_header_preproc=yes
10807 echo "$as_me: failed program was:" >&5
10808 sed 's/^/| /' conftest.$ac_ext >&5
10810 ac_header_preproc=no
10812 rm -f conftest.err conftest.$ac_ext
10813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10814 echo "${ECHO_T}$ac_header_preproc" >&6
10816 # So? What about this header?
10817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10822 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10823 ac_header_preproc=yes
10826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10829 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10831 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10833 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10837 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10840 ## --------------------------------- ##
10841 ## Report this to bug-cvs@nongnu.org ##
10842 ## --------------------------------- ##
10845 sed "s/^/$as_me: WARNING: /" >&2
10848 echo "$as_me:$LINENO: checking for $ac_header" >&5
10849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10851 echo $ECHO_N "(cached) $ECHO_C" >&6
10853 eval "$as_ac_Header=\$ac_header_preproc"
10855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10860 cat >>confdefs.h <<_ACEOF
10861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10868 # And look through them for GSS_C_NT_HOSTBASED_SERVICE or its alternatives
10869 echo "$as_me:$LINENO: checking for GSS_C_NT_HOSTBASED_SERVICE" >&5
10870 echo $ECHO_N "checking for GSS_C_NT_HOSTBASED_SERVICE... $ECHO_C" >&6
10871 if test "${acx_gssapi_cv_gss_c_nt_hostbased_service+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 acx_gssapi_cv_gss_c_nt_hostbased_service=no
10876 if test "$ac_cv_header_gssapi_h" = "yes"; then
10877 cat >conftest.$ac_ext <<_ACEOF
10880 cat confdefs.h >>conftest.$ac_ext
10881 cat >>conftest.$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10883 #include <gssapi.h>
10886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10887 $EGREP "GSS_C_NT_HOSTBASED_SERVICE" >/dev/null 2>&1; then
10888 acx_gssapi_cv_gss_c_nt_hostbased_service=yes
10891 cat >conftest.$ac_ext <<_ACEOF
10894 cat confdefs.h >>conftest.$ac_ext
10895 cat >>conftest.$ac_ext <<_ACEOF
10896 /* end confdefs.h. */
10897 #include <gssapi.h>
10900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10901 $EGREP "gss_nt_service_name" >/dev/null 2>&1; then
10902 acx_gssapi_cv_gss_c_nt_hostbased_service=gss_nt_service_name
10911 if test $acx_gssapi_cv_gss_c_nt_hostbased_service = no &&
10912 test "$ac_cv_header_gssapi_gssapi_h" = "yes"; then
10913 cat >conftest.$ac_ext <<_ACEOF
10916 cat confdefs.h >>conftest.$ac_ext
10917 cat >>conftest.$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10919 #include <gssapi/gssapi.h>
10922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10923 $EGREP "GSS_C_NT_HOSTBASED_SERVICE" >/dev/null 2>&1; then
10924 acx_gssapi_cv_gss_c_nt_hostbased_service=yes
10927 cat >conftest.$ac_ext <<_ACEOF
10930 cat confdefs.h >>conftest.$ac_ext
10931 cat >>conftest.$ac_ext <<_ACEOF
10932 /* end confdefs.h. */
10933 #include <gssapi/gssapi.h>
10936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10937 $EGREP "gss_nt_service_name" >/dev/null 2>&1; then
10938 acx_gssapi_cv_gss_c_nt_hostbased_service=gss_nt_service_name
10947 if test $acx_gssapi_cv_gss_c_nt_hostbased_service = no &&
10948 test "$ac_cv_header_gssapi_gssapi_generic_h" = "yes"; then
10949 cat >conftest.$ac_ext <<_ACEOF
10952 cat confdefs.h >>conftest.$ac_ext
10953 cat >>conftest.$ac_ext <<_ACEOF
10954 /* end confdefs.h. */
10955 #include <gssapi/gssapi_generic.h>
10958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10959 $EGREP "GSS_C_NT_HOSTBASED_SERVICE" >/dev/null 2>&1; then
10960 acx_gssapi_cv_gss_c_nt_hostbased_service=yes
10963 cat >conftest.$ac_ext <<_ACEOF
10966 cat confdefs.h >>conftest.$ac_ext
10967 cat >>conftest.$ac_ext <<_ACEOF
10968 /* end confdefs.h. */
10969 #include <gssapi/gssapi_generic.h>
10972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10973 $EGREP "gss_nt_service_name" >/dev/null 2>&1; then
10974 acx_gssapi_cv_gss_c_nt_hostbased_service=gss_nt_service_name
10985 echo "$as_me:$LINENO: result: $acx_gssapi_cv_gss_c_nt_hostbased_service" >&5
10986 echo "${ECHO_T}$acx_gssapi_cv_gss_c_nt_hostbased_service" >&6
10987 if test $acx_gssapi_cv_gss_c_nt_hostbased_service != yes &&
10988 test $acx_gssapi_cv_gss_c_nt_hostbased_service != no; then
10989 # don't define for yes since that means it already means something and
10990 # don't define for no since we'd rather the compiler catch the error
10991 # It's debatable whether we'd prefer that the compiler catch the error
10992 # - it seems our estranged developer is more likely to be familiar with
10993 # the intricacies of the compiler than with those of autoconf, but by
10994 # the same token, maybe we'd rather alert them to the fact that most
10995 # of the support they need to fix the problem is installed if they can
10996 # simply locate the appropriate symbol.
10998 cat >>confdefs.h <<_ACEOF
10999 #define GSS_C_NT_HOSTBASED_SERVICE $acx_gssapi_cv_gss_c_nt_hostbased_service
11004 CPPFLAGS=$acx_gssapi_save_CPPFLAGS
11006 # Expect the libs to be installed parallel to the headers
11008 # We could try once with and once without, but I'm not sure it's worth the
11010 if test x$acx_gssapi_cv_gssapi != xyes; then
11011 if test -z "$LIBS"; then
11012 LIBS="-L$acx_gssapi_cv_gssapi/lib"
11014 LIBS="-L$acx_gssapi_cv_gssapi/lib $LIBS"
11019 # Some of the order below is particular due to library dependencies
11023 # des Heimdal K 0.3d, but Heimdal seems to be set up such
11024 # that it could have been installed from elsewhere.
11026 echo "$as_me:$LINENO: checking for library containing des_set_odd_parity" >&5
11027 echo $ECHO_N "checking for library containing des_set_odd_parity... $ECHO_C" >&6
11028 if test "${ac_cv_search_des_set_odd_parity+set}" = set; then
11029 echo $ECHO_N "(cached) $ECHO_C" >&6
11031 ac_func_search_save_LIBS=$LIBS
11032 ac_cv_search_des_set_odd_parity=no
11033 cat >conftest.$ac_ext <<_ACEOF
11036 cat confdefs.h >>conftest.$ac_ext
11037 cat >>conftest.$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11040 /* Override any gcc2 internal prototype to avoid an error. */
11044 /* We use char because int might match the return type of a gcc2
11045 builtin and then its argument prototype would still apply. */
11046 char des_set_odd_parity ();
11050 des_set_odd_parity ();
11055 rm -f conftest.$ac_objext conftest$ac_exeext
11056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11057 (eval $ac_link) 2>conftest.er1
11059 grep -v '^ *+' conftest.er1 >conftest.err
11061 cat conftest.err >&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); } &&
11064 { ac_try='test -z "$ac_c_werror_flag"
11065 || test ! -s conftest.err'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; } &&
11071 { ac_try='test -s conftest$ac_exeext'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; }; then
11077 ac_cv_search_des_set_odd_parity="none required"
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.$ac_ext >&5
11083 rm -f conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 if test "$ac_cv_search_des_set_odd_parity" = no; then
11086 for ac_lib in des; do
11087 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11088 cat >conftest.$ac_ext <<_ACEOF
11091 cat confdefs.h >>conftest.$ac_ext
11092 cat >>conftest.$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11095 /* Override any gcc2 internal prototype to avoid an error. */
11099 /* We use char because int might match the return type of a gcc2
11100 builtin and then its argument prototype would still apply. */
11101 char des_set_odd_parity ();
11105 des_set_odd_parity ();
11110 rm -f conftest.$ac_objext conftest$ac_exeext
11111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11112 (eval $ac_link) 2>conftest.er1
11114 grep -v '^ *+' conftest.er1 >conftest.err
11116 cat conftest.err >&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); } &&
11119 { ac_try='test -z "$ac_c_werror_flag"
11120 || test ! -s conftest.err'
11121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11122 (eval $ac_try) 2>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; } &&
11126 { ac_try='test -s conftest$ac_exeext'
11127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11128 (eval $ac_try) 2>&5
11130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); }; }; then
11132 ac_cv_search_des_set_odd_parity="-l$ac_lib"
11135 echo "$as_me: failed program was:" >&5
11136 sed 's/^/| /' conftest.$ac_ext >&5
11139 rm -f conftest.err conftest.$ac_objext \
11140 conftest$ac_exeext conftest.$ac_ext
11143 LIBS=$ac_func_search_save_LIBS
11145 echo "$as_me:$LINENO: result: $ac_cv_search_des_set_odd_parity" >&5
11146 echo "${ECHO_T}$ac_cv_search_des_set_odd_parity" >&6
11147 if test "$ac_cv_search_des_set_odd_parity" != no; then
11148 test "$ac_cv_search_des_set_odd_parity" = "none required" || LIBS="$ac_cv_search_des_set_odd_parity $LIBS"
11154 # com_err Heimdal K 0.3d
11156 # com_err MIT K5 v1.2.2-beta1
11158 echo "$as_me:$LINENO: checking for library containing com_err" >&5
11159 echo $ECHO_N "checking for library containing com_err... $ECHO_C" >&6
11160 if test "${ac_cv_search_com_err+set}" = set; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6
11163 ac_func_search_save_LIBS=$LIBS
11164 ac_cv_search_com_err=no
11165 cat >conftest.$ac_ext <<_ACEOF
11168 cat confdefs.h >>conftest.$ac_ext
11169 cat >>conftest.$ac_ext <<_ACEOF
11170 /* end confdefs.h. */
11172 /* Override any gcc2 internal prototype to avoid an error. */
11176 /* We use char because int might match the return type of a gcc2
11177 builtin and then its argument prototype would still apply. */
11187 rm -f conftest.$ac_objext conftest$ac_exeext
11188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11189 (eval $ac_link) 2>conftest.er1
11191 grep -v '^ *+' conftest.er1 >conftest.err
11193 cat conftest.err >&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); } &&
11196 { ac_try='test -z "$ac_c_werror_flag"
11197 || test ! -s conftest.err'
11198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11199 (eval $ac_try) 2>&5
11201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11202 (exit $ac_status); }; } &&
11203 { ac_try='test -s conftest$ac_exeext'
11204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11205 (eval $ac_try) 2>&5
11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208 (exit $ac_status); }; }; then
11209 ac_cv_search_com_err="none required"
11211 echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.$ac_ext >&5
11215 rm -f conftest.err conftest.$ac_objext \
11216 conftest$ac_exeext conftest.$ac_ext
11217 if test "$ac_cv_search_com_err" = no; then
11218 for ac_lib in com_err; do
11219 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11220 cat >conftest.$ac_ext <<_ACEOF
11223 cat confdefs.h >>conftest.$ac_ext
11224 cat >>conftest.$ac_ext <<_ACEOF
11225 /* end confdefs.h. */
11227 /* Override any gcc2 internal prototype to avoid an error. */
11231 /* We use char because int might match the return type of a gcc2
11232 builtin and then its argument prototype would still apply. */
11242 rm -f conftest.$ac_objext conftest$ac_exeext
11243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11244 (eval $ac_link) 2>conftest.er1
11246 grep -v '^ *+' conftest.er1 >conftest.err
11248 cat conftest.err >&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); } &&
11251 { ac_try='test -z "$ac_c_werror_flag"
11252 || test ! -s conftest.err'
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); }; } &&
11258 { ac_try='test -s conftest$ac_exeext'
11259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11260 (eval $ac_try) 2>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; }; then
11264 ac_cv_search_com_err="-l$ac_lib"
11267 echo "$as_me: failed program was:" >&5
11268 sed 's/^/| /' conftest.$ac_ext >&5
11271 rm -f conftest.err conftest.$ac_objext \
11272 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_func_search_save_LIBS
11277 echo "$as_me:$LINENO: result: $ac_cv_search_com_err" >&5
11278 echo "${ECHO_T}$ac_cv_search_com_err" >&6
11279 if test "$ac_cv_search_com_err" != no; then
11280 test "$ac_cv_search_com_err" = "none required" || LIBS="$ac_cv_search_com_err $LIBS"
11286 # asn1 Heimdal K 0.3d -lcom_err
11288 echo "$as_me:$LINENO: checking for library containing initialize_asn1_error_table_r" >&5
11289 echo $ECHO_N "checking for library containing initialize_asn1_error_table_r... $ECHO_C" >&6
11290 if test "${ac_cv_search_initialize_asn1_error_table_r+set}" = set; then
11291 echo $ECHO_N "(cached) $ECHO_C" >&6
11293 ac_func_search_save_LIBS=$LIBS
11294 ac_cv_search_initialize_asn1_error_table_r=no
11295 cat >conftest.$ac_ext <<_ACEOF
11298 cat confdefs.h >>conftest.$ac_ext
11299 cat >>conftest.$ac_ext <<_ACEOF
11300 /* end confdefs.h. */
11302 /* Override any gcc2 internal prototype to avoid an error. */
11306 /* We use char because int might match the return type of a gcc2
11307 builtin and then its argument prototype would still apply. */
11308 char initialize_asn1_error_table_r ();
11312 initialize_asn1_error_table_r ();
11317 rm -f conftest.$ac_objext conftest$ac_exeext
11318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11319 (eval $ac_link) 2>conftest.er1
11321 grep -v '^ *+' conftest.er1 >conftest.err
11323 cat conftest.err >&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); } &&
11326 { ac_try='test -z "$ac_c_werror_flag"
11327 || test ! -s conftest.err'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; } &&
11333 { ac_try='test -s conftest$ac_exeext'
11334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11335 (eval $ac_try) 2>&5
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); }; }; then
11339 ac_cv_search_initialize_asn1_error_table_r="none required"
11341 echo "$as_me: failed program was:" >&5
11342 sed 's/^/| /' conftest.$ac_ext >&5
11345 rm -f conftest.err conftest.$ac_objext \
11346 conftest$ac_exeext conftest.$ac_ext
11347 if test "$ac_cv_search_initialize_asn1_error_table_r" = no; then
11348 for ac_lib in asn1; do
11349 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11350 cat >conftest.$ac_ext <<_ACEOF
11353 cat confdefs.h >>conftest.$ac_ext
11354 cat >>conftest.$ac_ext <<_ACEOF
11355 /* end confdefs.h. */
11357 /* Override any gcc2 internal prototype to avoid an error. */
11361 /* We use char because int might match the return type of a gcc2
11362 builtin and then its argument prototype would still apply. */
11363 char initialize_asn1_error_table_r ();
11367 initialize_asn1_error_table_r ();
11372 rm -f conftest.$ac_objext conftest$ac_exeext
11373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11374 (eval $ac_link) 2>conftest.er1
11376 grep -v '^ *+' conftest.er1 >conftest.err
11378 cat conftest.err >&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } &&
11381 { ac_try='test -z "$ac_c_werror_flag"
11382 || test ! -s conftest.err'
11383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11384 (eval $ac_try) 2>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); }; } &&
11388 { ac_try='test -s conftest$ac_exeext'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; }; then
11394 ac_cv_search_initialize_asn1_error_table_r="-l$ac_lib"
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.$ac_ext >&5
11401 rm -f conftest.err conftest.$ac_objext \
11402 conftest$ac_exeext conftest.$ac_ext
11405 LIBS=$ac_func_search_save_LIBS
11407 echo "$as_me:$LINENO: result: $ac_cv_search_initialize_asn1_error_table_r" >&5
11408 echo "${ECHO_T}$ac_cv_search_initialize_asn1_error_table_r" >&6
11409 if test "$ac_cv_search_initialize_asn1_error_table_r" != no; then
11410 test "$ac_cv_search_initialize_asn1_error_table_r" = "none required" || LIBS="$ac_cv_search_initialize_asn1_error_table_r $LIBS"
11416 # resolv required, but not installed by Heimdal K 0.3d
11418 # resolv MIT K5 1.2.2-beta1
11421 echo "$as_me:$LINENO: checking for library containing __dn_expand" >&5
11422 echo $ECHO_N "checking for library containing __dn_expand... $ECHO_C" >&6
11423 if test "${ac_cv_search___dn_expand+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 ac_func_search_save_LIBS=$LIBS
11427 ac_cv_search___dn_expand=no
11428 cat >conftest.$ac_ext <<_ACEOF
11431 cat confdefs.h >>conftest.$ac_ext
11432 cat >>conftest.$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11435 /* Override any gcc2 internal prototype to avoid an error. */
11439 /* We use char because int might match the return type of a gcc2
11440 builtin and then its argument prototype would still apply. */
11441 char __dn_expand ();
11450 rm -f conftest.$ac_objext conftest$ac_exeext
11451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11452 (eval $ac_link) 2>conftest.er1
11454 grep -v '^ *+' conftest.er1 >conftest.err
11456 cat conftest.err >&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); } &&
11459 { ac_try='test -z "$ac_c_werror_flag"
11460 || test ! -s conftest.err'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; } &&
11466 { ac_try='test -s conftest$ac_exeext'
11467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11468 (eval $ac_try) 2>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); }; }; then
11472 ac_cv_search___dn_expand="none required"
11474 echo "$as_me: failed program was:" >&5
11475 sed 's/^/| /' conftest.$ac_ext >&5
11478 rm -f conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 if test "$ac_cv_search___dn_expand" = no; then
11481 for ac_lib in resolv; do
11482 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11483 cat >conftest.$ac_ext <<_ACEOF
11486 cat confdefs.h >>conftest.$ac_ext
11487 cat >>conftest.$ac_ext <<_ACEOF
11488 /* end confdefs.h. */
11490 /* Override any gcc2 internal prototype to avoid an error. */
11494 /* We use char because int might match the return type of a gcc2
11495 builtin and then its argument prototype would still apply. */
11496 char __dn_expand ();
11505 rm -f conftest.$ac_objext conftest$ac_exeext
11506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11507 (eval $ac_link) 2>conftest.er1
11509 grep -v '^ *+' conftest.er1 >conftest.err
11511 cat conftest.err >&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } &&
11514 { ac_try='test -z "$ac_c_werror_flag"
11515 || test ! -s conftest.err'
11516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11517 (eval $ac_try) 2>&5
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); }; } &&
11521 { ac_try='test -s conftest$ac_exeext'
11522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11523 (eval $ac_try) 2>&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); }; }; then
11527 ac_cv_search___dn_expand="-l$ac_lib"
11530 echo "$as_me: failed program was:" >&5
11531 sed 's/^/| /' conftest.$ac_ext >&5
11534 rm -f conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11538 LIBS=$ac_func_search_save_LIBS
11540 echo "$as_me:$LINENO: result: $ac_cv_search___dn_expand" >&5
11541 echo "${ECHO_T}$ac_cv_search___dn_expand" >&6
11542 if test "$ac_cv_search___dn_expand" != no; then
11543 test "$ac_cv_search___dn_expand" = "none required" || LIBS="$ac_cv_search___dn_expand $LIBS"
11549 # crypto Need by gssapi under FreeBSD 5.4
11551 echo "$as_me:$LINENO: checking for library containing RC4" >&5
11552 echo $ECHO_N "checking for library containing RC4... $ECHO_C" >&6
11553 if test "${ac_cv_search_RC4+set}" = set; then
11554 echo $ECHO_N "(cached) $ECHO_C" >&6
11556 ac_func_search_save_LIBS=$LIBS
11557 ac_cv_search_RC4=no
11558 cat >conftest.$ac_ext <<_ACEOF
11561 cat confdefs.h >>conftest.$ac_ext
11562 cat >>conftest.$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11565 /* Override any gcc2 internal prototype to avoid an error. */
11569 /* We use char because int might match the return type of a gcc2
11570 builtin and then its argument prototype would still apply. */
11580 rm -f conftest.$ac_objext conftest$ac_exeext
11581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11582 (eval $ac_link) 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); } &&
11589 { ac_try='test -z "$ac_c_werror_flag"
11590 || test ! -s conftest.err'
11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592 (eval $ac_try) 2>&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); }; } &&
11596 { ac_try='test -s conftest$ac_exeext'
11597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11598 (eval $ac_try) 2>&5
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); }; }; then
11602 ac_cv_search_RC4="none required"
11604 echo "$as_me: failed program was:" >&5
11605 sed 's/^/| /' conftest.$ac_ext >&5
11608 rm -f conftest.err conftest.$ac_objext \
11609 conftest$ac_exeext conftest.$ac_ext
11610 if test "$ac_cv_search_RC4" = no; then
11611 for ac_lib in crypto; do
11612 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11613 cat >conftest.$ac_ext <<_ACEOF
11616 cat confdefs.h >>conftest.$ac_ext
11617 cat >>conftest.$ac_ext <<_ACEOF
11618 /* end confdefs.h. */
11620 /* Override any gcc2 internal prototype to avoid an error. */
11624 /* We use char because int might match the return type of a gcc2
11625 builtin and then its argument prototype would still apply. */
11635 rm -f conftest.$ac_objext conftest$ac_exeext
11636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11637 (eval $ac_link) 2>conftest.er1
11639 grep -v '^ *+' conftest.er1 >conftest.err
11641 cat conftest.err >&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); } &&
11644 { ac_try='test -z "$ac_c_werror_flag"
11645 || test ! -s conftest.err'
11646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11647 (eval $ac_try) 2>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; } &&
11651 { ac_try='test -s conftest$ac_exeext'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; }; then
11657 ac_cv_search_RC4="-l$ac_lib"
11660 echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.$ac_ext >&5
11664 rm -f conftest.err conftest.$ac_objext \
11665 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_func_search_save_LIBS
11670 echo "$as_me:$LINENO: result: $ac_cv_search_RC4" >&5
11671 echo "${ECHO_T}$ac_cv_search_RC4" >&6
11672 if test "$ac_cv_search_RC4" != no; then
11673 test "$ac_cv_search_RC4" = "none required" || LIBS="$ac_cv_search_RC4 $LIBS"
11679 # crypt Needed by roken under FreeBSD 4.6.
11681 echo "$as_me:$LINENO: checking for library containing crypt" >&5
11682 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6
11683 if test "${ac_cv_search_crypt+set}" = set; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 ac_func_search_save_LIBS=$LIBS
11687 ac_cv_search_crypt=no
11688 cat >conftest.$ac_ext <<_ACEOF
11691 cat confdefs.h >>conftest.$ac_ext
11692 cat >>conftest.$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11695 /* Override any gcc2 internal prototype to avoid an error. */
11699 /* We use char because int might match the return type of a gcc2
11700 builtin and then its argument prototype would still apply. */
11710 rm -f conftest.$ac_objext conftest$ac_exeext
11711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11712 (eval $ac_link) 2>conftest.er1
11714 grep -v '^ *+' conftest.er1 >conftest.err
11716 cat conftest.err >&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); } &&
11719 { ac_try='test -z "$ac_c_werror_flag"
11720 || test ! -s conftest.err'
11721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11722 (eval $ac_try) 2>&5
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); }; } &&
11726 { ac_try='test -s conftest$ac_exeext'
11727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11728 (eval $ac_try) 2>&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }; }; then
11732 ac_cv_search_crypt="none required"
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.$ac_ext >&5
11738 rm -f conftest.err conftest.$ac_objext \
11739 conftest$ac_exeext conftest.$ac_ext
11740 if test "$ac_cv_search_crypt" = no; then
11741 for ac_lib in crypt; do
11742 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11743 cat >conftest.$ac_ext <<_ACEOF
11746 cat confdefs.h >>conftest.$ac_ext
11747 cat >>conftest.$ac_ext <<_ACEOF
11748 /* end confdefs.h. */
11750 /* Override any gcc2 internal prototype to avoid an error. */
11754 /* We use char because int might match the return type of a gcc2
11755 builtin and then its argument prototype would still apply. */
11765 rm -f conftest.$ac_objext conftest$ac_exeext
11766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11767 (eval $ac_link) 2>conftest.er1
11769 grep -v '^ *+' conftest.er1 >conftest.err
11771 cat conftest.err >&5
11772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773 (exit $ac_status); } &&
11774 { ac_try='test -z "$ac_c_werror_flag"
11775 || test ! -s conftest.err'
11776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; } &&
11781 { ac_try='test -s conftest$ac_exeext'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 ac_cv_search_crypt="-l$ac_lib"
11790 echo "$as_me: failed program was:" >&5
11791 sed 's/^/| /' conftest.$ac_ext >&5
11794 rm -f conftest.err conftest.$ac_objext \
11795 conftest$ac_exeext conftest.$ac_ext
11798 LIBS=$ac_func_search_save_LIBS
11800 echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
11801 echo "${ECHO_T}$ac_cv_search_crypt" >&6
11802 if test "$ac_cv_search_crypt" != no; then
11803 test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS"
11809 # roken Heimdal K 0.3d -lresolv
11810 # roken FreeBSD 4.6 -lcrypt
11812 echo "$as_me:$LINENO: checking for library containing roken_gethostbyaddr" >&5
11813 echo $ECHO_N "checking for library containing roken_gethostbyaddr... $ECHO_C" >&6
11814 if test "${ac_cv_search_roken_gethostbyaddr+set}" = set; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11817 ac_func_search_save_LIBS=$LIBS
11818 ac_cv_search_roken_gethostbyaddr=no
11819 cat >conftest.$ac_ext <<_ACEOF
11822 cat confdefs.h >>conftest.$ac_ext
11823 cat >>conftest.$ac_ext <<_ACEOF
11824 /* end confdefs.h. */
11826 /* Override any gcc2 internal prototype to avoid an error. */
11830 /* We use char because int might match the return type of a gcc2
11831 builtin and then its argument prototype would still apply. */
11832 char roken_gethostbyaddr ();
11836 roken_gethostbyaddr ();
11841 rm -f conftest.$ac_objext conftest$ac_exeext
11842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11843 (eval $ac_link) 2>conftest.er1
11845 grep -v '^ *+' conftest.er1 >conftest.err
11847 cat conftest.err >&5
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); } &&
11850 { ac_try='test -z "$ac_c_werror_flag"
11851 || test ! -s conftest.err'
11852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11853 (eval $ac_try) 2>&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); }; } &&
11857 { ac_try='test -s conftest$ac_exeext'
11858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11859 (eval $ac_try) 2>&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); }; }; then
11863 ac_cv_search_roken_gethostbyaddr="none required"
11865 echo "$as_me: failed program was:" >&5
11866 sed 's/^/| /' conftest.$ac_ext >&5
11869 rm -f conftest.err conftest.$ac_objext \
11870 conftest$ac_exeext conftest.$ac_ext
11871 if test "$ac_cv_search_roken_gethostbyaddr" = no; then
11872 for ac_lib in roken; do
11873 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11874 cat >conftest.$ac_ext <<_ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11881 /* Override any gcc2 internal prototype to avoid an error. */
11885 /* We use char because int might match the return type of a gcc2
11886 builtin and then its argument prototype would still apply. */
11887 char roken_gethostbyaddr ();
11891 roken_gethostbyaddr ();
11896 rm -f conftest.$ac_objext conftest$ac_exeext
11897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11898 (eval $ac_link) 2>conftest.er1
11900 grep -v '^ *+' conftest.er1 >conftest.err
11902 cat conftest.err >&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); } &&
11905 { ac_try='test -z "$ac_c_werror_flag"
11906 || test ! -s conftest.err'
11907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908 (eval $ac_try) 2>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); }; } &&
11912 { ac_try='test -s conftest$ac_exeext'
11913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; }; then
11918 ac_cv_search_roken_gethostbyaddr="-l$ac_lib"
11921 echo "$as_me: failed program was:" >&5
11922 sed 's/^/| /' conftest.$ac_ext >&5
11925 rm -f conftest.err conftest.$ac_objext \
11926 conftest$ac_exeext conftest.$ac_ext
11929 LIBS=$ac_func_search_save_LIBS
11931 echo "$as_me:$LINENO: result: $ac_cv_search_roken_gethostbyaddr" >&5
11932 echo "${ECHO_T}$ac_cv_search_roken_gethostbyaddr" >&6
11933 if test "$ac_cv_search_roken_gethostbyaddr" != no; then
11934 test "$ac_cv_search_roken_gethostbyaddr" = "none required" || LIBS="$ac_cv_search_roken_gethostbyaddr $LIBS"
11940 # k5crypto MIT K5 v1.2.2-beta1
11942 echo "$as_me:$LINENO: checking for library containing valid_enctype" >&5
11943 echo $ECHO_N "checking for library containing valid_enctype... $ECHO_C" >&6
11944 if test "${ac_cv_search_valid_enctype+set}" = set; then
11945 echo $ECHO_N "(cached) $ECHO_C" >&6
11947 ac_func_search_save_LIBS=$LIBS
11948 ac_cv_search_valid_enctype=no
11949 cat >conftest.$ac_ext <<_ACEOF
11952 cat confdefs.h >>conftest.$ac_ext
11953 cat >>conftest.$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11956 /* Override any gcc2 internal prototype to avoid an error. */
11960 /* We use char because int might match the return type of a gcc2
11961 builtin and then its argument prototype would still apply. */
11962 char valid_enctype ();
11971 rm -f conftest.$ac_objext conftest$ac_exeext
11972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11973 (eval $ac_link) 2>conftest.er1
11975 grep -v '^ *+' conftest.er1 >conftest.err
11977 cat conftest.err >&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } &&
11980 { ac_try='test -z "$ac_c_werror_flag"
11981 || test ! -s conftest.err'
11982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11983 (eval $ac_try) 2>&5
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); }; } &&
11987 { ac_try='test -s conftest$ac_exeext'
11988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11989 (eval $ac_try) 2>&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); }; }; then
11993 ac_cv_search_valid_enctype="none required"
11995 echo "$as_me: failed program was:" >&5
11996 sed 's/^/| /' conftest.$ac_ext >&5
11999 rm -f conftest.err conftest.$ac_objext \
12000 conftest$ac_exeext conftest.$ac_ext
12001 if test "$ac_cv_search_valid_enctype" = no; then
12002 for ac_lib in k5crypto; do
12003 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12004 cat >conftest.$ac_ext <<_ACEOF
12007 cat confdefs.h >>conftest.$ac_ext
12008 cat >>conftest.$ac_ext <<_ACEOF
12009 /* end confdefs.h. */
12011 /* Override any gcc2 internal prototype to avoid an error. */
12015 /* We use char because int might match the return type of a gcc2
12016 builtin and then its argument prototype would still apply. */
12017 char valid_enctype ();
12026 rm -f conftest.$ac_objext conftest$ac_exeext
12027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12028 (eval $ac_link) 2>conftest.er1
12030 grep -v '^ *+' conftest.er1 >conftest.err
12032 cat conftest.err >&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); } &&
12035 { ac_try='test -z "$ac_c_werror_flag"
12036 || test ! -s conftest.err'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; } &&
12042 { ac_try='test -s conftest$ac_exeext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
12048 ac_cv_search_valid_enctype="-l$ac_lib"
12051 echo "$as_me: failed program was:" >&5
12052 sed 's/^/| /' conftest.$ac_ext >&5
12055 rm -f conftest.err conftest.$ac_objext \
12056 conftest$ac_exeext conftest.$ac_ext
12059 LIBS=$ac_func_search_save_LIBS
12061 echo "$as_me:$LINENO: result: $ac_cv_search_valid_enctype" >&5
12062 echo "${ECHO_T}$ac_cv_search_valid_enctype" >&6
12063 if test "$ac_cv_search_valid_enctype" != no; then
12064 test "$ac_cv_search_valid_enctype" = "none required" || LIBS="$ac_cv_search_valid_enctype $LIBS"
12070 # gen ? ? ? Needed on Irix 5.3 with some
12071 # Irix 5.3 version of Kerberos. I'm not
12072 # sure which since Irix didn't
12073 # get any testing this time
12074 # around. Original comment:
12076 # This is necessary on Irix 5.3, in order to link against libkrb5 --
12077 # there, an_to_ln.o refers to things defined only in -lgen.
12079 echo "$as_me:$LINENO: checking for library containing compile" >&5
12080 echo $ECHO_N "checking for library containing compile... $ECHO_C" >&6
12081 if test "${ac_cv_search_compile+set}" = set; then
12082 echo $ECHO_N "(cached) $ECHO_C" >&6
12084 ac_func_search_save_LIBS=$LIBS
12085 ac_cv_search_compile=no
12086 cat >conftest.$ac_ext <<_ACEOF
12089 cat confdefs.h >>conftest.$ac_ext
12090 cat >>conftest.$ac_ext <<_ACEOF
12091 /* end confdefs.h. */
12093 /* Override any gcc2 internal prototype to avoid an error. */
12097 /* We use char because int might match the return type of a gcc2
12098 builtin and then its argument prototype would still apply. */
12108 rm -f conftest.$ac_objext conftest$ac_exeext
12109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12110 (eval $ac_link) 2>conftest.er1
12112 grep -v '^ *+' conftest.er1 >conftest.err
12114 cat conftest.err >&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); } &&
12117 { ac_try='test -z "$ac_c_werror_flag"
12118 || test ! -s conftest.err'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; } &&
12124 { ac_try='test -s conftest$ac_exeext'
12125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12126 (eval $ac_try) 2>&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); }; }; then
12130 ac_cv_search_compile="none required"
12132 echo "$as_me: failed program was:" >&5
12133 sed 's/^/| /' conftest.$ac_ext >&5
12136 rm -f conftest.err conftest.$ac_objext \
12137 conftest$ac_exeext conftest.$ac_ext
12138 if test "$ac_cv_search_compile" = no; then
12139 for ac_lib in gen; do
12140 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12141 cat >conftest.$ac_ext <<_ACEOF
12144 cat confdefs.h >>conftest.$ac_ext
12145 cat >>conftest.$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12148 /* Override any gcc2 internal prototype to avoid an error. */
12152 /* We use char because int might match the return type of a gcc2
12153 builtin and then its argument prototype would still apply. */
12163 rm -f conftest.$ac_objext conftest$ac_exeext
12164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12165 (eval $ac_link) 2>conftest.er1
12167 grep -v '^ *+' conftest.er1 >conftest.err
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } &&
12172 { ac_try='test -z "$ac_c_werror_flag"
12173 || test ! -s conftest.err'
12174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12175 (eval $ac_try) 2>&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); }; } &&
12179 { ac_try='test -s conftest$ac_exeext'
12180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181 (eval $ac_try) 2>&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; }; then
12185 ac_cv_search_compile="-l$ac_lib"
12188 echo "$as_me: failed program was:" >&5
12189 sed 's/^/| /' conftest.$ac_ext >&5
12192 rm -f conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_func_search_save_LIBS
12198 echo "$as_me:$LINENO: result: $ac_cv_search_compile" >&5
12199 echo "${ECHO_T}$ac_cv_search_compile" >&6
12200 if test "$ac_cv_search_compile" != no; then
12201 test "$ac_cv_search_compile" = "none required" || LIBS="$ac_cv_search_compile $LIBS"
12207 # krb5 ? ? ? -lgen -l???
12210 # krb5 MIT K5 v1.1.1
12212 # krb5 MIT K5 v1.2.2-beta1 -lcrypto -lcom_err
12215 # krb5 MIT K5 v1.2.2-beta1 -lcrypto -lcom_err -lresolv
12217 # krb5 Heimdal K 0.3d -lasn1 -lroken -ldes
12219 echo "$as_me:$LINENO: checking for library containing krb5_free_context" >&5
12220 echo $ECHO_N "checking for library containing krb5_free_context... $ECHO_C" >&6
12221 if test "${ac_cv_search_krb5_free_context+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 ac_func_search_save_LIBS=$LIBS
12225 ac_cv_search_krb5_free_context=no
12226 cat >conftest.$ac_ext <<_ACEOF
12229 cat confdefs.h >>conftest.$ac_ext
12230 cat >>conftest.$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12233 /* Override any gcc2 internal prototype to avoid an error. */
12237 /* We use char because int might match the return type of a gcc2
12238 builtin and then its argument prototype would still apply. */
12239 char krb5_free_context ();
12243 krb5_free_context ();
12248 rm -f conftest.$ac_objext conftest$ac_exeext
12249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12250 (eval $ac_link) 2>conftest.er1
12252 grep -v '^ *+' conftest.er1 >conftest.err
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } &&
12257 { ac_try='test -z "$ac_c_werror_flag"
12258 || test ! -s conftest.err'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; } &&
12264 { ac_try='test -s conftest$ac_exeext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_cv_search_krb5_free_context="none required"
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12276 rm -f conftest.err conftest.$ac_objext \
12277 conftest$ac_exeext conftest.$ac_ext
12278 if test "$ac_cv_search_krb5_free_context" = no; then
12279 for ac_lib in krb5; do
12280 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12281 cat >conftest.$ac_ext <<_ACEOF
12284 cat confdefs.h >>conftest.$ac_ext
12285 cat >>conftest.$ac_ext <<_ACEOF
12286 /* end confdefs.h. */
12288 /* Override any gcc2 internal prototype to avoid an error. */
12292 /* We use char because int might match the return type of a gcc2
12293 builtin and then its argument prototype would still apply. */
12294 char krb5_free_context ();
12298 krb5_free_context ();
12303 rm -f conftest.$ac_objext conftest$ac_exeext
12304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12305 (eval $ac_link) 2>conftest.er1
12307 grep -v '^ *+' conftest.er1 >conftest.err
12309 cat conftest.err >&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } &&
12312 { ac_try='test -z "$ac_c_werror_flag"
12313 || test ! -s conftest.err'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; } &&
12319 { ac_try='test -s conftest$ac_exeext'
12320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321 (eval $ac_try) 2>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }; }; then
12325 ac_cv_search_krb5_free_context="-l$ac_lib"
12328 echo "$as_me: failed program was:" >&5
12329 sed 's/^/| /' conftest.$ac_ext >&5
12332 rm -f conftest.err conftest.$ac_objext \
12333 conftest$ac_exeext conftest.$ac_ext
12336 LIBS=$ac_func_search_save_LIBS
12338 echo "$as_me:$LINENO: result: $ac_cv_search_krb5_free_context" >&5
12339 echo "${ECHO_T}$ac_cv_search_krb5_free_context" >&6
12340 if test "$ac_cv_search_krb5_free_context" != no; then
12341 test "$ac_cv_search_krb5_free_context" = "none required" || LIBS="$ac_cv_search_krb5_free_context $LIBS"
12347 # gss This may be the only lib needed under HP-UX, so find it
12350 # gssapi_krb5 Only lib needed with MIT K5 v1.2.1, so find it first in
12351 # order to prefer MIT Kerberos. If both MIT & Heimdal
12352 # Kerberos are installed and in the path, this will leave
12353 # some of the libraries above in LIBS unnecessarily, but
12354 # noone would ever do that, right?
12358 # gssapi_krb5 MIT K5 v1.2.2-beta1 -lkrb5
12360 # gssapi Heimdal K 0.3d -lkrb5
12362 echo "$as_me:$LINENO: checking for library containing gss_import_name" >&5
12363 echo $ECHO_N "checking for library containing gss_import_name... $ECHO_C" >&6
12364 if test "${ac_cv_search_gss_import_name+set}" = set; then
12365 echo $ECHO_N "(cached) $ECHO_C" >&6
12367 ac_func_search_save_LIBS=$LIBS
12368 ac_cv_search_gss_import_name=no
12369 cat >conftest.$ac_ext <<_ACEOF
12372 cat confdefs.h >>conftest.$ac_ext
12373 cat >>conftest.$ac_ext <<_ACEOF
12374 /* end confdefs.h. */
12376 /* Override any gcc2 internal prototype to avoid an error. */
12380 /* We use char because int might match the return type of a gcc2
12381 builtin and then its argument prototype would still apply. */
12382 char gss_import_name ();
12386 gss_import_name ();
12391 rm -f conftest.$ac_objext conftest$ac_exeext
12392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12393 (eval $ac_link) 2>conftest.er1
12395 grep -v '^ *+' conftest.er1 >conftest.err
12397 cat conftest.err >&5
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); } &&
12400 { ac_try='test -z "$ac_c_werror_flag"
12401 || test ! -s conftest.err'
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; } &&
12407 { ac_try='test -s conftest$ac_exeext'
12408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409 (eval $ac_try) 2>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); }; }; then
12413 ac_cv_search_gss_import_name="none required"
12415 echo "$as_me: failed program was:" >&5
12416 sed 's/^/| /' conftest.$ac_ext >&5
12419 rm -f conftest.err conftest.$ac_objext \
12420 conftest$ac_exeext conftest.$ac_ext
12421 if test "$ac_cv_search_gss_import_name" = no; then
12422 for ac_lib in gss gssapi_krb5 gssapi; do
12423 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12424 cat >conftest.$ac_ext <<_ACEOF
12427 cat confdefs.h >>conftest.$ac_ext
12428 cat >>conftest.$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12431 /* Override any gcc2 internal prototype to avoid an error. */
12435 /* We use char because int might match the return type of a gcc2
12436 builtin and then its argument prototype would still apply. */
12437 char gss_import_name ();
12441 gss_import_name ();
12446 rm -f conftest.$ac_objext conftest$ac_exeext
12447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12448 (eval $ac_link) 2>conftest.er1
12450 grep -v '^ *+' conftest.er1 >conftest.err
12452 cat conftest.err >&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); } &&
12455 { ac_try='test -z "$ac_c_werror_flag"
12456 || test ! -s conftest.err'
12457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12458 (eval $ac_try) 2>&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); }; } &&
12462 { ac_try='test -s conftest$ac_exeext'
12463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12464 (eval $ac_try) 2>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); }; }; then
12468 ac_cv_search_gss_import_name="-l$ac_lib"
12471 echo "$as_me: failed program was:" >&5
12472 sed 's/^/| /' conftest.$ac_ext >&5
12475 rm -f conftest.err conftest.$ac_objext \
12476 conftest$ac_exeext conftest.$ac_ext
12479 LIBS=$ac_func_search_save_LIBS
12481 echo "$as_me:$LINENO: result: $ac_cv_search_gss_import_name" >&5
12482 echo "${ECHO_T}$ac_cv_search_gss_import_name" >&6
12483 if test "$ac_cv_search_gss_import_name" != no; then
12484 test "$ac_cv_search_gss_import_name" = "none required" || LIBS="$ac_cv_search_gss_import_name $LIBS"
12495 # Let the confiscator request a specific editor
12497 # Check whether --with-editor or --without-editor was given.
12498 if test "${with_editor+set}" = set; then
12499 withval="$with_editor"
12505 # If --with-editor was supplied with an argument, let it override $EDITOR from
12506 # the user's environment. We need to unset EDITOR here because AC_CHECK_PROGS
12507 # will let the value of EDITOR ride when it is set rather than searching. We
12508 # ignore the --without-editor case since it will be caught below.
12509 if test -n "$EDITOR" && test yes != $with_editor; then
12510 $as_unset EDITOR || test "${EDITOR+set}" != set || { EDITOR=; export EDITOR; }
12513 # Set the default when --with-editor wasn't supplied or when it was supplied
12514 # without an argument.
12515 if test yes = $with_editor; then
12516 with_editor="vim vi emacs nano pico edit"
12519 if echo $with_editor |grep ^/ >/dev/null; then
12520 # If $with_editor is an absolute path, issue a warning if the executable
12521 # doesn't exist or isn't usable, but then trust the user and use it
12523 EDITOR=$with_editor
12524 echo "$as_me:$LINENO: checking for an editor" >&5
12525 echo $ECHO_N "checking for an editor... $ECHO_C" >&6
12526 echo "$as_me:$LINENO: result: $EDITOR" >&5
12527 echo "${ECHO_T}$EDITOR" >&6
12528 if ! test -f $with_editor \
12529 || ! test -x $with_editor; then
12530 # warn the user that they may encounter problems
12531 { echo "$as_me:$LINENO: WARNING: \`$with_editor' is not a path to an executable file" >&5
12532 echo "$as_me: WARNING: \`$with_editor' is not a path to an executable file" >&2;}
12534 elif test no != "${with_editor}"; then
12535 # Search for an editor
12536 for ac_prog in $with_editor
12538 # Extract the first word of "$ac_prog", so it can be a program name with args.
12539 set dummy $ac_prog; ac_word=$2
12540 echo "$as_me:$LINENO: checking for $ac_word" >&5
12541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12542 if test "${ac_cv_prog_EDITOR+set}" = set; then
12543 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 if test -n "$EDITOR"; then
12546 ac_cv_prog_EDITOR="$EDITOR" # Let the user override the test.
12548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12549 for as_dir in $PATH
12552 test -z "$as_dir" && as_dir=.
12553 for ac_exec_ext in '' $ac_executable_extensions; do
12554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12555 ac_cv_prog_EDITOR="$ac_prog"
12556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12564 EDITOR=$ac_cv_prog_EDITOR
12565 if test -n "$EDITOR"; then
12566 echo "$as_me:$LINENO: result: $EDITOR" >&5
12567 echo "${ECHO_T}$EDITOR" >&6
12569 echo "$as_me:$LINENO: result: no" >&5
12570 echo "${ECHO_T}no" >&6
12573 test -n "$EDITOR" && break
12575 test -n "$EDITOR" || EDITOR="no"
12577 if test no = "${EDITOR}"; then
12578 { { echo "$as_me:$LINENO: error:
12579 Failed to find a text file editor. CVS cannot be compiled
12580 without a default log message editor. Searched for
12581 \`$with_editor'. Try \`configure --with-editor'." >&5
12582 echo "$as_me: error:
12583 Failed to find a text file editor. CVS cannot be compiled
12584 without a default log message editor. Searched for
12585 \`$with_editor'. Try \`configure --with-editor'." >&2;}
12586 { (exit 1); exit 1; }; }
12589 { { echo "$as_me:$LINENO: error:
12590 CVS cannot be compiled without a default log message editor.
12591 Try \`configure --with-editor'." >&5
12592 echo "$as_me: error:
12593 CVS cannot be compiled without a default log message editor.
12594 Try \`configure --with-editor'." >&2;}
12595 { (exit 1); exit 1; }; }
12599 cat >>confdefs.h <<_ACEOF
12600 #define EDITOR_DFLT "$EDITOR"
12606 # What remote shell transport should our client cvs default to using?
12608 # Check whether --with-rsh or --without-rsh was given.
12609 if test "${with_rsh+set}" = set; then
12610 withval="$with_rsh"
12613 with_rsh="remsh rsh ssh"
12616 if test no = "$with_rsh"; then
12617 { echo "$as_me:$LINENO: WARNING: Failed to find usable remote shell. Using 'rsh'." >&5
12618 echo "$as_me: WARNING: Failed to find usable remote shell. Using 'rsh'." >&2;}
12620 elif test yes = "$with_rsh"; then
12621 # Make --with-rsh mean the same thing as --with-rsh=rsh
12625 if echo $with_rsh |grep ^/ >/dev/null; then
12626 # If $with_rsh is an absolute path, issue a warning if the executable
12627 # doesn't exist or isn't usable, but then trust the user and use it
12629 with_default_rsh=$with_rsh
12630 echo "$as_me:$LINENO: checking for a remote shell" >&5
12631 echo $ECHO_N "checking for a remote shell... $ECHO_C" >&6
12632 if ! test -f $with_rsh \
12633 || ! test -x $with_rsh; then
12634 # warn the user that they may encounter problems
12635 { echo "$as_me:$LINENO: WARNING: $with_rsh is not a path to an executable file" >&5
12636 echo "$as_me: WARNING: $with_rsh is not a path to an executable file" >&2;}
12639 # Search for a remote shell
12640 for ac_prog in $with_rsh
12642 # Extract the first word of "$ac_prog", so it can be a program name with args.
12643 set dummy $ac_prog; ac_word=$2
12644 echo "$as_me:$LINENO: checking for $ac_word" >&5
12645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12646 if test "${ac_cv_prog_with_default_rsh+set}" = set; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12649 if test -n "$with_default_rsh"; then
12650 ac_cv_prog_with_default_rsh="$with_default_rsh" # Let the user override the test.
12652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12653 for as_dir in $PATH
12656 test -z "$as_dir" && as_dir=.
12657 for ac_exec_ext in '' $ac_executable_extensions; do
12658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12659 ac_cv_prog_with_default_rsh="$ac_prog"
12660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12668 with_default_rsh=$ac_cv_prog_with_default_rsh
12669 if test -n "$with_default_rsh"; then
12670 echo "$as_me:$LINENO: result: $with_default_rsh" >&5
12671 echo "${ECHO_T}$with_default_rsh" >&6
12673 echo "$as_me:$LINENO: result: no" >&5
12674 echo "${ECHO_T}no" >&6
12677 test -n "$with_default_rsh" && break
12679 test -n "$with_default_rsh" || with_default_rsh=""rsh""
12684 cat >>confdefs.h <<_ACEOF
12685 #define RSH_DFLT "$with_default_rsh"
12691 # Check whether --with-tmpdir or --without-tmpdir was given.
12692 if test "${with_tmpdir+set}" = set; then
12693 withval="$with_tmpdir"
12697 echo "$as_me:$LINENO: checking for temporary directory" >&5
12698 echo $ECHO_N "checking for temporary directory... $ECHO_C" >&6
12699 if test -z "$with_tmpdir" || test yes = "$with_tmpdir"; then
12700 for with_tmpdir in /tmp /var/tmp no; do
12701 if test -d "$with_tmpdir" && test -x "$with_tmpdir" \
12702 && test -w "$with_tmpdir" && test -r "$with_tmpdir"; then
12706 if test no = "$with_tmpdir"; then
12707 { echo "$as_me:$LINENO: WARNING: Failed to find usable temporary directory. Using '/tmp'." >&5
12708 echo "$as_me: WARNING: Failed to find usable temporary directory. Using '/tmp'." >&2;}
12711 echo "$as_me:$LINENO: result: $with_tmpdir" >&5
12712 echo "${ECHO_T}$with_tmpdir" >&6
12713 elif ! echo "$with_tmpdir" |grep '^[\\/]'; then
12714 echo "$as_me:$LINENO: result: $with_tmpdir" >&5
12715 echo "${ECHO_T}$with_tmpdir" >&6
12716 { { echo "$as_me:$LINENO: error: --with-tmpdir requires an absolute path." >&5
12717 echo "$as_me: error: --with-tmpdir requires an absolute path." >&2;}
12718 { (exit 1); exit 1; }; }
12719 elif ! test -d "$with_tmpdir" || ! test -x "$with_tmpdir" \
12720 || ! test -w "$with_tmpdir" || ! test -r "$with_tmpdir"; then
12721 echo "$as_me:$LINENO: result: $with_tmpdir" >&5
12722 echo "${ECHO_T}$with_tmpdir" >&6
12723 { echo "$as_me:$LINENO: WARNING: User supplied temporary directory ('$with_tmpdir') does not
12724 exist or lacks sufficient permissions for read/write." >&5
12725 echo "$as_me: WARNING: User supplied temporary directory ('$with_tmpdir') does not
12726 exist or lacks sufficient permissions for read/write." >&2;}
12730 cat >>confdefs.h <<_ACEOF
12731 #define TMPDIR_DFLT "$with_tmpdir"
12739 # Check whether --with-umask or --without-umask was given.
12740 if test "${with_umask+set}" = set; then
12741 withval="$with_umask"
12745 if test -z "$with_umask" || test yes = "$with_umask"; then
12747 elif test no = "$with_umask"; then
12752 cat >>confdefs.h <<_ACEOF
12753 #define UMASK_DFLT $with_umask
12759 # Check whether --with-cvs-admin-group or --without-cvs-admin-group was given.
12760 if test "${with_cvs_admin_group+set}" = set; then
12761 withval="$with_cvs_admin_group"
12764 with_cvs_admin_group=cvsadmin
12767 if test yes = "$with_cvs_admin_group"; then
12768 with_cvs_admin_group=cvsadmin
12770 if test no != "$with_cvs_admin_group"; then
12772 cat >>confdefs.h <<_ACEOF
12773 #define CVS_ADMIN_GROUP "$with_cvs_admin_group"
12779 # Check whether --enable-cvs-ndbm or --disable-cvs-ndbm was given.
12780 if test "${enable_cvs_ndbm+set}" = set; then
12781 enableval="$enable_cvs_ndbm"
12784 enable_cvs_ndbm=yes
12786 if test no != "$enable_cvs_ndbm"; then
12788 cat >>confdefs.h <<\_ACEOF
12801 # Check for options requesting client and server feature. If none are
12802 # given and we have connect(), we want the full client & server arrangement.
12803 # Check whether --enable-client or --disable-client was given.
12804 if test "${enable_client+set}" = set; then
12805 enableval="$enable_client"
12808 if test "$ac_cv_search_connect" != no; then
12812 if test no != "$enable_client"; then
12814 cat >>confdefs.h <<\_ACEOF
12815 #define CLIENT_SUPPORT 1
12820 # Check whether --enable-password-authenticated-client or --disable-password-authenticated-client was given.
12821 if test "${enable_password_authenticated_client+set}" = set; then
12822 enableval="$enable_password_authenticated_client"
12826 if test no != "$enable_password_authenticated_client"; then
12827 if test no != "$enable_client"; then
12829 cat >>confdefs.h <<\_ACEOF
12830 #define AUTH_CLIENT_SUPPORT 1
12834 { echo "$as_me:$LINENO: WARNING: --enable-password-authenticated-client is meaningless with
12835 the CVS client disabled (--disable-client)" >&5
12836 echo "$as_me: WARNING: --enable-password-authenticated-client is meaningless with
12837 the CVS client disabled (--disable-client)" >&2;}
12842 # Check whether --enable-server or --disable-server was given.
12843 if test "${enable_server+set}" = set; then
12844 enableval="$enable_server"
12847 if test "$ac_cv_search_connect" != no; then
12852 if test no != "$enable_server"; then
12854 cat >>confdefs.h <<\_ACEOF
12855 #define SERVER_SUPPORT 1
12859 echo "$as_me:$LINENO: checking for library containing crypt" >&5
12860 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6
12861 if test "${ac_cv_search_crypt+set}" = set; then
12862 echo $ECHO_N "(cached) $ECHO_C" >&6
12864 ac_func_search_save_LIBS=$LIBS
12865 ac_cv_search_crypt=no
12866 cat >conftest.$ac_ext <<_ACEOF
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12873 /* Override any gcc2 internal prototype to avoid an error. */
12877 /* We use char because int might match the return type of a gcc2
12878 builtin and then its argument prototype would still apply. */
12888 rm -f conftest.$ac_objext conftest$ac_exeext
12889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12890 (eval $ac_link) 2>conftest.er1
12892 grep -v '^ *+' conftest.er1 >conftest.err
12894 cat conftest.err >&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); } &&
12897 { ac_try='test -z "$ac_c_werror_flag"
12898 || test ! -s conftest.err'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; } &&
12904 { ac_try='test -s conftest$ac_exeext'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12910 ac_cv_search_crypt="none required"
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12916 rm -f conftest.err conftest.$ac_objext \
12917 conftest$ac_exeext conftest.$ac_ext
12918 if test "$ac_cv_search_crypt" = no; then
12919 for ac_lib in crypt; do
12920 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12921 cat >conftest.$ac_ext <<_ACEOF
12924 cat confdefs.h >>conftest.$ac_ext
12925 cat >>conftest.$ac_ext <<_ACEOF
12926 /* end confdefs.h. */
12928 /* Override any gcc2 internal prototype to avoid an error. */
12932 /* We use char because int might match the return type of a gcc2
12933 builtin and then its argument prototype would still apply. */
12943 rm -f conftest.$ac_objext conftest$ac_exeext
12944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12945 (eval $ac_link) 2>conftest.er1
12947 grep -v '^ *+' conftest.er1 >conftest.err
12949 cat conftest.err >&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); } &&
12952 { ac_try='test -z "$ac_c_werror_flag"
12953 || test ! -s conftest.err'
12954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12955 (eval $ac_try) 2>&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); }; } &&
12959 { ac_try='test -s conftest$ac_exeext'
12960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12961 (eval $ac_try) 2>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); }; }; then
12965 ac_cv_search_crypt="-l$ac_lib"
12968 echo "$as_me: failed program was:" >&5
12969 sed 's/^/| /' conftest.$ac_ext >&5
12972 rm -f conftest.err conftest.$ac_objext \
12973 conftest$ac_exeext conftest.$ac_ext
12976 LIBS=$ac_func_search_save_LIBS
12978 echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
12979 echo "${ECHO_T}$ac_cv_search_crypt" >&6
12980 if test "$ac_cv_search_crypt" != no; then
12981 test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS"
12983 cat >>confdefs.h <<\_ACEOF
12984 #define HAVE_CRYPT 1
12988 cat >>confdefs.h <<\_ACEOF
12989 #define AUTH_SERVER_SUPPORT 1
12994 # Check whether --enable-server-flow-control or --disable-server-flow-control was given.
12995 if test "${enable_server_flow_control+set}" = set; then
12996 enableval="$enable_server_flow_control"
12997 if test yes = $enable_server_flow_control; then
12998 enable_server_flow_control=1M,2M
13001 enable_server_flow_control=1M,2M
13003 if test no != $enable_server_flow_control; then
13004 ccvs_lwm=`expr "$enable_server_flow_control" : '\(.*\),'`
13005 ccvs_hwm=`expr "$enable_server_flow_control" : '.*,\(.*\)'`
13006 ccvs_lwm_E=`expr "$ccvs_lwm" : '[0-9][0-9]*\(.*\)'`
13007 ccvs_lwm=`expr "$ccvs_lwm" : '\([0-9][0-9]*\)'`
13008 test "" != "$ccvs_lwm" || ccvs_lwm_E="?"
13009 case $ccvs_lwm_E in
13010 G) ccvs_lwm="$ccvs_lwm * 1024 * 1024 * 1024";;
13011 M) ccvs_lwm="$ccvs_lwm * 1024 * 1024";;
13012 k) ccvs_lwm="$ccvs_lwm * 1024";;
13014 *) { { echo "$as_me:$LINENO: error: Can't parse argument to --enable-server-flow-control
13015 ('$enable_server_flow_control') as <lwm>,<hwm>" >&5
13016 echo "$as_me: error: Can't parse argument to --enable-server-flow-control
13017 ('$enable_server_flow_control') as <lwm>,<hwm>" >&2;}
13018 { (exit 1); exit 1; }; }
13020 ccvs_hwm_E=`expr "$ccvs_hwm" : '[0-9][0-9]*\(.*\)'`
13021 ccvs_hwm=`expr "$ccvs_hwm" : '\([0-9][0-9]*\).*'`
13022 test "" != "$ccvs_hwm" || ccvs_hwm_E="?"
13023 case $ccvs_hwm_E in
13024 G) ccvs_hwm="$ccvs_hwm * 1024 * 1024 * 1024";;
13025 M) ccvs_hwm="$ccvs_hwm * 1024 * 1024";;
13026 k) ccvs_hwm="$ccvs_hwm * 1024";;
13027 b | '') ccvs_hwm="$ccvs_hwm";;
13028 *) { { echo "$as_me:$LINENO: error: Can't parse argument to --enable-server-flow-control
13029 ('$enable_server_flow_control') as <lwm>,<hwm>" >&5
13030 echo "$as_me: error: Can't parse argument to --enable-server-flow-control
13031 ('$enable_server_flow_control') as <lwm>,<hwm>" >&2;}
13032 { (exit 1); exit 1; }; }
13036 cat >>confdefs.h <<\_ACEOF
13037 #define SERVER_FLOWCONTROL 1
13041 cat >>confdefs.h <<_ACEOF
13042 #define SERVER_LO_WATER ($ccvs_lwm)
13046 cat >>confdefs.h <<_ACEOF
13047 #define SERVER_HI_WATER ($ccvs_hwm)
13050 fi # enable_server_flow_control
13055 # Check whether --enable-case-sensitivity or --disable-case-sensitivity was given.
13056 if test "${enable_case_sensitivity+set}" = set; then
13057 enableval="$enable_case_sensitivity"
13058 case "$enable_case_sensitivity" in
13059 yes | no | auto) ;;
13061 { { echo "$as_me:$LINENO: error: Unrecognized argument to --enable-case-sensitivity: \`$enable_case_sensitivity'. Acceptable values are \`yes', \`no', and \`auto'." >&5
13062 echo "$as_me: error: Unrecognized argument to --enable-case-sensitivity: \`$enable_case_sensitivity'. Acceptable values are \`yes', \`no', and \`auto'." >&2;}
13063 { (exit 1); exit 1; }; }
13067 enable_case_sensitivity=auto
13070 acx_forced=' (forced)'
13071 echo "$as_me:$LINENO: checking for a case sensitive file system" >&5
13072 echo $ECHO_N "checking for a case sensitive file system... $ECHO_C" >&6
13073 if test $enable_case_sensitivity = auto; then
13074 if test "${acx_cv_case_sensitive+set}" = set; then
13075 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 rm -f ac_TEST_filenames_CASE_sensitive
13078 echo foo >ac_test_filenames_case_sensitive
13079 if test -f ac_TEST_filenames_CASE_sensitive; then
13080 acx_cv_case_sensitive=no
13082 acx_cv_case_sensitive=yes
13084 rm ac_test_filenames_case_sensitive
13088 enable_case_sensitivity=$acx_cv_case_sensitive
13091 echo "$as_me:$LINENO: result: $enable_case_sensitivity$acx_forced" >&5
13092 echo "${ECHO_T}$enable_case_sensitivity$acx_forced" >&6
13093 if test $enable_case_sensitivity = no; then
13095 cat >>confdefs.h <<\_ACEOF
13096 #define FILENAMES_CASE_INSENSITIVE 1
13100 "fncase.$ac_objext" | \
13101 *" fncase.$ac_objext" | \
13102 "fncase.$ac_objext "* | \
13103 *" fncase.$ac_objext "* ) ;;
13104 *) LIBOBJS="$LIBOBJS fncase.$ac_objext" ;;
13112 # Check whether --enable-encryption or --disable-encryption was given.
13113 if test "${enable_encryption+set}" = set; then
13114 enableval="$enable_encryption"
13117 enable_encryption=no
13119 if test "$enable_encryption" = yes; then
13120 if test no != "$with_client" || test no != "$with_server"; then
13122 cat >>confdefs.h <<\_ACEOF
13123 #define ENCRYPTION 1
13127 { echo "$as_me:$LINENO: WARNING: --enable-encryption is meaningless when neither the CVS client
13128 nor the CVS server is enabled (--disable-client and --disable-server)." >&5
13129 echo "$as_me: WARNING: --enable-encryption is meaningless when neither the CVS client
13130 nor the CVS server is enabled (--disable-client and --disable-server)." >&2;}
13137 # Check whether --enable-force-editor or --disable-force-editor was given.
13138 if test "${enable_force_editor+set}" = set; then
13139 enableval="$enable_force_editor"
13142 enable_force_editor=no
13145 if test yes = "$enable_force_editor"; then
13147 cat >>confdefs.h <<\_ACEOF
13148 #define FORCE_USE_EDITOR 1
13156 # Check whether --enable-rootcommit or --disable-rootcommit was given.
13157 if test "${enable_rootcommit+set}" = set; then
13158 enableval="$enable_rootcommit"
13161 enable_rootcommit=no
13163 if test "$enable_rootcommit" = no; then
13165 cat >>confdefs.h <<\_ACEOF
13166 #define CVS_BADROOT 1
13178 echo "$as_me:$LINENO: checking for cygwin32" >&5
13179 echo $ECHO_N "checking for cygwin32... $ECHO_C" >&6
13180 if test "${ccvs_cv_sys_cygwin32+set}" = set; then
13181 echo $ECHO_N "(cached) $ECHO_C" >&6
13183 cat >conftest.$ac_ext <<_ACEOF
13186 cat confdefs.h >>conftest.$ac_ext
13187 cat >>conftest.$ac_ext <<_ACEOF
13188 /* end confdefs.h. */
13193 return __CYGWIN32__;
13198 rm -f conftest.$ac_objext
13199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13200 (eval $ac_compile) 2>conftest.er1
13202 grep -v '^ *+' conftest.er1 >conftest.err
13204 cat conftest.err >&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); } &&
13207 { ac_try='test -z "$ac_c_werror_flag"
13208 || test ! -s conftest.err'
13209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13210 (eval $ac_try) 2>&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); }; } &&
13214 { ac_try='test -s conftest.$ac_objext'
13215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13216 (eval $ac_try) 2>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); }; }; then
13220 ccvs_cv_sys_cygwin32=yes
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.$ac_ext >&5
13225 ccvs_cv_sys_cygwin32=no
13227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13229 echo "$as_me:$LINENO: result: $ccvs_cv_sys_cygwin32" >&5
13230 echo "${ECHO_T}$ccvs_cv_sys_cygwin32" >&6
13231 if test $ccvs_cv_sys_cygwin32 = yes; then
13232 LIBS="$LIBS -ladvapi32"
13235 cat >>confdefs.h <<\_ACEOF
13236 #define UTIME_EXPECTS_WRITABLE 1
13241 cat >>confdefs.h <<\_ACEOF
13242 #define USE_SETMODE_STDOUT 1
13246 cat >>confdefs.h <<\_ACEOF
13247 #define HAVE_SETMODE 1
13252 ac_config_files="$ac_config_files contrib/check_cvs"
13254 ac_config_files="$ac_config_files contrib/clmerge"
13256 ac_config_files="$ac_config_files contrib/cln_hist"
13258 ac_config_files="$ac_config_files contrib/commit_prep"
13260 ac_config_files="$ac_config_files contrib/cvs_acls"
13262 ac_config_files="$ac_config_files contrib/log"
13264 ac_config_files="$ac_config_files contrib/log_accum"
13266 ac_config_files="$ac_config_files contrib/mfpipe"
13268 ac_config_files="$ac_config_files contrib/pvcs2rcs"
13270 ac_config_files="$ac_config_files contrib/rcs2log:contrib/rcs2log.sh"
13272 ac_config_files="$ac_config_files contrib/rcslock"
13274 ac_config_files="$ac_config_files contrib/sccs2rcs"
13276 ac_config_files="$ac_config_files doc/mkman:doc/mkman.pl"
13278 ac_config_files="$ac_config_files src/cvsbug"
13280 ac_config_files="$ac_config_files windows-NT/fix-msvc-mak:windows-NT/fix-msvc-mak-head.pl:windows-NT/fix-msvc-mak.pl"
13283 ac_config_files="$ac_config_files Makefile contrib/Makefile cvs.spec diff/Makefile doc/Makefile emx/Makefile lib/Makefile man/Makefile os2/Makefile src/Makefile tools/Makefile vms/Makefile windows-NT/Makefile windows-NT/SCC/Makefile zlib/Makefile"
13286 cat >confcache <<\_ACEOF
13287 # This file is a shell script that caches the results of configure
13288 # tests run on this system so they can be shared between configure
13289 # scripts and configure runs, see configure's option --config-cache.
13290 # It is not useful on other systems. If it contains results you don't
13291 # want to keep, you may remove or edit it.
13293 # config.status only pays attention to the cache file if you give it
13294 # the --recheck option to rerun configure.
13296 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13297 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13298 # following values.
13302 # The following way of writing the cache mishandles newlines in values,
13303 # but we know of no workaround that is simple, portable, and efficient.
13304 # So, don't put newlines in cache variables' values.
13305 # Ultrix sh set writes to stderr and can't be redirected directly,
13306 # and sets the high bit in the cache file unless we assign to the vars.
13309 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13311 # `set' does not quote correctly, so add quotes (double-quote
13312 # substitution turns \\\\ into \\, and sed turns \\ into \).
13315 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13318 # `set' quotes correctly as required by POSIX, so do not add quotes.
13320 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13327 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13329 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13331 if diff $cache_file confcache >/dev/null 2>&1; then :; else
13332 if test -w $cache_file; then
13333 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13334 cat confcache >$cache_file
13336 echo "not updating unwritable cache $cache_file"
13341 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13342 # Let make expand exec_prefix.
13343 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13345 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13346 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13347 # trailing colons and then remove the whole line if VPATH becomes empty
13348 # (actually we leave an empty line to preserve line numbers).
13349 if test "x$srcdir" = x.; then
13350 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13351 s/:*\$(srcdir):*/:/;
13352 s/:*\${srcdir}:*/:/;
13354 s/^\([^=]*=[ ]*\):*/\1/;
13360 DEFS=-DHAVE_CONFIG_H
13364 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13365 # 1. Remove the extension, and $U if already installed.
13366 ac_i=`echo "$ac_i" |
13367 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13369 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
13370 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
13372 LIBOBJS=$ac_libobjs
13374 LTLIBOBJS=$ac_ltlibobjs
13377 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13378 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13379 Usually this means the macro was only invoked conditionally." >&5
13380 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13381 Usually this means the macro was only invoked conditionally." >&2;}
13382 { (exit 1); exit 1; }; }
13384 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13385 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13386 Usually this means the macro was only invoked conditionally." >&5
13387 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13388 Usually this means the macro was only invoked conditionally." >&2;}
13389 { (exit 1); exit 1; }; }
13391 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13392 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13393 Usually this means the macro was only invoked conditionally." >&5
13394 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13395 Usually this means the macro was only invoked conditionally." >&2;}
13396 { (exit 1); exit 1; }; }
13398 if test -z "${MAKE_TARGETS_IN_VPATH_TRUE}" && test -z "${MAKE_TARGETS_IN_VPATH_FALSE}"; then
13399 { { echo "$as_me:$LINENO: error: conditional \"MAKE_TARGETS_IN_VPATH\" was never defined.
13400 Usually this means the macro was only invoked conditionally." >&5
13401 echo "$as_me: error: conditional \"MAKE_TARGETS_IN_VPATH\" was never defined.
13402 Usually this means the macro was only invoked conditionally." >&2;}
13403 { (exit 1); exit 1; }; }
13406 : ${CONFIG_STATUS=./config.status}
13407 ac_clean_files_save=$ac_clean_files
13408 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13409 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13410 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13411 cat >$CONFIG_STATUS <<_ACEOF
13413 # Generated by $as_me.
13414 # Run this file to recreate the current configuration.
13415 # Compiler output produced by configure, useful for debugging
13416 # configure, is in config.log if it exists.
13419 ac_cs_recheck=false
13421 SHELL=\${CONFIG_SHELL-$SHELL}
13424 cat >>$CONFIG_STATUS <<\_ACEOF
13425 ## --------------------- ##
13426 ## M4sh Initialization. ##
13427 ## --------------------- ##
13429 # Be Bourne compatible
13430 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13433 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13434 # is contrary to our usage. Disable this feature.
13435 alias -g '${1+"$@"}'='"$@"'
13436 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
13439 DUALCASE=1; export DUALCASE # for MKS sh
13441 # Support unset when possible.
13442 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13449 # Work around bugs in pre-3.0 UWIN ksh.
13450 $as_unset ENV MAIL MAILPATH
13457 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13458 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13459 LC_TELEPHONE LC_TIME
13461 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13462 eval $as_var=C; export $as_var
13468 # Required to use basename.
13469 if expr a : '\(a\)' >/dev/null 2>&1; then
13475 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
13476 as_basename=basename
13482 # Name of the executable.
13483 as_me=`$as_basename "$0" ||
13484 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13485 X"$0" : 'X\(//\)$' \| \
13486 X"$0" : 'X\(/\)$' \| \
13487 . : '\(.\)' 2>/dev/null ||
13489 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13490 /^X\/\(\/\/\)$/{ s//\1/; q; }
13491 /^X\/\(\/\).*/{ s//\1/; q; }
13495 # PATH needs CR, and LINENO needs CR and PATH.
13496 # Avoid depending upon Character Ranges.
13497 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13498 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13499 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13500 as_cr_digits='0123456789'
13501 as_cr_alnum=$as_cr_Letters$as_cr_digits
13503 # The user is always right.
13504 if test "${PATH_SEPARATOR+set}" != set; then
13505 echo "#! /bin/sh" >conf$$.sh
13506 echo "exit 0" >>conf$$.sh
13508 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13517 as_lineno_1=$LINENO
13518 as_lineno_2=$LINENO
13519 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13520 test "x$as_lineno_1" != "x$as_lineno_2" &&
13521 test "x$as_lineno_3" = "x$as_lineno_2" || {
13522 # Find who we are. Look in the path if we contain no path at all
13525 *[\\/]* ) as_myself=$0 ;;
13526 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13527 for as_dir in $PATH
13530 test -z "$as_dir" && as_dir=.
13531 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13536 # We did not find ourselves, most probably we were run as `sh COMMAND'
13537 # in which case we are not to be found in the path.
13538 if test "x$as_myself" = x; then
13541 if test ! -f "$as_myself"; then
13542 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13543 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13544 { (exit 1); exit 1; }; }
13546 case $CONFIG_SHELL in
13548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13549 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
13552 test -z "$as_dir" && as_dir=.
13553 for as_base in sh bash ksh sh5; do
13556 if ("$as_dir/$as_base" -c '
13557 as_lineno_1=$LINENO
13558 as_lineno_2=$LINENO
13559 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13560 test "x$as_lineno_1" != "x$as_lineno_2" &&
13561 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
13562 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
13563 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
13564 CONFIG_SHELL=$as_dir/$as_base
13565 export CONFIG_SHELL
13566 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13574 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13575 # uniformly replaced by the line number. The first 'sed' inserts a
13576 # line-number line before each line; the second 'sed' does the real
13577 # work. The second script uses 'N' to pair each line-number line
13578 # with the numbered line, and appends trailing '-' during
13579 # substitution so that $LINENO is not a special case at line end.
13580 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13581 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13582 sed '=' <$as_myself |
13587 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13590 s,^['$as_cr_digits']*\n,,
13591 ' >$as_me.lineno &&
13592 chmod +x $as_me.lineno ||
13593 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13594 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13595 { (exit 1); exit 1; }; }
13597 # Don't try to exec as it changes $[0], causing all sort of problems
13598 # (the dirname of $[0] is not the place where we might find the
13599 # original and so on. Autoconf is especially sensible to this).
13601 # Exit status is that of the last command.
13606 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13607 *c*,-n*) ECHO_N= ECHO_C='
13609 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
13610 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
13613 if expr a : '\(a\)' >/dev/null 2>&1; then
13619 rm -f conf$$ conf$$.exe conf$$.file
13621 if ln -s conf$$.file conf$$ 2>/dev/null; then
13622 # We could just check for DJGPP; but this test a) works b) is more generic
13623 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13624 if test -f conf$$.exe; then
13625 # Don't use ln at all; we don't have any links
13630 elif ln conf$$.file conf$$ 2>/dev/null; then
13635 rm -f conf$$ conf$$.exe conf$$.file
13637 if mkdir -p . 2>/dev/null; then
13640 test -d ./-p && rmdir ./-p
13644 as_executable_p="test -f"
13646 # Sed expression to map a string onto a valid CPP name.
13647 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13649 # Sed expression to map a string onto a valid variable name.
13650 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13654 # We need space, tab and new line, in precisely that order.
13664 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13665 # report actual input values of CONFIG_FILES etc. instead of their
13666 # values after options handling. Logging --version etc. is OK.
13670 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13671 ## Running $as_me. ##
13676 This file was extended by Concurrent Versions System (CVS) $as_me 1.11.22, which was
13677 generated by GNU Autoconf 2.59. Invocation command line was
13679 CONFIG_FILES = $CONFIG_FILES
13680 CONFIG_HEADERS = $CONFIG_HEADERS
13681 CONFIG_LINKS = $CONFIG_LINKS
13682 CONFIG_COMMANDS = $CONFIG_COMMANDS
13686 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13690 # Files that config.status was made for.
13691 if test -n "$ac_config_files"; then
13692 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13695 if test -n "$ac_config_headers"; then
13696 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13699 if test -n "$ac_config_links"; then
13700 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13703 if test -n "$ac_config_commands"; then
13704 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13707 cat >>$CONFIG_STATUS <<\_ACEOF
13710 \`$as_me' instantiates files from templates according to the
13711 current configuration.
13713 Usage: $0 [OPTIONS] [FILE]...
13715 -h, --help print this help, then exit
13716 -V, --version print version number, then exit
13717 -q, --quiet do not print progress messages
13718 -d, --debug don't remove temporary files
13719 --recheck update $as_me by reconfiguring in the same conditions
13720 --file=FILE[:TEMPLATE]
13721 instantiate the configuration file FILE
13722 --header=FILE[:TEMPLATE]
13723 instantiate the configuration header FILE
13725 Configuration files:
13728 Configuration headers:
13731 Configuration links:
13734 Configuration commands:
13737 Report bugs to <bug-autoconf@gnu.org>."
13740 cat >>$CONFIG_STATUS <<_ACEOF
13742 Concurrent Versions System (CVS) config.status 1.11.22
13743 configured by $0, generated by GNU Autoconf 2.59,
13744 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13746 Copyright (C) 2003 Free Software Foundation, Inc.
13747 This config.status script is free software; the Free Software Foundation
13748 gives unlimited permission to copy, distribute and modify it."
13753 cat >>$CONFIG_STATUS <<\_ACEOF
13754 # If no file are specified by the user, then we need to provide default
13755 # value. By we need to know if files were specified by the user.
13761 ac_option=`expr "x$1" : 'x\([^=]*\)='`
13762 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
13770 *) # This is not an option, so the user has probably given explicit
13773 ac_need_defaults=false;;
13777 # Handling of the options.
13779 cat >>$CONFIG_STATUS <<\_ACEOF
13780 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13782 --version | --vers* | -V )
13783 echo "$ac_cs_version"; exit 0 ;;
13785 # Conflict between --help and --header
13786 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13787 Try \`$0 --help' for more information." >&5
13788 echo "$as_me: error: ambiguous option: $1
13789 Try \`$0 --help' for more information." >&2;}
13790 { (exit 1); exit 1; }; };;
13791 --help | --hel | -h )
13792 echo "$ac_cs_usage"; exit 0 ;;
13793 --debug | --d* | -d )
13795 --file | --fil | --fi | --f )
13797 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13798 ac_need_defaults=false;;
13799 --header | --heade | --head | --hea )
13801 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13802 ac_need_defaults=false;;
13803 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13804 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13807 # This is an error.
13808 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13809 Try \`$0 --help' for more information." >&5
13810 echo "$as_me: error: unrecognized option: $1
13811 Try \`$0 --help' for more information." >&2;}
13812 { (exit 1); exit 1; }; } ;;
13814 *) ac_config_targets="$ac_config_targets $1" ;;
13820 ac_configure_extra_args=
13822 if $ac_cs_silent; then
13824 ac_configure_extra_args="$ac_configure_extra_args --silent"
13828 cat >>$CONFIG_STATUS <<_ACEOF
13829 if \$ac_cs_recheck; then
13830 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13831 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13836 cat >>$CONFIG_STATUS <<_ACEOF
13838 # INIT-COMMANDS section.
13841 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13847 cat >>$CONFIG_STATUS <<\_ACEOF
13848 for ac_config_target in $ac_config_targets
13850 case "$ac_config_target" in
13851 # Handling of arguments.
13852 "contrib/check_cvs" ) CONFIG_FILES="$CONFIG_FILES contrib/check_cvs" ;;
13853 "contrib/clmerge" ) CONFIG_FILES="$CONFIG_FILES contrib/clmerge" ;;
13854 "contrib/cln_hist" ) CONFIG_FILES="$CONFIG_FILES contrib/cln_hist" ;;
13855 "contrib/commit_prep" ) CONFIG_FILES="$CONFIG_FILES contrib/commit_prep" ;;
13856 "contrib/cvs_acls" ) CONFIG_FILES="$CONFIG_FILES contrib/cvs_acls" ;;
13857 "contrib/log" ) CONFIG_FILES="$CONFIG_FILES contrib/log" ;;
13858 "contrib/log_accum" ) CONFIG_FILES="$CONFIG_FILES contrib/log_accum" ;;
13859 "contrib/mfpipe" ) CONFIG_FILES="$CONFIG_FILES contrib/mfpipe" ;;
13860 "contrib/pvcs2rcs" ) CONFIG_FILES="$CONFIG_FILES contrib/pvcs2rcs" ;;
13861 "contrib/rcs2log" ) CONFIG_FILES="$CONFIG_FILES contrib/rcs2log:contrib/rcs2log.sh" ;;
13862 "contrib/rcslock" ) CONFIG_FILES="$CONFIG_FILES contrib/rcslock" ;;
13863 "contrib/sccs2rcs" ) CONFIG_FILES="$CONFIG_FILES contrib/sccs2rcs" ;;
13864 "doc/mkman" ) CONFIG_FILES="$CONFIG_FILES doc/mkman:doc/mkman.pl" ;;
13865 "src/cvsbug" ) CONFIG_FILES="$CONFIG_FILES src/cvsbug" ;;
13866 "windows-NT/fix-msvc-mak" ) CONFIG_FILES="$CONFIG_FILES windows-NT/fix-msvc-mak:windows-NT/fix-msvc-mak-head.pl:windows-NT/fix-msvc-mak.pl" ;;
13867 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13868 "contrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
13869 "cvs.spec" ) CONFIG_FILES="$CONFIG_FILES cvs.spec" ;;
13870 "diff/Makefile" ) CONFIG_FILES="$CONFIG_FILES diff/Makefile" ;;
13871 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13872 "emx/Makefile" ) CONFIG_FILES="$CONFIG_FILES emx/Makefile" ;;
13873 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
13874 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13875 "os2/Makefile" ) CONFIG_FILES="$CONFIG_FILES os2/Makefile" ;;
13876 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13877 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
13878 "vms/Makefile" ) CONFIG_FILES="$CONFIG_FILES vms/Makefile" ;;
13879 "windows-NT/Makefile" ) CONFIG_FILES="$CONFIG_FILES windows-NT/Makefile" ;;
13880 "windows-NT/SCC/Makefile" ) CONFIG_FILES="$CONFIG_FILES windows-NT/SCC/Makefile" ;;
13881 "zlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES zlib/Makefile" ;;
13882 "lib/fnmatch.h" ) CONFIG_LINKS="$CONFIG_LINKS lib/fnmatch.h:lib/fnmatch.h.in" ;;
13883 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13884 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13885 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13886 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13887 { (exit 1); exit 1; }; };;
13891 # If the user did not use the arguments to specify the items to instantiate,
13892 # then the envvar interface is used. Set only those that are not.
13893 # We use the long form for the default assignment because of an extremely
13894 # bizarre bug on SunOS 4.1.3.
13895 if $ac_need_defaults; then
13896 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13897 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13898 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
13899 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13902 # Have a temporary directory for convenience. Make it in the build tree
13903 # simply because there is no reason to put it here, and in addition,
13904 # creating and moving files from /tmp can sometimes cause problems.
13905 # Create a temporary directory, and hook for its removal unless debugging.
13908 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13909 trap '{ (exit 1); exit 1; }' 1 2 13 15
13912 # Create a (secure) tmp directory for tmp files.
13915 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13916 test -n "$tmp" && test -d "$tmp"
13919 tmp=./confstat$$-$RANDOM
13920 (umask 077 && mkdir $tmp)
13923 echo "$me: cannot create a temporary directory in ." >&2
13924 { (exit 1); exit 1; }
13929 cat >>$CONFIG_STATUS <<_ACEOF
13932 # CONFIG_FILES section.
13935 # No need to generate the scripts if there are no CONFIG_FILES.
13936 # This happens for instance when ./config.status config.h
13937 if test -n "\$CONFIG_FILES"; then
13938 # Protect against being on the right side of a sed subst in config.status.
13939 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13940 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13941 s,@SHELL@,$SHELL,;t t
13942 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13943 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13944 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13945 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13946 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13947 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13948 s,@exec_prefix@,$exec_prefix,;t t
13949 s,@prefix@,$prefix,;t t
13950 s,@program_transform_name@,$program_transform_name,;t t
13951 s,@bindir@,$bindir,;t t
13952 s,@sbindir@,$sbindir,;t t
13953 s,@libexecdir@,$libexecdir,;t t
13954 s,@datadir@,$datadir,;t t
13955 s,@sysconfdir@,$sysconfdir,;t t
13956 s,@sharedstatedir@,$sharedstatedir,;t t
13957 s,@localstatedir@,$localstatedir,;t t
13958 s,@libdir@,$libdir,;t t
13959 s,@includedir@,$includedir,;t t
13960 s,@oldincludedir@,$oldincludedir,;t t
13961 s,@infodir@,$infodir,;t t
13962 s,@mandir@,$mandir,;t t
13963 s,@build_alias@,$build_alias,;t t
13964 s,@host_alias@,$host_alias,;t t
13965 s,@target_alias@,$target_alias,;t t
13966 s,@DEFS@,$DEFS,;t t
13967 s,@ECHO_C@,$ECHO_C,;t t
13968 s,@ECHO_N@,$ECHO_N,;t t
13969 s,@ECHO_T@,$ECHO_T,;t t
13970 s,@LIBS@,$LIBS,;t t
13971 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13972 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13973 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13974 s,@CYGPATH_W@,$CYGPATH_W,;t t
13975 s,@PACKAGE@,$PACKAGE,;t t
13976 s,@VERSION@,$VERSION,;t t
13977 s,@ACLOCAL@,$ACLOCAL,;t t
13978 s,@AUTOCONF@,$AUTOCONF,;t t
13979 s,@AUTOMAKE@,$AUTOMAKE,;t t
13980 s,@AUTOHEADER@,$AUTOHEADER,;t t
13981 s,@MAKEINFO@,$MAKEINFO,;t t
13982 s,@install_sh@,$install_sh,;t t
13983 s,@STRIP@,$STRIP,;t t
13984 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13985 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13986 s,@mkdir_p@,$mkdir_p,;t t
13988 s,@SET_MAKE@,$SET_MAKE,;t t
13989 s,@am__leading_dot@,$am__leading_dot,;t t
13990 s,@AMTAR@,$AMTAR,;t t
13991 s,@am__tar@,$am__tar,;t t
13992 s,@am__untar@,$am__untar,;t t
13993 s,@ac_prefix_program@,$ac_prefix_program,;t t
13994 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13995 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13996 s,@MAINT@,$MAINT,;t t
13998 s,@CFLAGS@,$CFLAGS,;t t
13999 s,@LDFLAGS@,$LDFLAGS,;t t
14000 s,@CPPFLAGS@,$CPPFLAGS,;t t
14001 s,@ac_ct_CC@,$ac_ct_CC,;t t
14002 s,@EXEEXT@,$EXEEXT,;t t
14003 s,@OBJEXT@,$OBJEXT,;t t
14004 s,@DEPDIR@,$DEPDIR,;t t
14005 s,@am__include@,$am__include,;t t
14006 s,@am__quote@,$am__quote,;t t
14007 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
14008 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
14009 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
14010 s,@CCDEPMODE@,$CCDEPMODE,;t t
14011 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
14012 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
14014 s,@EGREP@,$EGREP,;t t
14015 s,@RANLIB@,$RANLIB,;t t
14016 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14017 s,@YACC@,$YACC,;t t
14018 s,@LN_S@,$LN_S,;t t
14019 s,@PERL@,$PERL,;t t
14021 s,@MKTEMP@,$MKTEMP,;t t
14022 s,@SENDMAIL@,$SENDMAIL,;t t
14024 s,@ROFF@,$ROFF,;t t
14025 s,@PS2PDF@,$PS2PDF,;t t
14026 s,@TEXI2DVI@,$TEXI2DVI,;t t
14027 s,@MAKE_TARGETS_IN_VPATH_TRUE@,$MAKE_TARGETS_IN_VPATH_TRUE,;t t
14028 s,@MAKE_TARGETS_IN_VPATH_FALSE@,$MAKE_TARGETS_IN_VPATH_FALSE,;t t
14029 s,@LIBOBJS@,$LIBOBJS,;t t
14030 s,@KRB4@,$KRB4,;t t
14031 s,@includeopt@,$includeopt,;t t
14032 s,@EDITOR@,$EDITOR,;t t
14033 s,@with_default_rsh@,$with_default_rsh,;t t
14034 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14035 /@MKTEMP_SH_FUNCTION@/r $MKTEMP_SH_FUNCTION
14036 s,@MKTEMP_SH_FUNCTION@,,;t t
14041 cat >>$CONFIG_STATUS <<\_ACEOF
14042 # Split the substitutions into bite-sized pieces for seds with
14043 # small command number limits, like on Digital OSF/1 and HP-UX.
14044 ac_max_sed_lines=48
14045 ac_sed_frag=1 # Number of current file.
14046 ac_beg=1 # First line for current file.
14047 ac_end=$ac_max_sed_lines # Line after last line for current file.
14050 while $ac_more_lines; do
14051 if test $ac_beg -gt 1; then
14052 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14054 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14056 if test ! -s $tmp/subs.frag; then
14057 ac_more_lines=false
14059 # The purpose of the label and of the branching condition is to
14060 # speed up the sed processing (if there are no `@' at all, there
14061 # is no need to browse any of the substitutions).
14062 # These are the two extra sed commands mentioned above.
14064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14065 if test -z "$ac_sed_cmds"; then
14066 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14068 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14070 ac_sed_frag=`expr $ac_sed_frag + 1`
14072 ac_end=`expr $ac_end + $ac_max_sed_lines`
14075 if test -z "$ac_sed_cmds"; then
14078 fi # test -n "$CONFIG_FILES"
14081 cat >>$CONFIG_STATUS <<\_ACEOF
14082 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14083 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14085 - | *:- | *:-:* ) # input from stdin
14087 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14088 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14089 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14090 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14091 * ) ac_file_in=$ac_file.in ;;
14094 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14095 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14096 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14097 X"$ac_file" : 'X\(//\)[^/]' \| \
14098 X"$ac_file" : 'X\(//\)$' \| \
14099 X"$ac_file" : 'X\(/\)' \| \
14100 . : '\(.\)' 2>/dev/null ||
14102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14104 /^X\(\/\/\)$/{ s//\1/; q; }
14105 /^X\(\/\).*/{ s//\1/; q; }
14107 { if $as_mkdir_p; then
14112 while test ! -d "$as_dir"; do
14113 as_dirs="$as_dir $as_dirs"
14114 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14115 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14116 X"$as_dir" : 'X\(//\)[^/]' \| \
14117 X"$as_dir" : 'X\(//\)$' \| \
14118 X"$as_dir" : 'X\(/\)' \| \
14119 . : '\(.\)' 2>/dev/null ||
14121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14122 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14123 /^X\(\/\/\)$/{ s//\1/; q; }
14124 /^X\(\/\).*/{ s//\1/; q; }
14127 test ! -n "$as_dirs" || mkdir $as_dirs
14128 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14129 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14130 { (exit 1); exit 1; }; }; }
14134 if test "$ac_dir" != .; then
14135 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14136 # A "../" for each directory in $ac_dir_suffix.
14137 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14139 ac_dir_suffix= ac_top_builddir=
14143 .) # No --srcdir option. We are building in place.
14145 if test -z "$ac_top_builddir"; then
14148 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14150 [\\/]* | ?:[\\/]* ) # Absolute path.
14151 ac_srcdir=$srcdir$ac_dir_suffix;
14152 ac_top_srcdir=$srcdir ;;
14153 *) # Relative path.
14154 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14155 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14158 # Do not use `cd foo && pwd` to compute absolute paths, because
14159 # the directories may not exist.
14161 .) ac_abs_builddir="$ac_dir";;
14164 .) ac_abs_builddir=`pwd`;;
14165 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
14166 *) ac_abs_builddir=`pwd`/"$ac_dir";;
14169 case $ac_abs_builddir in
14170 .) ac_abs_top_builddir=${ac_top_builddir}.;;
14172 case ${ac_top_builddir}. in
14173 .) ac_abs_top_builddir=$ac_abs_builddir;;
14174 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14175 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
14178 case $ac_abs_builddir in
14179 .) ac_abs_srcdir=$ac_srcdir;;
14182 .) ac_abs_srcdir=$ac_abs_builddir;;
14183 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14184 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
14187 case $ac_abs_builddir in
14188 .) ac_abs_top_srcdir=$ac_top_srcdir;;
14190 case $ac_top_srcdir in
14191 .) ac_abs_top_srcdir=$ac_abs_builddir;;
14192 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14193 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
14199 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14200 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14203 if test x"$ac_file" != x-; then
14204 { echo "$as_me:$LINENO: creating $ac_file" >&5
14205 echo "$as_me: creating $ac_file" >&6;}
14208 # Let's still pretend it is `configure' which instantiates (i.e., don't
14209 # use $as_me), people would be surprised to read:
14210 # /* config.h. Generated by config.status. */
14211 if test x"$ac_file" = x-; then
14214 configure_input="$ac_file. "
14216 configure_input=$configure_input"Generated from `echo $ac_file_in |
14217 sed 's,.*/,,'` by configure."
14219 # First look for the input files in the build tree, otherwise in the
14221 ac_file_inputs=`IFS=:
14222 for f in $ac_file_in; do
14224 -) echo $tmp/stdin ;;
14226 # Absolute (can't be DOS-style, as IFS=:)
14227 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14228 echo "$as_me: error: cannot find input file: $f" >&2;}
14229 { (exit 1); exit 1; }; }
14232 if test -f "$f"; then
14235 elif test -f "$srcdir/$f"; then
14240 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14241 echo "$as_me: error: cannot find input file: $f" >&2;}
14242 { (exit 1); exit 1; }; }
14245 done` || { (exit 1); exit 1; }
14247 cat >>$CONFIG_STATUS <<_ACEOF
14251 cat >>$CONFIG_STATUS <<\_ACEOF
14253 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14254 s,@configure_input@,$configure_input,;t t
14255 s,@srcdir@,$ac_srcdir,;t t
14256 s,@abs_srcdir@,$ac_abs_srcdir,;t t
14257 s,@top_srcdir@,$ac_top_srcdir,;t t
14258 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
14259 s,@builddir@,$ac_builddir,;t t
14260 s,@abs_builddir@,$ac_abs_builddir,;t t
14261 s,@top_builddir@,$ac_top_builddir,;t t
14262 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
14263 s,@INSTALL@,$ac_INSTALL,;t t
14264 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14266 if test x"$ac_file" != x-; then
14267 mv $tmp/out $ac_file
14273 # Run the commands associated with the file.
14275 contrib/check_cvs ) chmod +x contrib/check_cvs ;;
14276 contrib/clmerge ) chmod +x contrib/clmerge ;;
14277 contrib/cln_hist ) chmod +x contrib/cln_hist ;;
14278 contrib/commit_prep ) chmod +x contrib/commit_prep ;;
14279 contrib/cvs_acls ) chmod +x contrib/cvs_acls ;;
14280 contrib/log ) chmod +x contrib/log ;;
14281 contrib/log_accum ) chmod +x contrib/log_accum ;;
14282 contrib/mfpipe ) chmod +x contrib/mfpipe ;;
14283 contrib/pvcs2rcs ) chmod +x contrib/pvcs2rcs ;;
14284 contrib/rcs2log ) chmod +x contrib/rcs2log ;;
14285 contrib/rcslock ) chmod +x contrib/rcslock ;;
14286 contrib/sccs2rcs ) chmod +x contrib/sccs2rcs ;;
14287 doc/mkman ) chmod +x doc/mkman ;;
14288 src/cvsbug ) chmod +x src/cvsbug ;;
14289 windows-NT/fix-msvc-mak ) chmod +x windows-NT/fix-msvc-mak ;;
14293 cat >>$CONFIG_STATUS <<\_ACEOF
14296 # CONFIG_HEADER section.
14299 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14300 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14302 # ac_d sets the value in "#define NAME VALUE" lines.
14303 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14304 ac_dB='[ ].*$,\1#\2'
14307 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14308 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14309 ac_uB='$,\1#\2define\3'
14313 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
14314 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14316 - | *:- | *:-:* ) # input from stdin
14318 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14319 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14320 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14321 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14322 * ) ac_file_in=$ac_file.in ;;
14325 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
14326 echo "$as_me: creating $ac_file" >&6;}
14328 # First look for the input files in the build tree, otherwise in the
14330 ac_file_inputs=`IFS=:
14331 for f in $ac_file_in; do
14333 -) echo $tmp/stdin ;;
14335 # Absolute (can't be DOS-style, as IFS=:)
14336 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14337 echo "$as_me: error: cannot find input file: $f" >&2;}
14338 { (exit 1); exit 1; }; }
14339 # Do quote $f, to prevent DOS paths from being IFS'd.
14342 if test -f "$f"; then
14345 elif test -f "$srcdir/$f"; then
14350 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14351 echo "$as_me: error: cannot find input file: $f" >&2;}
14352 { (exit 1); exit 1; }; }
14355 done` || { (exit 1); exit 1; }
14356 # Remove the trailing spaces.
14357 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14361 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14362 # `conftest.undefs', that substitutes the proper values into
14363 # config.h.in to produce config.h. The first handles `#define'
14364 # templates, and the second `#undef' templates.
14365 # And first: Protect against being on the right side of a sed subst in
14366 # config.status. Protect against being in an unquoted here document
14367 # in config.status.
14368 rm -f conftest.defines conftest.undefs
14369 # Using a here document instead of a string reduces the quoting nightmare.
14370 # Putting comments in sed scripts is not portable.
14372 # `end' is used to avoid that the second main sed command (meant for
14373 # 0-ary CPP macros) applies to n-ary macro definitions.
14374 # See the Autoconf documentation for `clear'.
14375 cat >confdef2sed.sed <<\_ACEOF
14380 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14382 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14385 # If some macros were called several times there might be several times
14386 # the same #defines, which is useless. Nevertheless, we may not want to
14387 # sort them, since we want the *last* AC-DEFINE to be honored.
14388 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14389 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14390 rm -f confdef2sed.sed
14392 # This sed command replaces #undef with comments. This is necessary, for
14393 # example, in the case of _POSIX_SOURCE, which is predefined and required
14394 # on some systems where configure will not decide to define it.
14395 cat >>conftest.undefs <<\_ACEOF
14396 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14399 # Break up conftest.defines because some shells have a limit on the size
14400 # of here documents, and old seds have small limits too (100 cmds).
14401 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14402 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14403 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14404 echo ' :' >>$CONFIG_STATUS
14405 rm -f conftest.tail
14406 while grep . conftest.defines >/dev/null
14408 # Write a limited-size here document to $tmp/defines.sed.
14409 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14410 # Speed up: don't consider the non `#define' lines.
14411 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14412 # Work around the forget-to-reset-the-flag bug.
14413 echo 't clr' >>$CONFIG_STATUS
14414 echo ': clr' >>$CONFIG_STATUS
14415 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
14417 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14419 mv $tmp/out $tmp/in
14421 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
14422 rm -f conftest.defines
14423 mv conftest.tail conftest.defines
14425 rm -f conftest.defines
14426 echo ' fi # grep' >>$CONFIG_STATUS
14427 echo >>$CONFIG_STATUS
14429 # Break up conftest.undefs because some shells have a limit on the size
14430 # of here documents, and old seds have small limits too (100 cmds).
14431 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14432 rm -f conftest.tail
14433 while grep . conftest.undefs >/dev/null
14435 # Write a limited-size here document to $tmp/undefs.sed.
14436 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14437 # Speed up: don't consider the non `#undef'
14438 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14439 # Work around the forget-to-reset-the-flag bug.
14440 echo 't clr' >>$CONFIG_STATUS
14441 echo ': clr' >>$CONFIG_STATUS
14442 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14444 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14446 mv $tmp/out $tmp/in
14448 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14449 rm -f conftest.undefs
14450 mv conftest.tail conftest.undefs
14452 rm -f conftest.undefs
14454 cat >>$CONFIG_STATUS <<\_ACEOF
14455 # Let's still pretend it is `configure' which instantiates (i.e., don't
14456 # use $as_me), people would be surprised to read:
14457 # /* config.h. Generated by config.status. */
14458 if test x"$ac_file" = x-; then
14459 echo "/* Generated by configure. */" >$tmp/config.h
14461 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14463 cat $tmp/in >>$tmp/config.h
14465 if test x"$ac_file" != x-; then
14466 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
14467 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14468 echo "$as_me: $ac_file is unchanged" >&6;}
14470 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14471 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14472 X"$ac_file" : 'X\(//\)[^/]' \| \
14473 X"$ac_file" : 'X\(//\)$' \| \
14474 X"$ac_file" : 'X\(/\)' \| \
14475 . : '\(.\)' 2>/dev/null ||
14477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14478 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14479 /^X\(\/\/\)$/{ s//\1/; q; }
14480 /^X\(\/\).*/{ s//\1/; q; }
14482 { if $as_mkdir_p; then
14487 while test ! -d "$as_dir"; do
14488 as_dirs="$as_dir $as_dirs"
14489 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14491 X"$as_dir" : 'X\(//\)[^/]' \| \
14492 X"$as_dir" : 'X\(//\)$' \| \
14493 X"$as_dir" : 'X\(/\)' \| \
14494 . : '\(.\)' 2>/dev/null ||
14496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14497 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14498 /^X\(\/\/\)$/{ s//\1/; q; }
14499 /^X\(\/\).*/{ s//\1/; q; }
14502 test ! -n "$as_dirs" || mkdir $as_dirs
14503 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14504 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14505 { (exit 1); exit 1; }; }; }
14508 mv $tmp/config.h $ac_file
14512 rm -f $tmp/config.h
14514 # Compute $ac_file's index in $config_headers.
14516 for _am_header in $config_headers :; do
14517 case $_am_header in
14518 $ac_file | $ac_file:* )
14521 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14524 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14525 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14526 X$ac_file : 'X\(//\)[^/]' \| \
14527 X$ac_file : 'X\(//\)$' \| \
14528 X$ac_file : 'X\(/\)' \| \
14529 . : '\(.\)' 2>/dev/null ||
14531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14532 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14533 /^X\(\/\/\)$/{ s//\1/; q; }
14534 /^X\(\/\).*/{ s//\1/; q; }
14535 s/.*/./; q'`/stamp-h$_am_stamp_count
14538 cat >>$CONFIG_STATUS <<\_ACEOF
14541 # CONFIG_LINKS section.
14544 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
14545 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
14546 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
14548 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
14549 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
14551 if test ! -r $srcdir/$ac_source; then
14552 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
14553 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
14554 { (exit 1); exit 1; }; }
14558 # Make relative symlinks.
14559 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
14560 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14561 X"$ac_dest" : 'X\(//\)[^/]' \| \
14562 X"$ac_dest" : 'X\(//\)$' \| \
14563 X"$ac_dest" : 'X\(/\)' \| \
14564 . : '\(.\)' 2>/dev/null ||
14566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14568 /^X\(\/\/\)$/{ s//\1/; q; }
14569 /^X\(\/\).*/{ s//\1/; q; }
14571 { if $as_mkdir_p; then
14572 mkdir -p "$ac_dest_dir"
14574 as_dir="$ac_dest_dir"
14576 while test ! -d "$as_dir"; do
14577 as_dirs="$as_dir $as_dirs"
14578 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14579 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14580 X"$as_dir" : 'X\(//\)[^/]' \| \
14581 X"$as_dir" : 'X\(//\)$' \| \
14582 X"$as_dir" : 'X\(/\)' \| \
14583 . : '\(.\)' 2>/dev/null ||
14585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14586 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14587 /^X\(\/\/\)$/{ s//\1/; q; }
14588 /^X\(\/\).*/{ s//\1/; q; }
14591 test ! -n "$as_dirs" || mkdir $as_dirs
14592 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
14593 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
14594 { (exit 1); exit 1; }; }; }
14598 if test "$ac_dest_dir" != .; then
14599 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
14600 # A "../" for each directory in $ac_dir_suffix.
14601 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14603 ac_dir_suffix= ac_top_builddir=
14607 .) # No --srcdir option. We are building in place.
14609 if test -z "$ac_top_builddir"; then
14612 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14614 [\\/]* | ?:[\\/]* ) # Absolute path.
14615 ac_srcdir=$srcdir$ac_dir_suffix;
14616 ac_top_srcdir=$srcdir ;;
14617 *) # Relative path.
14618 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14619 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14622 # Do not use `cd foo && pwd` to compute absolute paths, because
14623 # the directories may not exist.
14625 .) ac_abs_builddir="$ac_dest_dir";;
14627 case "$ac_dest_dir" in
14628 .) ac_abs_builddir=`pwd`;;
14629 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
14630 *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
14633 case $ac_abs_builddir in
14634 .) ac_abs_top_builddir=${ac_top_builddir}.;;
14636 case ${ac_top_builddir}. in
14637 .) ac_abs_top_builddir=$ac_abs_builddir;;
14638 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14639 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
14642 case $ac_abs_builddir in
14643 .) ac_abs_srcdir=$ac_srcdir;;
14646 .) ac_abs_srcdir=$ac_abs_builddir;;
14647 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14648 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
14651 case $ac_abs_builddir in
14652 .) ac_abs_top_srcdir=$ac_top_srcdir;;
14654 case $ac_top_srcdir in
14655 .) ac_abs_top_srcdir=$ac_abs_builddir;;
14656 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14657 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
14663 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
14664 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
14667 # Try a symlink, then a hard link, then a copy.
14668 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
14669 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
14670 cp -p $srcdir/$ac_source $ac_dest ||
14671 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
14672 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
14673 { (exit 1); exit 1; }; }
14676 cat >>$CONFIG_STATUS <<\_ACEOF
14679 # CONFIG_COMMANDS section.
14681 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
14682 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
14683 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
14684 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
14685 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14686 X"$ac_dest" : 'X\(//\)[^/]' \| \
14687 X"$ac_dest" : 'X\(//\)$' \| \
14688 X"$ac_dest" : 'X\(/\)' \| \
14689 . : '\(.\)' 2>/dev/null ||
14691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14692 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14693 /^X\(\/\/\)$/{ s//\1/; q; }
14694 /^X\(\/\).*/{ s//\1/; q; }
14696 { if $as_mkdir_p; then
14701 while test ! -d "$as_dir"; do
14702 as_dirs="$as_dir $as_dirs"
14703 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14704 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14705 X"$as_dir" : 'X\(//\)[^/]' \| \
14706 X"$as_dir" : 'X\(//\)$' \| \
14707 X"$as_dir" : 'X\(/\)' \| \
14708 . : '\(.\)' 2>/dev/null ||
14710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14711 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14712 /^X\(\/\/\)$/{ s//\1/; q; }
14713 /^X\(\/\).*/{ s//\1/; q; }
14716 test ! -n "$as_dirs" || mkdir $as_dirs
14717 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14718 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14719 { (exit 1); exit 1; }; }; }
14723 if test "$ac_dir" != .; then
14724 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14725 # A "../" for each directory in $ac_dir_suffix.
14726 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14728 ac_dir_suffix= ac_top_builddir=
14732 .) # No --srcdir option. We are building in place.
14734 if test -z "$ac_top_builddir"; then
14737 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14739 [\\/]* | ?:[\\/]* ) # Absolute path.
14740 ac_srcdir=$srcdir$ac_dir_suffix;
14741 ac_top_srcdir=$srcdir ;;
14742 *) # Relative path.
14743 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14744 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14747 # Do not use `cd foo && pwd` to compute absolute paths, because
14748 # the directories may not exist.
14750 .) ac_abs_builddir="$ac_dir";;
14753 .) ac_abs_builddir=`pwd`;;
14754 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
14755 *) ac_abs_builddir=`pwd`/"$ac_dir";;
14758 case $ac_abs_builddir in
14759 .) ac_abs_top_builddir=${ac_top_builddir}.;;
14761 case ${ac_top_builddir}. in
14762 .) ac_abs_top_builddir=$ac_abs_builddir;;
14763 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14764 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
14767 case $ac_abs_builddir in
14768 .) ac_abs_srcdir=$ac_srcdir;;
14771 .) ac_abs_srcdir=$ac_abs_builddir;;
14772 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14773 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
14776 case $ac_abs_builddir in
14777 .) ac_abs_top_srcdir=$ac_top_srcdir;;
14779 case $ac_top_srcdir in
14780 .) ac_abs_top_srcdir=$ac_abs_builddir;;
14781 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14782 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
14787 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14788 echo "$as_me: executing $ac_dest commands" >&6;}
14790 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14791 # Strip MF so we end up with the name of the file.
14792 mf=`echo "$mf" | sed -e 's/:.*$//'`
14793 # Check whether this is an Automake generated Makefile or not.
14794 # We used to match only the files named `Makefile.in', but
14795 # some people rename them; so instead we look at the file content.
14796 # Grep'ing the first line is not enough: some people post-process
14797 # each Makefile.in and add a new line on top of each file to say so.
14798 # So let's grep whole file.
14799 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
14800 dirpart=`(dirname "$mf") 2>/dev/null ||
14801 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14802 X"$mf" : 'X\(//\)[^/]' \| \
14803 X"$mf" : 'X\(//\)$' \| \
14804 X"$mf" : 'X\(/\)' \| \
14805 . : '\(.\)' 2>/dev/null ||
14807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14808 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14809 /^X\(\/\/\)$/{ s//\1/; q; }
14810 /^X\(\/\).*/{ s//\1/; q; }
14815 # Extract the definition of DEPDIR, am__include, and am__quote
14816 # from the Makefile without running `make'.
14817 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14818 test -z "$DEPDIR" && continue
14819 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14820 test -z "am__include" && continue
14821 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14822 # When using ansi2knr, U may be empty or an underscore; expand it
14823 U=`sed -n 's/^U = //p' < "$mf"`
14824 # Find all dependency output files, they are included files with
14825 # $(DEPDIR) in their names. We invoke sed twice because it is the
14826 # simplest approach to changing $(DEPDIR) to its actual value in the
14828 for file in `sed -n "
14829 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14830 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14831 # Make sure the directory exists.
14832 test -f "$dirpart/$file" && continue
14833 fdir=`(dirname "$file") 2>/dev/null ||
14834 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14835 X"$file" : 'X\(//\)[^/]' \| \
14836 X"$file" : 'X\(//\)$' \| \
14837 X"$file" : 'X\(/\)' \| \
14838 . : '\(.\)' 2>/dev/null ||
14840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14841 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14842 /^X\(\/\/\)$/{ s//\1/; q; }
14843 /^X\(\/\).*/{ s//\1/; q; }
14845 { if $as_mkdir_p; then
14846 mkdir -p $dirpart/$fdir
14848 as_dir=$dirpart/$fdir
14850 while test ! -d "$as_dir"; do
14851 as_dirs="$as_dir $as_dirs"
14852 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14853 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14854 X"$as_dir" : 'X\(//\)[^/]' \| \
14855 X"$as_dir" : 'X\(//\)$' \| \
14856 X"$as_dir" : 'X\(/\)' \| \
14857 . : '\(.\)' 2>/dev/null ||
14859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14860 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14861 /^X\(\/\/\)$/{ s//\1/; q; }
14862 /^X\(\/\).*/{ s//\1/; q; }
14865 test ! -n "$as_dirs" || mkdir $as_dirs
14866 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14867 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14868 { (exit 1); exit 1; }; }; }
14870 # echo "creating $dirpart/$file"
14871 echo '# dummy' > "$dirpart/$file"
14879 cat >>$CONFIG_STATUS <<\_ACEOF
14881 { (exit 0); exit 0; }
14883 chmod +x $CONFIG_STATUS
14884 ac_clean_files=$ac_clean_files_save
14887 # configure is writing to config.log, and then calls config.status.
14888 # config.status does its own redirection, appending to config.log.
14889 # Unfortunately, on DOS this fails, as config.log is still kept open
14890 # by configure, so config.status won't be able to write to it; its
14891 # output is simply discarded. So we exec the FD to /dev/null,
14892 # effectively closing config.log, so it can be properly (re)opened and
14893 # appended to by config.status. When coming back to configure, we
14894 # need to make the FD available again.
14895 if test "$no_create" != yes; then
14897 ac_config_status_args=
14898 test "$silent" = yes &&
14899 ac_config_status_args="$ac_config_status_args --quiet"
14901 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14903 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14904 # would make configure fail if this is the last instruction.
14905 $ac_cs_success || { (exit 1); exit 1; }
14911 # Report the state of this version of CVS if this is from dev.