2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.58 for Concurrent Versions System (CVS) 1.11.17.
5 # Report bugs to <bug-cvs@gnu.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.17'
273 PACKAGE_STRING='Concurrent Versions System (CVS) 1.11.17'
274 PACKAGE_BUGREPORT='bug-cvs@gnu.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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot 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 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.17 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.17:";;
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 builds
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-tmpdir The temporary directory CVS should use as a default
915 (default autoselects)
916 --with-umask Set the umask CVS will use by default in the
917 repository (default 002)
918 --with-cvs-admin-group=GROUP
919 The CVS admin command is restricted to the members
920 of this group. If this group does not exist, all
921 users are allowed to run CVS admin. To disable the
922 CVS admin command for all users, create an empty
923 group by specifying the --with-cvs-admin-group=
924 option. To disable access control for CVS admin, run
925 configure with the --without-cvs-admin-group option.
928 Some influential environment variables:
929 CC C compiler command
930 CFLAGS C compiler flags
931 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
932 nonstandard directory <lib dir>
933 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
934 headers in a nonstandard directory <include dir>
936 EDITOR The text editor CVS will use by default for log messages.
938 Use these variables to override the choices made by `configure' or to help
939 it to find libraries and programs with nonstandard names/locations.
941 Report bugs to <bug-cvs@gnu.org>.
945 if test "$ac_init_help" = "recursive"; then
946 # If there are subdirs, report their specific --help.
948 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
949 test -d $ac_dir || continue
952 if test "$ac_dir" != .; then
953 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
954 # A "../" for each directory in $ac_dir_suffix.
955 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
957 ac_dir_suffix= ac_top_builddir=
961 .) # No --srcdir option. We are building in place.
963 if test -z "$ac_top_builddir"; then
966 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
968 [\\/]* | ?:[\\/]* ) # Absolute path.
969 ac_srcdir=$srcdir$ac_dir_suffix;
970 ac_top_srcdir=$srcdir ;;
972 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
973 ac_top_srcdir=$ac_top_builddir$srcdir ;;
976 .) ac_abs_builddir=$ac_builddir;;
979 .) ac_abs_builddir="$ac_dir";;
980 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
981 *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
985 .) ac_abs_top_builddir=${ac_top_builddir}.;;
987 case ${ac_top_builddir}. in
988 .) ac_abs_top_builddir="$ac_dir";;
989 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
990 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
994 .) ac_abs_srcdir=$ac_srcdir;;
997 .) ac_abs_srcdir="$ac_dir";;
998 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
999 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
1003 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1005 case $ac_top_srcdir in
1006 .) ac_abs_top_srcdir="$ac_dir";;
1007 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1008 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
1013 # Check for guested configure; otherwise get Cygnus style configure.
1014 if test -f $ac_srcdir/configure.gnu; then
1016 $SHELL $ac_srcdir/configure.gnu --help=recursive
1017 elif test -f $ac_srcdir/configure; then
1019 $SHELL $ac_srcdir/configure --help=recursive
1020 elif test -f $ac_srcdir/configure.ac ||
1021 test -f $ac_srcdir/configure.in; then
1023 $ac_configure --help
1025 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1031 test -n "$ac_init_help" && exit 0
1032 if $ac_init_version; then
1034 Concurrent Versions System (CVS) configure 1.11.17
1035 generated by GNU Autoconf 2.58
1037 Copyright (C) 2003 Free Software Foundation, Inc.
1038 This configure script is free software; the Free Software Foundation
1039 gives unlimited permission to copy, distribute and modify it.
1045 This file contains any messages produced by compilers while
1046 running configure, to aid debugging if configure makes a mistake.
1048 It was created by Concurrent Versions System (CVS) $as_me 1.11.17, which was
1049 generated by GNU Autoconf 2.58. Invocation command line was
1060 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1061 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1062 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1063 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1064 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1066 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1067 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1069 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1070 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1071 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1072 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1073 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1074 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1075 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1083 test -z "$as_dir" && as_dir=.
1084 echo "PATH: $as_dir"
1099 # Keep a trace of the command line.
1100 # Strip out --no-create and --no-recursion so they do not pile up.
1101 # Strip out --silent because we don't want to record it for future runs.
1102 # Also quote any args containing shell meta-characters.
1103 # Make two passes to allow for proper duplicate-argument suppression.
1108 ac_must_keep_next=false
1114 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1116 | -silent | --silent | --silen | --sile | --sil)
1118 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1119 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1122 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1124 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1125 if test $ac_must_keep_next = true; then
1126 ac_must_keep_next=false # Got value, back to normal.
1129 *=* | --config-cache | -C | -disable-* | --disable-* \
1130 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1131 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1132 | -with-* | --with-* | -without-* | --without-* | --x)
1133 case "$ac_configure_args0 " in
1134 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1137 -* ) ac_must_keep_next=true ;;
1140 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1141 # Get rid of the leading space.
1147 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1148 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1150 # When interrupted or exit'd, cleanup temporary files, and complete
1151 # config.log. We remove comments because anyway the quotes in there
1152 # would cause problems or look ugly.
1153 # WARNING: Be sure not to use single quotes in there, as some shells,
1154 # such as our DU 5.0 friend, will then `close' the trap.
1155 trap 'exit_status=$?
1156 # Save into config.log some information that might help in debugging.
1161 ## ---------------- ##
1162 ## Cache variables. ##
1163 ## ---------------- ##
1166 # The following way of writing the cache mishandles newlines in values,
1169 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1172 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1177 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1184 ## ----------------- ##
1185 ## Output variables. ##
1186 ## ----------------- ##
1189 for ac_var in $ac_subst_vars
1191 eval ac_val=$`echo $ac_var`
1192 echo "$ac_var='"'"'$ac_val'"'"'"
1196 if test -n "$ac_subst_files"; then
1203 for ac_var in $ac_subst_files
1205 eval ac_val=$`echo $ac_var`
1206 echo "$ac_var='"'"'$ac_val'"'"'"
1211 if test -s confdefs.h; then
1218 sed "/^$/d" confdefs.h | sort
1221 test "$ac_signal" != 0 &&
1222 echo "$as_me: caught signal $ac_signal"
1223 echo "$as_me: exit $exit_status"
1225 rm -f core *.core &&
1226 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1229 for ac_signal in 1 2 13 15; do
1230 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1234 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1235 rm -rf conftest* confdefs.h
1236 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1239 # Predefined preprocessor variables.
1241 cat >>confdefs.h <<_ACEOF
1242 #define PACKAGE_NAME "$PACKAGE_NAME"
1246 cat >>confdefs.h <<_ACEOF
1247 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1251 cat >>confdefs.h <<_ACEOF
1252 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1256 cat >>confdefs.h <<_ACEOF
1257 #define PACKAGE_STRING "$PACKAGE_STRING"
1261 cat >>confdefs.h <<_ACEOF
1262 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1266 # Let the site file select an alternate cache file if it wants to.
1267 # Prefer explicitly selected file to automatically selected ones.
1268 if test -z "$CONFIG_SITE"; then
1269 if test "x$prefix" != xNONE; then
1270 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1272 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1275 for ac_site_file in $CONFIG_SITE; do
1276 if test -r "$ac_site_file"; then
1277 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1278 echo "$as_me: loading site script $ac_site_file" >&6;}
1279 sed 's/^/| /' "$ac_site_file" >&5
1284 if test -r "$cache_file"; then
1285 # Some versions of bash will fail to source /dev/null (special
1286 # files actually), so we avoid doing that.
1287 if test -f "$cache_file"; then
1288 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1289 echo "$as_me: loading cache $cache_file" >&6;}
1291 [\\/]* | ?:[\\/]* ) . $cache_file;;
1292 *) . ./$cache_file;;
1296 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1297 echo "$as_me: creating cache $cache_file" >&6;}
1301 # Check that the precious variables saved in the cache have kept the same
1303 ac_cache_corrupted=false
1304 for ac_var in `(set) 2>&1 |
1305 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1306 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1307 eval ac_new_set=\$ac_env_${ac_var}_set
1308 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1309 eval ac_new_val="\$ac_env_${ac_var}_value"
1310 case $ac_old_set,$ac_new_set in
1312 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1313 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1314 ac_cache_corrupted=: ;;
1316 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1317 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1318 ac_cache_corrupted=: ;;
1321 if test "x$ac_old_val" != "x$ac_new_val"; then
1322 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1323 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1324 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1325 echo "$as_me: former value: $ac_old_val" >&2;}
1326 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1327 echo "$as_me: current value: $ac_new_val" >&2;}
1328 ac_cache_corrupted=:
1331 # Pass precious variables to config.status.
1332 if test "$ac_new_set" = set; then
1334 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1335 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1336 *) ac_arg=$ac_var=$ac_new_val ;;
1338 case " $ac_configure_args " in
1339 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1340 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1344 if $ac_cache_corrupted; then
1345 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1346 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1347 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1348 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1349 { (exit 1); exit 1; }; }
1353 ac_cpp='$CPP $CPPFLAGS'
1354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1385 am__api_version="1.7"
1387 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1388 if test -f $ac_dir/install-sh; then
1390 ac_install_sh="$ac_aux_dir/install-sh -c"
1392 elif test -f $ac_dir/install.sh; then
1394 ac_install_sh="$ac_aux_dir/install.sh -c"
1396 elif test -f $ac_dir/shtool; then
1398 ac_install_sh="$ac_aux_dir/shtool install -c"
1402 if test -z "$ac_aux_dir"; then
1403 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1404 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1405 { (exit 1); exit 1; }; }
1407 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1408 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1409 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1411 # Find a good install program. We prefer a C program (faster),
1412 # so one script is as good as another. But avoid the broken or
1413 # incompatible versions:
1414 # SysV /etc/install, /usr/sbin/install
1415 # SunOS /usr/etc/install
1416 # IRIX /sbin/install
1418 # AmigaOS /C/install, which installs bootblocks on floppy discs
1419 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1420 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1421 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1422 # OS/2's system install, which has a completely different semantic
1423 # ./install, which can be erroneously created by make from ./install.sh.
1424 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1425 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1426 if test -z "$INSTALL"; then
1427 if test "${ac_cv_path_install+set}" = set; then
1428 echo $ECHO_N "(cached) $ECHO_C" >&6
1430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1434 test -z "$as_dir" && as_dir=.
1435 # Account for people who put trailing slashes in PATH elements.
1437 ./ | .// | /cC/* | \
1438 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1439 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1442 # OSF1 and SCO ODT 3.0 have their own names for install.
1443 # Don't use installbsd from OSF since it installs stuff as root
1445 for ac_prog in ginstall scoinst install; do
1446 for ac_exec_ext in '' $ac_executable_extensions; do
1447 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1448 if test $ac_prog = install &&
1449 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1450 # AIX install. It has an incompatible calling convention.
1452 elif test $ac_prog = install &&
1453 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1454 # program-specific install script used by HP pwplus--don't use.
1457 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1469 if test "${ac_cv_path_install+set}" = set; then
1470 INSTALL=$ac_cv_path_install
1472 # As a last resort, use the slow shell script. We don't cache a
1473 # path for INSTALL within a source directory, because that will
1474 # break other packages using the cache if that directory is
1475 # removed, or if the path is relative.
1476 INSTALL=$ac_install_sh
1479 echo "$as_me:$LINENO: result: $INSTALL" >&5
1480 echo "${ECHO_T}$INSTALL" >&6
1482 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1483 # It thinks the first close brace ends the variable substitution.
1484 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1486 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1488 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1490 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1491 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1494 echo timestamp > conftest.file
1495 # Do `set' in a subshell so we don't clobber the current shell's
1496 # arguments. Must try -L first in case configure is actually a
1497 # symlink; some systems play weird games with the mod time of symlinks
1498 # (eg FreeBSD returns the mod time of the symlink's containing
1501 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1502 if test "$*" = "X"; then
1504 set X `ls -t $srcdir/configure conftest.file`
1507 if test "$*" != "X $srcdir/configure conftest.file" \
1508 && test "$*" != "X conftest.file $srcdir/configure"; then
1510 # If neither matched, then we have a broken ls. This can happen
1511 # if, for instance, CONFIG_SHELL is bash and it inherits a
1512 # broken ls alias from the environment. This has actually
1513 # happened. Such a system could not be considered "sane".
1514 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1515 alias in your environment" >&5
1516 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1517 alias in your environment" >&2;}
1518 { (exit 1); exit 1; }; }
1521 test "$2" = conftest.file
1527 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1528 Check your system clock" >&5
1529 echo "$as_me: error: newly created file is older than distributed files!
1530 Check your system clock" >&2;}
1531 { (exit 1); exit 1; }; }
1533 echo "$as_me:$LINENO: result: yes" >&5
1534 echo "${ECHO_T}yes" >&6
1535 test "$program_prefix" != NONE &&
1536 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1537 # Use a double $ so make ignores it.
1538 test "$program_suffix" != NONE &&
1539 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1540 # Double any \ or $. echo might interpret backslashes.
1541 # By default was `s,x,x', remove it if useless.
1542 cat <<\_ACEOF >conftest.sed
1543 s/[\\$]/&&/g;s/;s,x,x,$//
1545 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1549 # expand $ac_aux_dir to an absolute path
1550 am_aux_dir=`cd $ac_aux_dir && pwd`
1552 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1553 # Use eval to expand $SHELL
1554 if eval "$MISSING --run true"; then
1555 am_missing_run="$MISSING --run "
1558 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1559 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1562 for ac_prog in gawk mawk nawk awk
1564 # Extract the first word of "$ac_prog", so it can be a program name with args.
1565 set dummy $ac_prog; ac_word=$2
1566 echo "$as_me:$LINENO: checking for $ac_word" >&5
1567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1568 if test "${ac_cv_prog_AWK+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 if test -n "$AWK"; then
1572 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1578 test -z "$as_dir" && as_dir=.
1579 for ac_exec_ext in '' $ac_executable_extensions; do
1580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1581 ac_cv_prog_AWK="$ac_prog"
1582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1591 if test -n "$AWK"; then
1592 echo "$as_me:$LINENO: result: $AWK" >&5
1593 echo "${ECHO_T}$AWK" >&6
1595 echo "$as_me:$LINENO: result: no" >&5
1596 echo "${ECHO_T}no" >&6
1599 test -n "$AWK" && break
1602 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1603 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1604 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1605 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 cat >conftest.make <<\_ACEOF
1610 @echo 'ac_maketemp="$(MAKE)"'
1612 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1613 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1614 if test -n "$ac_maketemp"; then
1615 eval ac_cv_prog_make_${ac_make}_set=yes
1617 eval ac_cv_prog_make_${ac_make}_set=no
1621 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1622 echo "$as_me:$LINENO: result: yes" >&5
1623 echo "${ECHO_T}yes" >&6
1626 echo "$as_me:$LINENO: result: no" >&5
1627 echo "${ECHO_T}no" >&6
1628 SET_MAKE="MAKE=${MAKE-make}"
1631 rm -rf .tst 2>/dev/null
1632 mkdir .tst 2>/dev/null
1633 if test -d .tst; then
1638 rmdir .tst 2>/dev/null
1640 # test to see if srcdir already configured
1641 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1642 test -f $srcdir/config.status; then
1643 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1644 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1645 { (exit 1); exit 1; }; }
1648 # test whether we have cygpath
1649 if test -z "$CYGPATH_W"; then
1650 if (cygpath --version) >/dev/null 2>/dev/null; then
1651 CYGPATH_W='cygpath -w'
1658 # Define the identity of the package.
1663 # Some tools Automake needs.
1665 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1668 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1671 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1674 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1677 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1680 AMTAR=${AMTAR-"${am_missing_run}tar"}
1682 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1684 # Installed binaries are usually stripped using `strip' when the user
1685 # run `make install-strip'. However `strip' might not be the right
1686 # tool to use in cross-compilation environments, therefore Automake
1687 # will honor the `STRIP' environment variable to overrule this program.
1688 if test "$cross_compiling" != no; then
1689 if test -n "$ac_tool_prefix"; then
1690 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1691 set dummy ${ac_tool_prefix}strip; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_STRIP+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$STRIP"; then
1698 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir=.
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1716 STRIP=$ac_cv_prog_STRIP
1717 if test -n "$STRIP"; then
1718 echo "$as_me:$LINENO: result: $STRIP" >&5
1719 echo "${ECHO_T}$STRIP" >&6
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1726 if test -z "$ac_cv_prog_STRIP"; then
1728 # Extract the first word of "strip", so it can be a program name with args.
1729 set dummy strip; ac_word=$2
1730 echo "$as_me:$LINENO: checking for $ac_word" >&5
1731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1732 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1735 if test -n "$ac_ct_STRIP"; then
1736 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1742 test -z "$as_dir" && as_dir=.
1743 for ac_exec_ext in '' $ac_executable_extensions; do
1744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1745 ac_cv_prog_ac_ct_STRIP="strip"
1746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1755 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1756 if test -n "$ac_ct_STRIP"; then
1757 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1758 echo "${ECHO_T}$ac_ct_STRIP" >&6
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1766 STRIP="$ac_cv_prog_STRIP"
1770 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1772 # We need awk for the "check" target. The system "awk" is bad on
1779 if test "x$prefix" = xNONE; then
1780 echo $ECHO_N "checking for prefix by $ECHO_C" >&6
1781 # Extract the first word of "cvs", so it can be a program name with args.
1782 set dummy cvs; ac_word=$2
1783 echo "$as_me:$LINENO: checking for $ac_word" >&5
1784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1785 if test "${ac_cv_path_ac_prefix_program+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1788 case $ac_prefix_program in
1790 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797 test -z "$as_dir" && as_dir=.
1798 for ac_exec_ext in '' $ac_executable_extensions; do
1799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1810 ac_prefix_program=$ac_cv_path_ac_prefix_program
1812 if test -n "$ac_prefix_program"; then
1813 echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1814 echo "${ECHO_T}$ac_prefix_program" >&6
1816 echo "$as_me:$LINENO: result: no" >&5
1817 echo "${ECHO_T}no" >&6
1820 if test -n "$ac_prefix_program"; then
1821 prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
1822 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1823 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1824 X"$ac_prefix_program" : 'X\(//\)$' \| \
1825 X"$ac_prefix_program" : 'X\(/\)' \| \
1826 . : '\(.\)' 2>/dev/null ||
1827 echo X"$ac_prefix_program" |
1828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1829 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1830 /^X\(\/\/\)$/{ s//\1/; q; }
1831 /^X\(\/\).*/{ s//\1/; q; }
1833 prefix=`(dirname "$prefix") 2>/dev/null ||
1834 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1835 X"$prefix" : 'X\(//\)[^/]' \| \
1836 X"$prefix" : 'X\(//\)$' \| \
1837 X"$prefix" : 'X\(/\)' \| \
1838 . : '\(.\)' 2>/dev/null ||
1840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1841 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1842 /^X\(\/\/\)$/{ s//\1/; q; }
1843 /^X\(\/\).*/{ s//\1/; q; }
1848 ac_config_headers="$ac_config_headers config.h"
1850 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1851 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1852 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1853 if test "${enable_maintainer_mode+set}" = set; then
1854 enableval="$enable_maintainer_mode"
1855 USE_MAINTAINER_MODE=$enableval
1857 USE_MAINTAINER_MODE=no
1859 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1860 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1863 if test $USE_MAINTAINER_MODE = yes; then
1864 MAINTAINER_MODE_TRUE=
1865 MAINTAINER_MODE_FALSE='#'
1867 MAINTAINER_MODE_TRUE='#'
1868 MAINTAINER_MODE_FALSE=
1871 MAINT=$MAINTAINER_MODE_TRUE
1876 ac_cpp='$CPP $CPPFLAGS'
1877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1880 if test -n "$ac_tool_prefix"; then
1881 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1882 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_CC+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 if test -n "$CC"; then
1889 ac_cv_prog_CC="$CC" # Let the user override the test.
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 if test -n "$CC"; then
1909 echo "$as_me:$LINENO: result: $CC" >&5
1910 echo "${ECHO_T}$CC" >&6
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1917 if test -z "$ac_cv_prog_CC"; then
1919 # Extract the first word of "gcc", so it can be a program name with args.
1920 set dummy gcc; ac_word=$2
1921 echo "$as_me:$LINENO: checking for $ac_word" >&5
1922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1923 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 if test -n "$ac_ct_CC"; then
1927 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 test -z "$as_dir" && as_dir=.
1934 for ac_exec_ext in '' $ac_executable_extensions; do
1935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1936 ac_cv_prog_ac_ct_CC="gcc"
1937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1946 if test -n "$ac_ct_CC"; then
1947 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1948 echo "${ECHO_T}$ac_ct_CC" >&6
1950 echo "$as_me:$LINENO: result: no" >&5
1951 echo "${ECHO_T}no" >&6
1959 if test -z "$CC"; then
1960 if test -n "$ac_tool_prefix"; then
1961 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1962 set dummy ${ac_tool_prefix}cc; ac_word=$2
1963 echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965 if test "${ac_cv_prog_CC+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 if test -n "$CC"; then
1969 ac_cv_prog_CC="$CC" # Let the user override the test.
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir=.
1976 for ac_exec_ext in '' $ac_executable_extensions; do
1977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1978 ac_cv_prog_CC="${ac_tool_prefix}cc"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 if test -n "$CC"; then
1989 echo "$as_me:$LINENO: result: $CC" >&5
1990 echo "${ECHO_T}$CC" >&6
1992 echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
1997 if test -z "$ac_cv_prog_CC"; then
1999 # Extract the first word of "cc", so it can be a program name with args.
2000 set dummy cc; ac_word=$2
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2003 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 if test -n "$ac_ct_CC"; then
2007 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2013 test -z "$as_dir" && as_dir=.
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_ac_ct_CC="cc"
2017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2026 if test -n "$ac_ct_CC"; then
2027 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2028 echo "${ECHO_T}$ac_ct_CC" >&6
2030 echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2040 if test -z "$CC"; then
2041 # Extract the first word of "cc", so it can be a program name with args.
2042 set dummy cc; ac_word=$2
2043 echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2045 if test "${ac_cv_prog_CC+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 if test -n "$CC"; then
2049 ac_cv_prog_CC="$CC" # Let the user override the test.
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2060 ac_prog_rejected=yes
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070 if test $ac_prog_rejected = yes; then
2071 # We found a bogon in the path, so make sure we never use it.
2072 set dummy $ac_cv_prog_CC
2074 if test $# != 0; then
2075 # We chose a different compiler from the bogus one.
2076 # However, it has the same basename, so the bogon will be chosen
2077 # first if we set CC to just the basename; use the full file name.
2079 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2085 if test -n "$CC"; then
2086 echo "$as_me:$LINENO: result: $CC" >&5
2087 echo "${ECHO_T}$CC" >&6
2089 echo "$as_me:$LINENO: result: no" >&5
2090 echo "${ECHO_T}no" >&6
2094 if test -z "$CC"; then
2095 if test -n "$ac_tool_prefix"; then
2098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2100 echo "$as_me:$LINENO: checking for $ac_word" >&5
2101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2102 if test "${ac_cv_prog_CC+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 if test -n "$CC"; then
2106 ac_cv_prog_CC="$CC" # Let the user override the test.
2108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112 test -z "$as_dir" && as_dir=.
2113 for ac_exec_ext in '' $ac_executable_extensions; do
2114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2115 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 if test -n "$CC"; then
2126 echo "$as_me:$LINENO: result: $CC" >&5
2127 echo "${ECHO_T}$CC" >&6
2129 echo "$as_me:$LINENO: result: no" >&5
2130 echo "${ECHO_T}no" >&6
2133 test -n "$CC" && break
2136 if test -z "$CC"; then
2140 # Extract the first word of "$ac_prog", so it can be a program name with args.
2141 set dummy $ac_prog; ac_word=$2
2142 echo "$as_me:$LINENO: checking for $ac_word" >&5
2143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 if test -n "$ac_ct_CC"; then
2148 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir=.
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2157 ac_cv_prog_ac_ct_CC="$ac_prog"
2158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2167 if test -n "$ac_ct_CC"; then
2168 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2169 echo "${ECHO_T}$ac_ct_CC" >&6
2171 echo "$as_me:$LINENO: result: no" >&5
2172 echo "${ECHO_T}no" >&6
2175 test -n "$ac_ct_CC" && break
2184 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2185 See \`config.log' for more details." >&5
2186 echo "$as_me: error: no acceptable C compiler found in \$PATH
2187 See \`config.log' for more details." >&2;}
2188 { (exit 1); exit 1; }; }
2190 # Provide some information about the compiler.
2191 echo "$as_me:$LINENO:" \
2192 "checking for C compiler version" >&5
2193 ac_compiler=`set X $ac_compile; echo $2`
2194 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2195 (eval $ac_compiler --version </dev/null >&5) 2>&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }
2199 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2200 (eval $ac_compiler -v </dev/null >&5) 2>&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }
2204 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2205 (eval $ac_compiler -V </dev/null >&5) 2>&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }
2210 cat >conftest.$ac_ext <<_ACEOF
2213 cat confdefs.h >>conftest.$ac_ext
2214 cat >>conftest.$ac_ext <<_ACEOF
2215 /* end confdefs.h. */
2225 ac_clean_files_save=$ac_clean_files
2226 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2227 # Try to create an executable without -o first, disregard a.out.
2228 # It will help us diagnose broken compilers, and finding out an intuition
2230 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2231 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2232 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2233 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2234 (eval $ac_link_default) 2>&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; then
2238 # Find the output, starting from the most likely. This scheme is
2239 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2242 # Be careful to initialize this variable, since it used to be cached.
2243 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2245 # b.out is created by i960 compilers.
2246 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2248 test -f "$ac_file" || continue
2250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2253 # This is the source file.
2256 # We found the default executable, but exeext='' is most
2260 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2261 # FIXME: I believe we export ac_cv_exeext for Libtool,
2262 # but it would be cool to find out if it's true. Does anybody
2263 # maintain Libtool? --akim.
2271 echo "$as_me: failed program was:" >&5
2272 sed 's/^/| /' conftest.$ac_ext >&5
2274 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2275 See \`config.log' for more details." >&5
2276 echo "$as_me: error: C compiler cannot create executables
2277 See \`config.log' for more details." >&2;}
2278 { (exit 77); exit 77; }; }
2281 ac_exeext=$ac_cv_exeext
2282 echo "$as_me:$LINENO: result: $ac_file" >&5
2283 echo "${ECHO_T}$ac_file" >&6
2285 # Check the compiler produces executables we can run. If not, either
2286 # the compiler is broken, or we cross compile.
2287 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2288 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2289 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2290 # If not cross compiling, check that we can run a simple program.
2291 if test "$cross_compiling" != yes; then
2292 if { ac_try='./$ac_file'
2293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297 (exit $ac_status); }; }; then
2300 if test "$cross_compiling" = maybe; then
2303 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2304 If you meant to cross compile, use \`--host'.
2305 See \`config.log' for more details." >&5
2306 echo "$as_me: error: cannot run C compiled programs.
2307 If you meant to cross compile, use \`--host'.
2308 See \`config.log' for more details." >&2;}
2309 { (exit 1); exit 1; }; }
2313 echo "$as_me:$LINENO: result: yes" >&5
2314 echo "${ECHO_T}yes" >&6
2316 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2317 ac_clean_files=$ac_clean_files_save
2318 # Check the compiler produces executables we can run. If not, either
2319 # the compiler is broken, or we cross compile.
2320 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2321 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2322 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2323 echo "${ECHO_T}$cross_compiling" >&6
2325 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2326 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2328 (eval $ac_link) 2>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; then
2332 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2333 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2334 # work properly (i.e., refer to `conftest.exe'), while it won't with
2336 for ac_file in conftest.exe conftest conftest.*; do
2337 test -f "$ac_file" || continue
2339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2340 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2347 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2348 See \`config.log' for more details." >&5
2349 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2350 See \`config.log' for more details." >&2;}
2351 { (exit 1); exit 1; }; }
2354 rm -f conftest$ac_cv_exeext
2355 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2356 echo "${ECHO_T}$ac_cv_exeext" >&6
2358 rm -f conftest.$ac_ext
2359 EXEEXT=$ac_cv_exeext
2361 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2362 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2363 if test "${ac_cv_objext+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 cat >conftest.$ac_ext <<_ACEOF
2369 cat confdefs.h >>conftest.$ac_ext
2370 cat >>conftest.$ac_ext <<_ACEOF
2371 /* end confdefs.h. */
2381 rm -f conftest.o conftest.obj
2382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2383 (eval $ac_compile) 2>&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }; then
2387 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2390 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2395 echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.$ac_ext >&5
2398 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2399 See \`config.log' for more details." >&5
2400 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2401 See \`config.log' for more details." >&2;}
2402 { (exit 1); exit 1; }; }
2405 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2407 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2408 echo "${ECHO_T}$ac_cv_objext" >&6
2409 OBJEXT=$ac_cv_objext
2411 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2412 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2413 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2414 echo $ECHO_N "(cached) $ECHO_C" >&6
2416 cat >conftest.$ac_ext <<_ACEOF
2419 cat confdefs.h >>conftest.$ac_ext
2420 cat >>conftest.$ac_ext <<_ACEOF
2421 /* end confdefs.h. */
2434 rm -f conftest.$ac_objext
2435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2436 (eval $ac_compile) 2>conftest.er1
2438 grep -v '^ *+' conftest.er1 >conftest.err
2440 cat conftest.err >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); } &&
2443 { ac_try='test -z "$ac_c_werror_flag"
2444 || test ! -s conftest.err'
2445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); }; } &&
2450 { ac_try='test -s conftest.$ac_objext'
2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; }; then
2458 echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.$ac_ext >&5
2463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2467 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2468 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2469 GCC=`test $ac_compiler_gnu = yes && echo yes`
2470 ac_test_CFLAGS=${CFLAGS+set}
2471 ac_save_CFLAGS=$CFLAGS
2473 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2474 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2475 if test "${ac_cv_prog_cc_g+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 cat >conftest.$ac_ext <<_ACEOF
2481 cat confdefs.h >>conftest.$ac_ext
2482 cat >>conftest.$ac_ext <<_ACEOF
2483 /* end confdefs.h. */
2493 rm -f conftest.$ac_objext
2494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2495 (eval $ac_compile) 2>conftest.er1
2497 grep -v '^ *+' conftest.er1 >conftest.err
2499 cat conftest.err >&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); } &&
2502 { ac_try='test -z "$ac_c_werror_flag"
2503 || test ! -s conftest.err'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; } &&
2509 { ac_try='test -s conftest.$ac_objext'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; }; then
2517 echo "$as_me: failed program was:" >&5
2518 sed 's/^/| /' conftest.$ac_ext >&5
2522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2524 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2525 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2526 if test "$ac_test_CFLAGS" = set; then
2527 CFLAGS=$ac_save_CFLAGS
2528 elif test $ac_cv_prog_cc_g = yes; then
2529 if test "$GCC" = yes; then
2535 if test "$GCC" = yes; then
2541 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2542 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2543 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 ac_cv_prog_cc_stdc=no
2548 cat >conftest.$ac_ext <<_ACEOF
2551 cat confdefs.h >>conftest.$ac_ext
2552 cat >>conftest.$ac_ext <<_ACEOF
2553 /* end confdefs.h. */
2556 #include <sys/types.h>
2557 #include <sys/stat.h>
2558 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2559 struct buf { int x; };
2560 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2561 static char *e (p, i)
2567 static char *f (char * (*g) (char **, int), char **p, ...)
2572 s = g (p, va_arg (v,int));
2577 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2578 function prototypes and stuff, but not '\xHH' hex character constants.
2579 These don't provoke an error unfortunately, instead are silently treated
2580 as 'x'. The following induces an error, until -std1 is added to get
2581 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2582 array size at least. It's necessary to write '\x00'==0 to get something
2583 that's true only with -std1. */
2584 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2586 int test (int i, double x);
2587 struct s1 {int (*f) (int a);};
2588 struct s2 {int (*f) (double a);};
2589 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2595 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2600 # Don't try gcc -ansi; that turns off useful extensions and
2601 # breaks some systems' header files.
2602 # AIX -qlanglvl=ansi
2603 # Ultrix and OSF/1 -std1
2604 # HP-UX 10.20 and later -Ae
2605 # HP-UX older versions -Aa -D_HPUX_SOURCE
2606 # SVR4 -Xc -D__EXTENSIONS__
2607 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2609 CC="$ac_save_CC $ac_arg"
2610 rm -f conftest.$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>conftest.er1
2614 grep -v '^ *+' conftest.er1 >conftest.err
2616 cat conftest.err >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try='test -z "$ac_c_werror_flag"
2620 || test ! -s conftest.err'
2621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; } &&
2626 { ac_try='test -s conftest.$ac_objext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2632 ac_cv_prog_cc_stdc=$ac_arg
2635 echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.$ac_ext >&5
2639 rm -f conftest.err conftest.$ac_objext
2641 rm -f conftest.$ac_ext conftest.$ac_objext
2646 case "x$ac_cv_prog_cc_stdc" in
2648 echo "$as_me:$LINENO: result: none needed" >&5
2649 echo "${ECHO_T}none needed" >&6 ;;
2651 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2652 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2653 CC="$CC $ac_cv_prog_cc_stdc" ;;
2656 # Some people use a C++ compiler to compile C. Since we use `exit',
2657 # in C++ we need to declare it. In case someone uses the same compiler
2658 # for both compiling C and C++ we need to have the C++ compiler decide
2659 # the declaration of exit, since it's the most demanding environment.
2660 cat >conftest.$ac_ext <<_ACEOF
2665 rm -f conftest.$ac_objext
2666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2667 (eval $ac_compile) 2>conftest.er1
2669 grep -v '^ *+' conftest.er1 >conftest.err
2671 cat conftest.err >&5
2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); } &&
2674 { ac_try='test -z "$ac_c_werror_flag"
2675 || test ! -s conftest.err'
2676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; } &&
2681 { ac_try='test -s conftest.$ac_objext'
2682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); }; }; then
2687 for ac_declaration in \
2689 'extern "C" void std::exit (int) throw (); using std::exit;' \
2690 'extern "C" void std::exit (int); using std::exit;' \
2691 'extern "C" void exit (int) throw ();' \
2692 'extern "C" void exit (int);' \
2695 cat >conftest.$ac_ext <<_ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2711 rm -f conftest.$ac_objext
2712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2713 (eval $ac_compile) 2>conftest.er1
2715 grep -v '^ *+' conftest.er1 >conftest.err
2717 cat conftest.err >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); } &&
2720 { ac_try='test -z "$ac_c_werror_flag"
2721 || test ! -s conftest.err'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; } &&
2727 { ac_try='test -s conftest.$ac_objext'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2741 cat >conftest.$ac_ext <<_ACEOF
2744 cat confdefs.h >>conftest.$ac_ext
2745 cat >>conftest.$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1 >conftest.err
2762 cat conftest.err >&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try='test -z "$ac_c_werror_flag"
2766 || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.$ac_ext >&5
2784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2787 if test -n "$ac_declaration"; then
2788 echo '#ifdef __cplusplus' >>confdefs.h
2789 echo $ac_declaration >>confdefs.h
2790 echo '#endif' >>confdefs.h
2794 echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.$ac_ext >&5
2798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2800 ac_cpp='$CPP $CPPFLAGS'
2801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2804 DEPDIR="${am__leading_dot}deps"
2806 ac_config_commands="$ac_config_commands depfiles"
2809 am_make=${MAKE-make}
2810 cat > confinc << 'END'
2815 # If we don't find an include directive, just comment out the code.
2816 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2817 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2821 # First try GNU make style include.
2822 echo "include confinc" > confmf
2823 # We grep out `Entering directory' and `Leaving directory'
2824 # messages which can occur if `w' ends up in MAKEFLAGS.
2825 # In particular we don't look at `^make:' because GNU make might
2826 # be invoked under some other name (usually "gmake"), in which
2827 # case it prints its new name instead of `make'.
2828 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2833 # Now try BSD make style include.
2834 if test "$am__include" = "#"; then
2835 echo '.include "confinc"' > confmf
2836 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2837 am__include=.include
2844 echo "$as_me:$LINENO: result: $_am_result" >&5
2845 echo "${ECHO_T}$_am_result" >&6
2846 rm -f confinc confmf
2848 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2849 if test "${enable_dependency_tracking+set}" = set; then
2850 enableval="$enable_dependency_tracking"
2853 if test "x$enable_dependency_tracking" != xno; then
2854 am_depcomp="$ac_aux_dir/depcomp"
2859 if test "x$enable_dependency_tracking" != xno; then
2870 depcc="$CC" am_compiler_list=
2872 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2873 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2874 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2878 # We make a subdir and do the tests there. Otherwise we can end up
2879 # making bogus files that we don't know about and never remove. For
2880 # instance it was reported that on HP-UX the gcc test will end up
2881 # making a dummy file named `D' -- because `-MD' means `put the output
2884 # Copy depcomp to subdir because otherwise we won't find it if we're
2885 # using a relative directory.
2886 cp "$am_depcomp" conftest.dir
2888 # We will build objects and dependencies in a subdirectory because
2889 # it helps to detect inapplicable dependency modes. For instance
2890 # both Tru64's cc and ICC support -MD to output dependencies as a
2891 # side effect of compilation, but ICC will put the dependencies in
2892 # the current directory while Tru64 will put them in the object
2896 am_cv_CC_dependencies_compiler_type=none
2897 if test "$am_compiler_list" = ""; then
2898 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2900 for depmode in $am_compiler_list; do
2901 # Setup a source with many dependencies, because some compilers
2902 # like to wrap large dependency lists on column 80 (with \), and
2903 # we should not choose a depcomp mode which is confused by this.
2905 # We need to recreate these files for each test, as the compiler may
2906 # overwrite some of them when testing with obscure command lines.
2907 # This happens at least with the AIX C compiler.
2909 for i in 1 2 3 4 5 6; do
2910 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2913 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2917 # after this tag, mechanisms are not by side-effect, so they'll
2918 # only be used when explicitly requested
2919 if test "x$enable_dependency_tracking" = xyes; then
2927 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2928 # mode. It turns out that the SunPro C++ compiler does not properly
2929 # handle `-M -o', and we need to detect this.
2930 if depmode=$depmode \
2931 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2932 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2933 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2934 >/dev/null 2>conftest.err &&
2935 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2936 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2937 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2938 # icc doesn't choke on unknown options, it will just issue warnings
2939 # (even with -Werror). So we grep stderr for any message
2940 # that says an option was ignored.
2941 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2942 am_cv_CC_dependencies_compiler_type=$depmode
2951 am_cv_CC_dependencies_compiler_type=none
2955 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2956 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2957 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2962 test "x$enable_dependency_tracking" != xno \
2963 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2965 am__fastdepCC_FALSE='#'
2967 am__fastdepCC_TRUE='#'
2968 am__fastdepCC_FALSE=
2972 if test "x$CC" != xcc; then
2973 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
2974 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
2976 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
2977 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
2979 set dummy $CC; ac_cc=`echo $2 |
2980 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
2981 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
2982 echo $ECHO_N "(cached) $ECHO_C" >&6
2984 cat >conftest.$ac_ext <<_ACEOF
2987 cat confdefs.h >>conftest.$ac_ext
2988 cat >>conftest.$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2999 # Make sure it works both with $CC and with simple cc.
3000 # We do the test twice because some compilers refuse to overwrite an
3001 # existing .o file with -o, though they will create one.
3002 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3003 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); } &&
3008 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); };
3014 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3015 if test "x$CC" != xcc; then
3016 # Test first that cc exists at all.
3017 if { ac_try='cc -c conftest.$ac_ext >&5'
3018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); }; }; then
3023 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3024 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); } &&
3029 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); };
3038 # cc exists but doesn't like -o.
3039 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3044 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3049 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3050 echo "$as_me:$LINENO: result: yes" >&5
3051 echo "${ECHO_T}yes" >&6
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3056 cat >>confdefs.h <<\_ACEOF
3057 #define NO_MINUS_C_MINUS_O 1
3062 # FIXME: we rely on the cache variable name because
3063 # there is no other way.
3065 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3066 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3067 # Losing compiler, so override with the script.
3068 # FIXME: It is wrong to rewrite CC.
3069 # But if we don't then we get into trouble of one sort or another.
3070 # A longer-term fix would be to have automake use am__CC in this case,
3071 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3072 CC="$am_aux_dir/compile $CC"
3078 ac_cpp='$CPP $CPPFLAGS'
3079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3082 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3083 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3084 # On Suns, sometimes $CPP names a directory.
3085 if test -n "$CPP" && test -d "$CPP"; then
3088 if test -z "$CPP"; then
3089 if test "${ac_cv_prog_CPP+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 # Double quotes because CPP needs to be expanded
3093 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3096 for ac_c_preproc_warn_flag in '' yes
3098 # Use a header file that comes with gcc, so configuring glibc
3099 # with a fresh cross-compiler works.
3100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3101 # <limits.h> exists even on freestanding compilers.
3102 # On the NeXT, cc -E runs the code through the compiler's parser,
3103 # not just through cpp. "Syntax error" is here to catch this case.
3104 cat >conftest.$ac_ext <<_ACEOF
3107 cat confdefs.h >>conftest.$ac_ext
3108 cat >>conftest.$ac_ext <<_ACEOF
3109 /* end confdefs.h. */
3111 # include <limits.h>
3113 # include <assert.h>
3117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3120 grep -v '^ *+' conftest.er1 >conftest.err
3122 cat conftest.err >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } >/dev/null; then
3125 if test -s conftest.err; then
3126 ac_cpp_err=$ac_c_preproc_warn_flag
3127 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3134 if test -z "$ac_cpp_err"; then
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3140 # Broken: fails on valid input.
3143 rm -f conftest.err conftest.$ac_ext
3145 # OK, works on sane cases. Now check whether non-existent headers
3146 # can be detected and how.
3147 cat >conftest.$ac_ext <<_ACEOF
3150 cat confdefs.h >>conftest.$ac_ext
3151 cat >>conftest.$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3153 #include <ac_nonexistent.h>
3155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3158 grep -v '^ *+' conftest.er1 >conftest.err
3160 cat conftest.err >&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); } >/dev/null; then
3163 if test -s conftest.err; then
3164 ac_cpp_err=$ac_c_preproc_warn_flag
3165 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3172 if test -z "$ac_cpp_err"; then
3173 # Broken: success on invalid input.
3176 echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3179 # Passes both tests.
3183 rm -f conftest.err conftest.$ac_ext
3186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3187 rm -f conftest.err conftest.$ac_ext
3188 if $ac_preproc_ok; then
3200 echo "$as_me:$LINENO: result: $CPP" >&5
3201 echo "${ECHO_T}$CPP" >&6
3203 for ac_c_preproc_warn_flag in '' yes
3205 # Use a header file that comes with gcc, so configuring glibc
3206 # with a fresh cross-compiler works.
3207 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3208 # <limits.h> exists even on freestanding compilers.
3209 # On the NeXT, cc -E runs the code through the compiler's parser,
3210 # not just through cpp. "Syntax error" is here to catch this case.
3211 cat >conftest.$ac_ext <<_ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3218 # include <limits.h>
3220 # include <assert.h>
3224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3227 grep -v '^ *+' conftest.er1 >conftest.err
3229 cat conftest.err >&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); } >/dev/null; then
3232 if test -s conftest.err; then
3233 ac_cpp_err=$ac_c_preproc_warn_flag
3234 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3241 if test -z "$ac_cpp_err"; then
3244 echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 # Broken: fails on valid input.
3250 rm -f conftest.err conftest.$ac_ext
3252 # OK, works on sane cases. Now check whether non-existent headers
3253 # can be detected and how.
3254 cat >conftest.$ac_ext <<_ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3260 #include <ac_nonexistent.h>
3262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3265 grep -v '^ *+' conftest.er1 >conftest.err
3267 cat conftest.err >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } >/dev/null; then
3270 if test -s conftest.err; then
3271 ac_cpp_err=$ac_c_preproc_warn_flag
3272 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3279 if test -z "$ac_cpp_err"; then
3280 # Broken: success on invalid input.
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3286 # Passes both tests.
3290 rm -f conftest.err conftest.$ac_ext
3293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3294 rm -f conftest.err conftest.$ac_ext
3295 if $ac_preproc_ok; then
3298 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3299 See \`config.log' for more details." >&5
3300 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3301 See \`config.log' for more details." >&2;}
3302 { (exit 1); exit 1; }; }
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3312 echo "$as_me:$LINENO: checking for egrep" >&5
3313 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3314 if test "${ac_cv_prog_egrep+set}" = set; then
3315 echo $ECHO_N "(cached) $ECHO_C" >&6
3317 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3318 then ac_cv_prog_egrep='grep -E'
3319 else ac_cv_prog_egrep='egrep'
3322 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3323 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3324 EGREP=$ac_cv_prog_egrep
3328 echo "$as_me:$LINENO: checking for AIX" >&5
3329 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3330 cat >conftest.$ac_ext <<_ACEOF
3333 cat confdefs.h >>conftest.$ac_ext
3334 cat >>conftest.$ac_ext <<_ACEOF
3335 /* end confdefs.h. */
3341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3342 $EGREP "yes" >/dev/null 2>&1; then
3343 echo "$as_me:$LINENO: result: yes" >&5
3344 echo "${ECHO_T}yes" >&6
3345 cat >>confdefs.h <<\_ACEOF
3346 #define _ALL_SOURCE 1
3350 echo "$as_me:$LINENO: result: no" >&5
3351 echo "${ECHO_T}no" >&6
3356 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3357 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3358 if test "${ac_cv_header_stdc+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 cat >conftest.$ac_ext <<_ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3380 rm -f conftest.$ac_objext
3381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3382 (eval $ac_compile) 2>conftest.er1
3384 grep -v '^ *+' conftest.er1 >conftest.err
3386 cat conftest.err >&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } &&
3389 { ac_try='test -z "$ac_c_werror_flag"
3390 || test ! -s conftest.err'
3391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); }; } &&
3396 { ac_try='test -s conftest.$ac_objext'
3397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); }; }; then
3402 ac_cv_header_stdc=yes
3404 echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.$ac_ext >&5
3407 ac_cv_header_stdc=no
3409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3411 if test $ac_cv_header_stdc = yes; then
3412 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3413 cat >conftest.$ac_ext <<_ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3423 $EGREP "memchr" >/dev/null 2>&1; then
3426 ac_cv_header_stdc=no
3432 if test $ac_cv_header_stdc = yes; then
3433 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3434 cat >conftest.$ac_ext <<_ACEOF
3437 cat confdefs.h >>conftest.$ac_ext
3438 cat >>conftest.$ac_ext <<_ACEOF
3439 /* end confdefs.h. */
3443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3444 $EGREP "free" >/dev/null 2>&1; then
3447 ac_cv_header_stdc=no
3453 if test $ac_cv_header_stdc = yes; then
3454 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3455 if test "$cross_compiling" = yes; then
3458 cat >conftest.$ac_ext <<_ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3465 #if ((' ' & 0x0FF) == 0x020)
3466 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3467 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3469 # define ISLOWER(c) \
3470 (('a' <= (c) && (c) <= 'i') \
3471 || ('j' <= (c) && (c) <= 'r') \
3472 || ('s' <= (c) && (c) <= 'z'))
3473 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3476 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3481 for (i = 0; i < 256; i++)
3482 if (XOR (islower (i), ISLOWER (i))
3483 || toupper (i) != TOUPPER (i))
3488 rm -f conftest$ac_exeext
3489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3490 (eval $ac_link) 2>&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; }; then
3501 echo "$as_me: program exited with status $ac_status" >&5
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3506 ac_cv_header_stdc=no
3508 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3512 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3513 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3514 if test $ac_cv_header_stdc = yes; then
3516 cat >>confdefs.h <<\_ACEOF
3517 #define STDC_HEADERS 1
3522 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3532 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3533 inttypes.h stdint.h unistd.h
3535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3536 echo "$as_me:$LINENO: checking for $ac_header" >&5
3537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3539 echo $ECHO_N "(cached) $ECHO_C" >&6
3541 cat >conftest.$ac_ext <<_ACEOF
3544 cat confdefs.h >>conftest.$ac_ext
3545 cat >>conftest.$ac_ext <<_ACEOF
3546 /* end confdefs.h. */
3547 $ac_includes_default
3549 #include <$ac_header>
3551 rm -f conftest.$ac_objext
3552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3553 (eval $ac_compile) 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } &&
3560 { ac_try='test -z "$ac_c_werror_flag"
3561 || test ! -s conftest.err'
3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); }; } &&
3567 { ac_try='test -s conftest.$ac_objext'
3568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); }; }; then
3573 eval "$as_ac_Header=yes"
3575 echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.$ac_ext >&5
3578 eval "$as_ac_Header=no"
3580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3585 cat >>confdefs.h <<_ACEOF
3586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3594 if test "${ac_cv_header_minix_config_h+set}" = set; then
3595 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3596 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3597 if test "${ac_cv_header_minix_config_h+set}" = set; then
3598 echo $ECHO_N "(cached) $ECHO_C" >&6
3600 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3601 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3603 # Is the header compilable?
3604 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3605 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3606 cat >conftest.$ac_ext <<_ACEOF
3609 cat confdefs.h >>conftest.$ac_ext
3610 cat >>conftest.$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3612 $ac_includes_default
3613 #include <minix/config.h>
3615 rm -f conftest.$ac_objext
3616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3617 (eval $ac_compile) 2>conftest.er1
3619 grep -v '^ *+' conftest.er1 >conftest.err
3621 cat conftest.err >&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } &&
3624 { ac_try='test -z "$ac_c_werror_flag"
3625 || test ! -s conftest.err'
3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; } &&
3631 { ac_try='test -s conftest.$ac_objext'
3632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); }; }; then
3637 ac_header_compiler=yes
3639 echo "$as_me: failed program was:" >&5
3640 sed 's/^/| /' conftest.$ac_ext >&5
3642 ac_header_compiler=no
3644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3646 echo "${ECHO_T}$ac_header_compiler" >&6
3648 # Is the header present?
3649 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3650 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3651 cat >conftest.$ac_ext <<_ACEOF
3654 cat confdefs.h >>conftest.$ac_ext
3655 cat >>conftest.$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3657 #include <minix/config.h>
3659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3662 grep -v '^ *+' conftest.er1 >conftest.err
3664 cat conftest.err >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } >/dev/null; then
3667 if test -s conftest.err; then
3668 ac_cpp_err=$ac_c_preproc_warn_flag
3669 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3676 if test -z "$ac_cpp_err"; then
3677 ac_header_preproc=yes
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.$ac_ext >&5
3682 ac_header_preproc=no
3684 rm -f conftest.err conftest.$ac_ext
3685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3686 echo "${ECHO_T}$ac_header_preproc" >&6
3688 # So? What about this header?
3689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3691 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3692 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3693 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3694 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3695 ac_header_preproc=yes
3698 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3699 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3700 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3701 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3702 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3703 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3704 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3705 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3706 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3707 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3708 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3709 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3712 ## ------------------------------ ##
3713 ## Report this to bug-cvs@gnu.org ##
3714 ## ------------------------------ ##
3717 sed "s/^/$as_me: WARNING: /" >&2
3720 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3721 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3722 if test "${ac_cv_header_minix_config_h+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3725 ac_cv_header_minix_config_h=$ac_header_preproc
3727 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3728 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3731 if test $ac_cv_header_minix_config_h = yes; then
3738 if test "$MINIX" = yes; then
3740 cat >>confdefs.h <<\_ACEOF
3741 #define _POSIX_SOURCE 1
3745 cat >>confdefs.h <<\_ACEOF
3746 #define _POSIX_1_SOURCE 2
3750 cat >>confdefs.h <<\_ACEOF
3757 # Find the posix library needed on INTERACTIVE UNIX (ISC)
3758 echo "$as_me:$LINENO: checking for library containing strerror" >&5
3759 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3760 if test "${ac_cv_search_strerror+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 ac_func_search_save_LIBS=$LIBS
3764 ac_cv_search_strerror=no
3765 cat >conftest.$ac_ext <<_ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3772 /* Override any gcc2 internal prototype to avoid an error. */
3776 /* We use char because int might match the return type of a gcc2
3777 builtin and then its argument prototype would still apply. */
3787 rm -f conftest.$ac_objext conftest$ac_exeext
3788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3789 (eval $ac_link) 2>conftest.er1
3791 grep -v '^ *+' conftest.er1 >conftest.err
3793 cat conftest.err >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } &&
3796 { ac_try='test -z "$ac_c_werror_flag"
3797 || test ! -s conftest.err'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; } &&
3803 { ac_try='test -s conftest$ac_exeext'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; }; then
3809 ac_cv_search_strerror="none required"
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3815 rm -f conftest.err conftest.$ac_objext \
3816 conftest$ac_exeext conftest.$ac_ext
3817 if test "$ac_cv_search_strerror" = no; then
3818 for ac_lib in cposix; do
3819 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3820 cat >conftest.$ac_ext <<_ACEOF
3823 cat confdefs.h >>conftest.$ac_ext
3824 cat >>conftest.$ac_ext <<_ACEOF
3825 /* end confdefs.h. */
3827 /* Override any gcc2 internal prototype to avoid an error. */
3831 /* We use char because int might match the return type of a gcc2
3832 builtin and then its argument prototype would still apply. */
3842 rm -f conftest.$ac_objext conftest$ac_exeext
3843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3844 (eval $ac_link) 2>conftest.er1
3846 grep -v '^ *+' conftest.er1 >conftest.err
3848 cat conftest.err >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); } &&
3851 { ac_try='test -z "$ac_c_werror_flag"
3852 || test ! -s conftest.err'
3853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); }; } &&
3858 { ac_try='test -s conftest$ac_exeext'
3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; }; then
3864 ac_cv_search_strerror="-l$ac_lib"
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3871 rm -f conftest.err conftest.$ac_objext \
3872 conftest$ac_exeext conftest.$ac_ext
3875 LIBS=$ac_func_search_save_LIBS
3877 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3878 echo "${ECHO_T}$ac_cv_search_strerror" >&6
3879 if test "$ac_cv_search_strerror" != no; then
3880 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3886 if test -n "$ac_tool_prefix"; then
3887 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3888 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3889 echo "$as_me:$LINENO: checking for $ac_word" >&5
3890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3891 if test "${ac_cv_prog_RANLIB+set}" = set; then
3892 echo $ECHO_N "(cached) $ECHO_C" >&6
3894 if test -n "$RANLIB"; then
3895 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901 test -z "$as_dir" && as_dir=.
3902 for ac_exec_ext in '' $ac_executable_extensions; do
3903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3904 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 RANLIB=$ac_cv_prog_RANLIB
3914 if test -n "$RANLIB"; then
3915 echo "$as_me:$LINENO: result: $RANLIB" >&5
3916 echo "${ECHO_T}$RANLIB" >&6
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3923 if test -z "$ac_cv_prog_RANLIB"; then
3924 ac_ct_RANLIB=$RANLIB
3925 # Extract the first word of "ranlib", so it can be a program name with args.
3926 set dummy ranlib; ac_word=$2
3927 echo "$as_me:$LINENO: checking for $ac_word" >&5
3928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3929 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3930 echo $ECHO_N "(cached) $ECHO_C" >&6
3932 if test -n "$ac_ct_RANLIB"; then
3933 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir=.
3940 for ac_exec_ext in '' $ac_executable_extensions; do
3941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3942 ac_cv_prog_ac_ct_RANLIB="ranlib"
3943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3952 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3953 if test -n "$ac_ct_RANLIB"; then
3954 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3955 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3957 echo "$as_me:$LINENO: result: no" >&5
3958 echo "${ECHO_T}no" >&6
3961 RANLIB=$ac_ct_RANLIB
3963 RANLIB="$ac_cv_prog_RANLIB"
3966 for ac_prog in 'bison -y' byacc
3968 # Extract the first word of "$ac_prog", so it can be a program name with args.
3969 set dummy $ac_prog; ac_word=$2
3970 echo "$as_me:$LINENO: checking for $ac_word" >&5
3971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3972 if test "${ac_cv_prog_YACC+set}" = set; then
3973 echo $ECHO_N "(cached) $ECHO_C" >&6
3975 if test -n "$YACC"; then
3976 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 test -z "$as_dir" && as_dir=.
3983 for ac_exec_ext in '' $ac_executable_extensions; do
3984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3985 ac_cv_prog_YACC="$ac_prog"
3986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3994 YACC=$ac_cv_prog_YACC
3995 if test -n "$YACC"; then
3996 echo "$as_me:$LINENO: result: $YACC" >&5
3997 echo "${ECHO_T}$YACC" >&6
3999 echo "$as_me:$LINENO: result: no" >&5
4000 echo "${ECHO_T}no" >&6
4003 test -n "$YACC" && break
4005 test -n "$YACC" || YACC="yacc"
4007 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4008 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4010 if test "$LN_S" = "ln -s"; then
4011 echo "$as_me:$LINENO: result: yes" >&5
4012 echo "${ECHO_T}yes" >&6
4014 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4015 echo "${ECHO_T}no, using $LN_S" >&6
4020 # Extract the first word of "perl", so it can be a program name with args.
4021 set dummy perl; ac_word=$2
4022 echo "$as_me:$LINENO: checking for $ac_word" >&5
4023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4024 if test "${ac_cv_path_PERL+set}" = set; then
4025 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4039 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
4050 PERL=$ac_cv_path_PERL
4052 if test -n "$PERL"; then
4053 echo "$as_me:$LINENO: result: $PERL" >&5
4054 echo "${ECHO_T}$PERL" >&6
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4060 # Extract the first word of "csh", so it can be a program name with args.
4061 set dummy csh; ac_word=$2
4062 echo "$as_me:$LINENO: checking for $ac_word" >&5
4063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4064 if test "${ac_cv_path_CSH+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 ac_cv_path_CSH="$CSH" # Let the user override the test with a path.
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_path_CSH="$as_dir/$ac_word$ac_exec_ext"
4080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 test -z "$ac_cv_path_CSH" && ac_cv_path_CSH="no"
4092 if test -n "$CSH"; then
4093 echo "$as_me:$LINENO: result: $CSH" >&5
4094 echo "${ECHO_T}$CSH" >&6
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4100 # for contrib/rcs2log.sh & src/cvsbug.in.
4101 # Extract the first word of "mktemp", so it can be a program name with args.
4102 set dummy mktemp; ac_word=$2
4103 echo "$as_me:$LINENO: checking for $ac_word" >&5
4104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4105 if test "${ac_cv_path_MKTEMP+set}" = set; then
4106 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
4113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 test -z "$as_dir" && as_dir=.
4118 for ac_exec_ext in '' $ac_executable_extensions; do
4119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4120 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
4121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4127 test -z "$ac_cv_path_MKTEMP" && ac_cv_path_MKTEMP="mktemp"
4131 MKTEMP=$ac_cv_path_MKTEMP
4133 if test -n "$MKTEMP"; then
4134 echo "$as_me:$LINENO: result: $MKTEMP" >&5
4135 echo "${ECHO_T}$MKTEMP" >&6
4137 echo "$as_me:$LINENO: result: no" >&5
4138 echo "${ECHO_T}no" >&6
4141 if test x"$MKTEMP" = xmktemp; then
4142 MKTEMP_SH_FUNCTION=$srcdir/mktemp.sh
4144 MKTEMP_SH_FUNCTION=/dev/null
4148 # Extract the first word of "sendmail", so it can be a program name with args.
4149 set dummy sendmail; ac_word=$2
4150 echo "$as_me:$LINENO: checking for $ac_word" >&5
4151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4152 if test "${ac_cv_path_SENDMAIL+set}" = set; then
4153 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 as_dummy="$PATH:/usr/sbin:/usr/lib"
4162 for as_dir in $as_dummy
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_SENDMAIL="$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_SENDMAIL" && ac_cv_path_SENDMAIL="no"
4179 SENDMAIL=$ac_cv_path_SENDMAIL
4181 if test -n "$SENDMAIL"; then
4182 echo "$as_me:$LINENO: result: $SENDMAIL" >&5
4183 echo "${ECHO_T}$SENDMAIL" >&6
4185 echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6
4190 # Extract the first word of "pr", so it can be a program name with args.
4191 set dummy pr; ac_word=$2
4192 echo "$as_me:$LINENO: checking for $ac_word" >&5
4193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4194 if test "${ac_cv_path_PR+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4199 ac_cv_path_PR="$PR" # Let the user override the test with a path.
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 test -z "$as_dir" && as_dir=.
4207 for ac_exec_ext in '' $ac_executable_extensions; do
4208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4209 ac_cv_path_PR="$as_dir/$ac_word$ac_exec_ext"
4210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 test -z "$ac_cv_path_PR" && ac_cv_path_PR="no"
4222 if test -n "$PR"; then
4223 echo "$as_me:$LINENO: result: $PR" >&5
4224 echo "${ECHO_T}$PR" >&6
4226 echo "$as_me:$LINENO: result: no" >&5
4227 echo "${ECHO_T}no" >&6
4230 if test x"$PR" != xno; then
4232 cat >>confdefs.h <<_ACEOF
4233 #define PR_PROGRAM "$PR"
4238 missing_dir=`cd $ac_aux_dir && pwd`
4239 glocs="$PATH:/usr/local/bin:/usr/contrib/bin:/usr/gnu/bin:/local/bin:/local/gnu/bin:/gnu/bin"
4240 for ac_prog in groff roff
4242 # Extract the first word of "$ac_prog", so it can be a program name with args.
4243 set dummy $ac_prog; ac_word=$2
4244 echo "$as_me:$LINENO: checking for $ac_word" >&5
4245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4246 if test "${ac_cv_path_ROFF+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 ac_cv_path_ROFF="$ROFF" # Let the user override the test with a path.
4254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4255 for as_dir in $glocs
4258 test -z "$as_dir" && as_dir=.
4259 for ac_exec_ext in '' $ac_executable_extensions; do
4260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4261 ac_cv_path_ROFF="$as_dir/$ac_word$ac_exec_ext"
4262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 ROFF=$ac_cv_path_ROFF
4273 if test -n "$ROFF"; then
4274 echo "$as_me:$LINENO: result: $ROFF" >&5
4275 echo "${ECHO_T}$ROFF" >&6
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4281 test -n "$ROFF" && break
4283 test -n "$ROFF" || ROFF="$missing_dir/missing roff"
4285 # Extract the first word of "ps2pdf", so it can be a program name with args.
4286 set dummy ps2pdf; ac_word=$2
4287 echo "$as_me:$LINENO: checking for $ac_word" >&5
4288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4289 if test "${ac_cv_path_PS2PDF+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4301 test -z "$as_dir" && as_dir=.
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304 ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 test -z "$ac_cv_path_PS2PDF" && ac_cv_path_PS2PDF="$missing_dir/missing ps2pdf"
4315 PS2PDF=$ac_cv_path_PS2PDF
4317 if test -n "$PS2PDF"; then
4318 echo "$as_me:$LINENO: result: $PS2PDF" >&5
4319 echo "${ECHO_T}$PS2PDF" >&6
4321 echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6
4325 # Extract the first word of "texi2dvi", so it can be a program name with args.
4326 set dummy texi2dvi; ac_word=$2
4327 echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4329 if test "${ac_cv_path_TEXI2DVI+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 ac_cv_path_TEXI2DVI="$TEXI2DVI" # Let the user override the test with a path.
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir=.
4342 for ac_exec_ext in '' $ac_executable_extensions; do
4343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4344 ac_cv_path_TEXI2DVI="$as_dir/$ac_word$ac_exec_ext"
4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 test -z "$ac_cv_path_TEXI2DVI" && ac_cv_path_TEXI2DVI="$missing_dir/missing texi2dvi"
4355 TEXI2DVI=$ac_cv_path_TEXI2DVI
4357 if test -n "$TEXI2DVI"; then
4358 echo "$as_me:$LINENO: result: $TEXI2DVI" >&5
4359 echo "${ECHO_T}$TEXI2DVI" >&6
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4366 echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5
4367 echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6
4368 if test "${ac_cv_sys_interpreter+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
4376 if test $? -ne 69; then
4377 ac_cv_sys_interpreter=yes
4379 ac_cv_sys_interpreter=no
4383 echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5
4384 echo "${ECHO_T}$ac_cv_sys_interpreter" >&6
4385 interpval=$ac_cv_sys_interpreter
4387 if test X"$ac_cv_sys_interpreter" != X"yes" ; then
4388 # silly trick to avoid problems in AC macros...
4389 ac_msg='perl scripts using #! may not be invoked properly'
4390 { echo "$as_me:$LINENO: WARNING: $ac_msg" >&5
4391 echo "$as_me: WARNING: $ac_msg" >&2;}
4394 # BSD's logo is a devil for a reason, hey?
4395 echo "$as_me:$LINENO: checking for BSD VPATH bug in make" >&5
4396 echo $ECHO_N "checking for BSD VPATH bug in make... $ECHO_C" >&6
4397 if test "${ccvs_cv_bsd_make_vpath_bug+set}" = set; then
4398 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 if test ! -d ac_test_dir ; then
4401 { ac_try='mkdir ac_test_dir'
4402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); }; }
4408 cat >conftestmake <<EOF
4410 ac_test_target: ac_test_dep
4411 echo BSD VPATH bug present >&2
4412 ac_test_dep: ac_test_dep_dep
4414 touch ac_test_dir/ac_test_dep_dep
4415 touch ac_test_dir/ac_test_dep
4416 touch ac_test_target
4417 # Don't know why, but the following test doesn't work under FreeBSD 4.2
4418 # without this sleep command
4420 if { ac_try='make -f conftestmake 2>&1 >/dev/null |grep ^BSD\ VPATH\ bug\ present\$ >/dev/null'
4421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); }; } ; then
4426 ccvs_cv_bsd_make_vpath_bug=yes
4428 ccvs_cv_bsd_make_vpath_bug=no
4430 { ac_try='rm -rf ac_test_dir ac_test_target conftestmake'
4431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }; }
4437 echo "$as_me:$LINENO: result: $ccvs_cv_bsd_make_vpath_bug" >&5
4438 echo "${ECHO_T}$ccvs_cv_bsd_make_vpath_bug" >&6
4439 # We also don't need to worry about the bug when $srcdir = $builddir
4443 test $ccvs_cv_bsd_make_vpath_bug = no \
4444 || test $srcdir = .; then
4445 MAKE_TARGETS_IN_VPATH_TRUE=
4446 MAKE_TARGETS_IN_VPATH_FALSE='#'
4448 MAKE_TARGETS_IN_VPATH_TRUE='#'
4449 MAKE_TARGETS_IN_VPATH_FALSE=
4459 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4460 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4461 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4462 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 cat >conftest.$ac_ext <<_ACEOF
4469 cat confdefs.h >>conftest.$ac_ext
4470 cat >>conftest.$ac_ext <<_ACEOF
4471 /* end confdefs.h. */
4472 #include <sys/types.h>
4484 rm -f conftest.$ac_objext
4485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4486 (eval $ac_compile) 2>conftest.er1
4488 grep -v '^ *+' conftest.er1 >conftest.err
4490 cat conftest.err >&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } &&
4493 { ac_try='test -z "$ac_c_werror_flag"
4494 || test ! -s conftest.err'
4495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); }; } &&
4500 { ac_try='test -s conftest.$ac_objext'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4506 eval "$as_ac_Header=yes"
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.$ac_ext >&5
4511 eval "$as_ac_Header=no"
4513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4516 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4518 cat >>confdefs.h <<_ACEOF
4519 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4522 ac_header_dirent=$ac_hdr; break
4526 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4527 if test $ac_header_dirent = dirent.h; then
4528 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4529 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4530 if test "${ac_cv_search_opendir+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 ac_func_search_save_LIBS=$LIBS
4534 ac_cv_search_opendir=no
4535 cat >conftest.$ac_ext <<_ACEOF
4538 cat confdefs.h >>conftest.$ac_ext
4539 cat >>conftest.$ac_ext <<_ACEOF
4540 /* end confdefs.h. */
4542 /* Override any gcc2 internal prototype to avoid an error. */
4546 /* We use char because int might match the return type of a gcc2
4547 builtin and then its argument prototype would still apply. */
4557 rm -f conftest.$ac_objext conftest$ac_exeext
4558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4559 (eval $ac_link) 2>conftest.er1
4561 grep -v '^ *+' conftest.er1 >conftest.err
4563 cat conftest.err >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try='test -z "$ac_c_werror_flag"
4567 || test ! -s conftest.err'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; } &&
4573 { ac_try='test -s conftest$ac_exeext'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then
4579 ac_cv_search_opendir="none required"
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.$ac_ext >&5
4585 rm -f conftest.err conftest.$ac_objext \
4586 conftest$ac_exeext conftest.$ac_ext
4587 if test "$ac_cv_search_opendir" = no; then
4588 for ac_lib in dir; do
4589 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4590 cat >conftest.$ac_ext <<_ACEOF
4593 cat confdefs.h >>conftest.$ac_ext
4594 cat >>conftest.$ac_ext <<_ACEOF
4595 /* end confdefs.h. */
4597 /* Override any gcc2 internal prototype to avoid an error. */
4601 /* We use char because int might match the return type of a gcc2
4602 builtin and then its argument prototype would still apply. */
4612 rm -f conftest.$ac_objext conftest$ac_exeext
4613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4614 (eval $ac_link) 2>conftest.er1
4616 grep -v '^ *+' conftest.er1 >conftest.err
4618 cat conftest.err >&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); } &&
4621 { ac_try='test -z "$ac_c_werror_flag"
4622 || test ! -s conftest.err'
4623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); }; } &&
4628 { ac_try='test -s conftest$ac_exeext'
4629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); }; }; then
4634 ac_cv_search_opendir="-l$ac_lib"
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.$ac_ext >&5
4641 rm -f conftest.err conftest.$ac_objext \
4642 conftest$ac_exeext conftest.$ac_ext
4645 LIBS=$ac_func_search_save_LIBS
4647 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4648 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4649 if test "$ac_cv_search_opendir" != no; then
4650 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4655 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4656 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4657 if test "${ac_cv_search_opendir+set}" = set; then
4658 echo $ECHO_N "(cached) $ECHO_C" >&6
4660 ac_func_search_save_LIBS=$LIBS
4661 ac_cv_search_opendir=no
4662 cat >conftest.$ac_ext <<_ACEOF
4665 cat confdefs.h >>conftest.$ac_ext
4666 cat >>conftest.$ac_ext <<_ACEOF
4667 /* end confdefs.h. */
4669 /* Override any gcc2 internal prototype to avoid an error. */
4673 /* We use char because int might match the return type of a gcc2
4674 builtin and then its argument prototype would still apply. */
4684 rm -f conftest.$ac_objext conftest$ac_exeext
4685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4686 (eval $ac_link) 2>conftest.er1
4688 grep -v '^ *+' conftest.er1 >conftest.err
4690 cat conftest.err >&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); } &&
4693 { ac_try='test -z "$ac_c_werror_flag"
4694 || test ! -s conftest.err'
4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }; } &&
4700 { ac_try='test -s conftest$ac_exeext'
4701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }; }; then
4706 ac_cv_search_opendir="none required"
4708 echo "$as_me: failed program was:" >&5
4709 sed 's/^/| /' conftest.$ac_ext >&5
4712 rm -f conftest.err conftest.$ac_objext \
4713 conftest$ac_exeext conftest.$ac_ext
4714 if test "$ac_cv_search_opendir" = no; then
4716 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4717 cat >conftest.$ac_ext <<_ACEOF
4720 cat confdefs.h >>conftest.$ac_ext
4721 cat >>conftest.$ac_ext <<_ACEOF
4722 /* end confdefs.h. */
4724 /* Override any gcc2 internal prototype to avoid an error. */
4728 /* We use char because int might match the return type of a gcc2
4729 builtin and then its argument prototype would still apply. */
4739 rm -f conftest.$ac_objext conftest$ac_exeext
4740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4741 (eval $ac_link) 2>conftest.er1
4743 grep -v '^ *+' conftest.er1 >conftest.err
4745 cat conftest.err >&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); } &&
4748 { ac_try='test -z "$ac_c_werror_flag"
4749 || test ! -s conftest.err'
4750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; } &&
4755 { ac_try='test -s conftest$ac_exeext'
4756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); }; }; then
4761 ac_cv_search_opendir="-l$ac_lib"
4764 echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.$ac_ext >&5
4768 rm -f conftest.err conftest.$ac_objext \
4769 conftest$ac_exeext conftest.$ac_ext
4772 LIBS=$ac_func_search_save_LIBS
4774 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4775 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4776 if test "$ac_cv_search_opendir" != no; then
4777 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4783 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4784 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4785 if test "${ac_cv_header_stdc+set}" = set; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 cat >conftest.$ac_ext <<_ACEOF
4791 cat confdefs.h >>conftest.$ac_ext
4792 cat >>conftest.$ac_ext <<_ACEOF
4793 /* end confdefs.h. */
4807 rm -f conftest.$ac_objext
4808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4809 (eval $ac_compile) 2>conftest.er1
4811 grep -v '^ *+' conftest.er1 >conftest.err
4813 cat conftest.err >&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); } &&
4816 { ac_try='test -z "$ac_c_werror_flag"
4817 || test ! -s conftest.err'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; } &&
4823 { ac_try='test -s conftest.$ac_objext'
4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; }; then
4829 ac_cv_header_stdc=yes
4831 echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.$ac_ext >&5
4834 ac_cv_header_stdc=no
4836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4838 if test $ac_cv_header_stdc = yes; then
4839 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4840 cat >conftest.$ac_ext <<_ACEOF
4843 cat confdefs.h >>conftest.$ac_ext
4844 cat >>conftest.$ac_ext <<_ACEOF
4845 /* end confdefs.h. */
4849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4850 $EGREP "memchr" >/dev/null 2>&1; then
4853 ac_cv_header_stdc=no
4859 if test $ac_cv_header_stdc = yes; then
4860 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4861 cat >conftest.$ac_ext <<_ACEOF
4864 cat confdefs.h >>conftest.$ac_ext
4865 cat >>conftest.$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4871 $EGREP "free" >/dev/null 2>&1; then
4874 ac_cv_header_stdc=no
4880 if test $ac_cv_header_stdc = yes; then
4881 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4882 if test "$cross_compiling" = yes; then
4885 cat >conftest.$ac_ext <<_ACEOF
4888 cat confdefs.h >>conftest.$ac_ext
4889 cat >>conftest.$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4892 #if ((' ' & 0x0FF) == 0x020)
4893 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4894 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4896 # define ISLOWER(c) \
4897 (('a' <= (c) && (c) <= 'i') \
4898 || ('j' <= (c) && (c) <= 'r') \
4899 || ('s' <= (c) && (c) <= 'z'))
4900 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4903 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4908 for (i = 0; i < 256; i++)
4909 if (XOR (islower (i), ISLOWER (i))
4910 || toupper (i) != TOUPPER (i))
4915 rm -f conftest$ac_exeext
4916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4917 (eval $ac_link) 2>&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; }; then
4928 echo "$as_me: program exited with status $ac_status" >&5
4929 echo "$as_me: failed program was:" >&5
4930 sed 's/^/| /' conftest.$ac_ext >&5
4933 ac_cv_header_stdc=no
4935 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4939 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4940 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4941 if test $ac_cv_header_stdc = yes; then
4943 cat >>confdefs.h <<\_ACEOF
4944 #define STDC_HEADERS 1
4949 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4950 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4951 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 cat >conftest.$ac_ext <<_ACEOF
4957 cat confdefs.h >>conftest.$ac_ext
4958 cat >>conftest.$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4960 #include <sys/types.h>
4961 #include <sys/wait.h>
4963 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4966 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4974 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4979 rm -f conftest.$ac_objext
4980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4981 (eval $ac_compile) 2>conftest.er1
4983 grep -v '^ *+' conftest.er1 >conftest.err
4985 cat conftest.err >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } &&
4988 { ac_try='test -z "$ac_c_werror_flag"
4989 || test ! -s conftest.err'
4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; } &&
4995 { ac_try='test -s conftest.$ac_objext'
4996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); }; }; then
5001 ac_cv_header_sys_wait_h=yes
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.$ac_ext >&5
5006 ac_cv_header_sys_wait_h=no
5008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5010 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5011 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5012 if test $ac_cv_header_sys_wait_h = yes; then
5014 cat >>confdefs.h <<\_ACEOF
5015 #define HAVE_SYS_WAIT_H 1
5061 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5063 echo "$as_me:$LINENO: checking for $ac_header" >&5
5064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5071 # Is the header compilable?
5072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5074 cat >conftest.$ac_ext <<_ACEOF
5077 cat confdefs.h >>conftest.$ac_ext
5078 cat >>conftest.$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5080 $ac_includes_default
5081 #include <$ac_header>
5083 rm -f conftest.$ac_objext
5084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5085 (eval $ac_compile) 2>conftest.er1
5087 grep -v '^ *+' conftest.er1 >conftest.err
5089 cat conftest.err >&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } &&
5092 { ac_try='test -z "$ac_c_werror_flag"
5093 || test ! -s conftest.err'
5094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); }; } &&
5099 { ac_try='test -s conftest.$ac_objext'
5100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); }; }; then
5105 ac_header_compiler=yes
5107 echo "$as_me: failed program was:" >&5
5108 sed 's/^/| /' conftest.$ac_ext >&5
5110 ac_header_compiler=no
5112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5114 echo "${ECHO_T}$ac_header_compiler" >&6
5116 # Is the header present?
5117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5119 cat >conftest.$ac_ext <<_ACEOF
5122 cat confdefs.h >>conftest.$ac_ext
5123 cat >>conftest.$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5125 #include <$ac_header>
5127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5130 grep -v '^ *+' conftest.er1 >conftest.err
5132 cat conftest.err >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } >/dev/null; then
5135 if test -s conftest.err; then
5136 ac_cpp_err=$ac_c_preproc_warn_flag
5137 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5144 if test -z "$ac_cpp_err"; then
5145 ac_header_preproc=yes
5147 echo "$as_me: failed program was:" >&5
5148 sed 's/^/| /' conftest.$ac_ext >&5
5150 ac_header_preproc=no
5152 rm -f conftest.err conftest.$ac_ext
5153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5154 echo "${ECHO_T}$ac_header_preproc" >&6
5156 # So? What about this header?
5157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5163 ac_header_preproc=yes
5166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5180 ## ------------------------------ ##
5181 ## Report this to bug-cvs@gnu.org ##
5182 ## ------------------------------ ##
5185 sed "s/^/$as_me: WARNING: /" >&2
5188 echo "$as_me:$LINENO: checking for $ac_header" >&5
5189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5191 echo $ECHO_N "(cached) $ECHO_C" >&6
5193 eval "$as_ac_Header=\$ac_header_preproc"
5195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5200 cat >>confdefs.h <<_ACEOF
5201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5208 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5209 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
5210 if test "${ac_cv_header_stat_broken+set}" = set; then
5211 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 cat >conftest.$ac_ext <<_ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5219 #include <sys/types.h>
5220 #include <sys/stat.h>
5222 #if defined(S_ISBLK) && defined(S_IFDIR)
5223 # if S_ISBLK (S_IFDIR)
5228 #if defined(S_ISBLK) && defined(S_IFCHR)
5229 # if S_ISBLK (S_IFCHR)
5234 #if defined(S_ISLNK) && defined(S_IFREG)
5235 # if S_ISLNK (S_IFREG)
5240 #if defined(S_ISSOCK) && defined(S_IFREG)
5241 # if S_ISSOCK (S_IFREG)
5247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5248 $EGREP "You lose" >/dev/null 2>&1; then
5249 ac_cv_header_stat_broken=yes
5251 ac_cv_header_stat_broken=no
5256 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
5257 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
5258 if test $ac_cv_header_stat_broken = yes; then
5260 cat >>confdefs.h <<\_ACEOF
5261 #define STAT_MACROS_BROKEN 1
5266 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5267 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5268 if test "${ac_cv_header_time+set}" = set; then
5269 echo $ECHO_N "(cached) $ECHO_C" >&6
5271 cat >conftest.$ac_ext <<_ACEOF
5274 cat confdefs.h >>conftest.$ac_ext
5275 cat >>conftest.$ac_ext <<_ACEOF
5276 /* end confdefs.h. */
5277 #include <sys/types.h>
5278 #include <sys/time.h>
5284 if ((struct tm *) 0)
5290 rm -f conftest.$ac_objext
5291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5292 (eval $ac_compile) 2>conftest.er1
5294 grep -v '^ *+' conftest.er1 >conftest.err
5296 cat conftest.err >&5
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); } &&
5299 { ac_try='test -z "$ac_c_werror_flag"
5300 || test ! -s conftest.err'
5301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; } &&
5306 { ac_try='test -s conftest.$ac_objext'
5307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); }; }; then
5312 ac_cv_header_time=yes
5314 echo "$as_me: failed program was:" >&5
5315 sed 's/^/| /' conftest.$ac_ext >&5
5317 ac_cv_header_time=no
5319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5321 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5322 echo "${ECHO_T}$ac_cv_header_time" >&6
5323 if test $ac_cv_header_time = yes; then
5325 cat >>confdefs.h <<\_ACEOF
5326 #define TIME_WITH_SYS_TIME 1
5332 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5333 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5334 if test "${ac_cv_c_const+set}" = set; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 cat >conftest.$ac_ext <<_ACEOF
5340 cat confdefs.h >>conftest.$ac_ext
5341 cat >>conftest.$ac_ext <<_ACEOF
5342 /* end confdefs.h. */
5347 /* FIXME: Include the comments suggested by Paul. */
5349 /* Ultrix mips cc rejects this. */
5350 typedef int charset[2];
5352 /* SunOS 4.1.1 cc rejects this. */
5353 char const *const *ccp;
5355 /* NEC SVR4.0.2 mips cc rejects this. */
5356 struct point {int x, y;};
5357 static struct point const zero = {0,0};
5358 /* AIX XL C 1.02.0.0 rejects this.
5359 It does not let you subtract one const X* pointer from another in
5360 an arm of an if-expression whose if-part is not a constant
5362 const char *g = "string";
5363 ccp = &g + (g ? g-g : 0);
5364 /* HPUX 7.0 cc rejects these. */
5367 ccp = (char const *const *) p;
5368 { /* SCO 3.2v4 cc rejects this. */
5370 char const *s = 0 ? (char *) 0 : (char const *) 0;
5374 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5376 const int *foo = &x[0];
5379 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5380 typedef const int *iptr;
5384 { /* AIX XL C 1.02.0.0 rejects this saying
5385 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5386 struct s { int j; const int *ap[3]; };
5387 struct s *b; b->j = 5;
5389 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5398 rm -f conftest.$ac_objext
5399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5400 (eval $ac_compile) 2>conftest.er1
5402 grep -v '^ *+' conftest.er1 >conftest.err
5404 cat conftest.err >&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); } &&
5407 { ac_try='test -z "$ac_c_werror_flag"
5408 || test ! -s conftest.err'
5409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); }; } &&
5414 { ac_try='test -s conftest.$ac_objext'
5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); }; }; then
5422 echo "$as_me: failed program was:" >&5
5423 sed 's/^/| /' conftest.$ac_ext >&5
5427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5429 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5430 echo "${ECHO_T}$ac_cv_c_const" >&6
5431 if test $ac_cv_c_const = no; then
5433 cat >>confdefs.h <<\_ACEOF
5439 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
5440 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
5441 if test "${ac_cv_type_uid_t+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 cat >conftest.$ac_ext <<_ACEOF
5447 cat confdefs.h >>conftest.$ac_ext
5448 cat >>conftest.$ac_ext <<_ACEOF
5449 /* end confdefs.h. */
5450 #include <sys/types.h>
5453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5454 $EGREP "uid_t" >/dev/null 2>&1; then
5455 ac_cv_type_uid_t=yes
5462 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5463 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
5464 if test $ac_cv_type_uid_t = no; then
5466 cat >>confdefs.h <<\_ACEOF
5471 cat >>confdefs.h <<\_ACEOF
5477 echo "$as_me:$LINENO: checking for mode_t" >&5
5478 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
5479 if test "${ac_cv_type_mode_t+set}" = set; then
5480 echo $ECHO_N "(cached) $ECHO_C" >&6
5482 cat >conftest.$ac_ext <<_ACEOF
5485 cat confdefs.h >>conftest.$ac_ext
5486 cat >>conftest.$ac_ext <<_ACEOF
5487 /* end confdefs.h. */
5488 $ac_includes_default
5494 if (sizeof (mode_t))
5500 rm -f conftest.$ac_objext
5501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5502 (eval $ac_compile) 2>conftest.er1
5504 grep -v '^ *+' conftest.er1 >conftest.err
5506 cat conftest.err >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); } &&
5509 { ac_try='test -z "$ac_c_werror_flag"
5510 || test ! -s conftest.err'
5511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); }; } &&
5516 { ac_try='test -s conftest.$ac_objext'
5517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }; }; then
5522 ac_cv_type_mode_t=yes
5524 echo "$as_me: failed program was:" >&5
5525 sed 's/^/| /' conftest.$ac_ext >&5
5527 ac_cv_type_mode_t=no
5529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5531 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5532 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
5533 if test $ac_cv_type_mode_t = yes; then
5537 cat >>confdefs.h <<_ACEOF
5543 echo "$as_me:$LINENO: checking for pid_t" >&5
5544 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
5545 if test "${ac_cv_type_pid_t+set}" = set; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6
5548 cat >conftest.$ac_ext <<_ACEOF
5551 cat confdefs.h >>conftest.$ac_ext
5552 cat >>conftest.$ac_ext <<_ACEOF
5553 /* end confdefs.h. */
5554 $ac_includes_default
5566 rm -f conftest.$ac_objext
5567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5568 (eval $ac_compile) 2>conftest.er1
5570 grep -v '^ *+' conftest.er1 >conftest.err
5572 cat conftest.err >&5
5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 (exit $ac_status); } &&
5575 { ac_try='test -z "$ac_c_werror_flag"
5576 || test ! -s conftest.err'
5577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); }; } &&
5582 { ac_try='test -s conftest.$ac_objext'
5583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); }; }; then
5588 ac_cv_type_pid_t=yes
5590 echo "$as_me: failed program was:" >&5
5591 sed 's/^/| /' conftest.$ac_ext >&5
5595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5597 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5598 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
5599 if test $ac_cv_type_pid_t = yes; then
5603 cat >>confdefs.h <<_ACEOF
5609 echo "$as_me:$LINENO: checking for size_t" >&5
5610 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5611 if test "${ac_cv_type_size_t+set}" = set; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5614 cat >conftest.$ac_ext <<_ACEOF
5617 cat confdefs.h >>conftest.$ac_ext
5618 cat >>conftest.$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5620 $ac_includes_default
5626 if (sizeof (size_t))
5632 rm -f conftest.$ac_objext
5633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5634 (eval $ac_compile) 2>conftest.er1
5636 grep -v '^ *+' conftest.er1 >conftest.err
5638 cat conftest.err >&5
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); } &&
5641 { ac_try='test -z "$ac_c_werror_flag"
5642 || test ! -s conftest.err'
5643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); }; } &&
5648 { ac_try='test -s conftest.$ac_objext'
5649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); }; }; then
5654 ac_cv_type_size_t=yes
5656 echo "$as_me: failed program was:" >&5
5657 sed 's/^/| /' conftest.$ac_ext >&5
5659 ac_cv_type_size_t=no
5661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5663 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5664 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5665 if test $ac_cv_type_size_t = yes; then
5669 cat >>confdefs.h <<_ACEOF
5670 #define size_t unsigned
5675 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5676 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5677 if test "${ac_cv_type_signal+set}" = set; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 cat >conftest.$ac_ext <<_ACEOF
5683 cat confdefs.h >>conftest.$ac_ext
5684 cat >>conftest.$ac_ext <<_ACEOF
5685 /* end confdefs.h. */
5686 #include <sys/types.h>
5692 extern "C" void (*signal (int, void (*)(int)))(int);
5694 void (*signal ()) ();
5705 rm -f conftest.$ac_objext
5706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5707 (eval $ac_compile) 2>conftest.er1
5709 grep -v '^ *+' conftest.er1 >conftest.err
5711 cat conftest.err >&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); } &&
5714 { ac_try='test -z "$ac_c_werror_flag"
5715 || test ! -s conftest.err'
5716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; } &&
5721 { ac_try='test -s conftest.$ac_objext'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then
5727 ac_cv_type_signal=void
5729 echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.$ac_ext >&5
5732 ac_cv_type_signal=int
5734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5736 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5737 echo "${ECHO_T}$ac_cv_type_signal" >&6
5739 cat >>confdefs.h <<_ACEOF
5740 #define RETSIGTYPE $ac_cv_type_signal
5745 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
5746 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5747 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
5748 echo $ECHO_N "(cached) $ECHO_C" >&6
5750 cat >conftest.$ac_ext <<_ACEOF
5753 cat confdefs.h >>conftest.$ac_ext
5754 cat >>conftest.$ac_ext <<_ACEOF
5755 /* end confdefs.h. */
5756 $ac_includes_default
5760 static struct stat ac_aggr;
5761 if (ac_aggr.st_blksize)
5767 rm -f conftest.$ac_objext
5768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5769 (eval $ac_compile) 2>conftest.er1
5771 grep -v '^ *+' conftest.er1 >conftest.err
5773 cat conftest.err >&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); } &&
5776 { ac_try='test -z "$ac_c_werror_flag"
5777 || test ! -s conftest.err'
5778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; } &&
5783 { ac_try='test -s conftest.$ac_objext'
5784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); }; }; then
5789 ac_cv_member_struct_stat_st_blksize=yes
5791 echo "$as_me: failed program was:" >&5
5792 sed 's/^/| /' conftest.$ac_ext >&5
5794 cat >conftest.$ac_ext <<_ACEOF
5797 cat confdefs.h >>conftest.$ac_ext
5798 cat >>conftest.$ac_ext <<_ACEOF
5799 /* end confdefs.h. */
5800 $ac_includes_default
5804 static struct stat ac_aggr;
5805 if (sizeof ac_aggr.st_blksize)
5811 rm -f conftest.$ac_objext
5812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5813 (eval $ac_compile) 2>conftest.er1
5815 grep -v '^ *+' conftest.er1 >conftest.err
5817 cat conftest.err >&5
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); } &&
5820 { ac_try='test -z "$ac_c_werror_flag"
5821 || test ! -s conftest.err'
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); }; } &&
5827 { ac_try='test -s conftest.$ac_objext'
5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); }; }; then
5833 ac_cv_member_struct_stat_st_blksize=yes
5835 echo "$as_me: failed program was:" >&5
5836 sed 's/^/| /' conftest.$ac_ext >&5
5838 ac_cv_member_struct_stat_st_blksize=no
5840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5844 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
5845 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
5846 if test $ac_cv_member_struct_stat_st_blksize = yes; then
5848 cat >>confdefs.h <<_ACEOF
5849 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5855 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5856 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5857 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 cat >conftest.$ac_ext <<_ACEOF
5863 cat confdefs.h >>conftest.$ac_ext
5864 cat >>conftest.$ac_ext <<_ACEOF
5865 /* end confdefs.h. */
5866 $ac_includes_default
5870 static struct stat ac_aggr;
5871 if (ac_aggr.st_rdev)
5877 rm -f conftest.$ac_objext
5878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5879 (eval $ac_compile) 2>conftest.er1
5881 grep -v '^ *+' conftest.er1 >conftest.err
5883 cat conftest.err >&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); } &&
5886 { ac_try='test -z "$ac_c_werror_flag"
5887 || test ! -s conftest.err'
5888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); }; } &&
5893 { ac_try='test -s conftest.$ac_objext'
5894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5898 (exit $ac_status); }; }; then
5899 ac_cv_member_struct_stat_st_rdev=yes
5901 echo "$as_me: failed program was:" >&5
5902 sed 's/^/| /' conftest.$ac_ext >&5
5904 cat >conftest.$ac_ext <<_ACEOF
5907 cat confdefs.h >>conftest.$ac_ext
5908 cat >>conftest.$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5910 $ac_includes_default
5914 static struct stat ac_aggr;
5915 if (sizeof ac_aggr.st_rdev)
5921 rm -f conftest.$ac_objext
5922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5923 (eval $ac_compile) 2>conftest.er1
5925 grep -v '^ *+' conftest.er1 >conftest.err
5927 cat conftest.err >&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } &&
5930 { ac_try='test -z "$ac_c_werror_flag"
5931 || test ! -s conftest.err'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; } &&
5937 { ac_try='test -s conftest.$ac_objext'
5938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; }; then
5943 ac_cv_member_struct_stat_st_rdev=yes
5945 echo "$as_me: failed program was:" >&5
5946 sed 's/^/| /' conftest.$ac_ext >&5
5948 ac_cv_member_struct_stat_st_rdev=no
5950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5954 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5955 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
5956 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5958 cat >>confdefs.h <<_ACEOF
5959 #define HAVE_STRUCT_STAT_ST_RDEV 1
5991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5992 echo "$as_me:$LINENO: checking for $ac_func" >&5
5993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5994 if eval "test \"\${$as_ac_var+set}\" = set"; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 cat >conftest.$ac_ext <<_ACEOF
6000 cat confdefs.h >>conftest.$ac_ext
6001 cat >>conftest.$ac_ext <<_ACEOF
6002 /* end confdefs.h. */
6003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6005 #define $ac_func innocuous_$ac_func
6007 /* System header to define __stub macros and hopefully few prototypes,
6008 which can conflict with char $ac_func (); below.
6009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6010 <limits.h> exists even on freestanding compilers. */
6013 # include <limits.h>
6015 # include <assert.h>
6020 /* Override any gcc2 internal prototype to avoid an error. */
6025 /* We use char because int might match the return type of a gcc2
6026 builtin and then its argument prototype would still apply. */
6028 /* The GNU C library defines this for functions which it implements
6029 to always fail with ENOSYS. Some functions are actually named
6030 something starting with __ and the normal name is an alias. */
6031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6034 char (*f) () = $ac_func;
6043 return f != $ac_func;
6048 rm -f conftest.$ac_objext conftest$ac_exeext
6049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6050 (eval $ac_link) 2>conftest.er1
6052 grep -v '^ *+' conftest.er1 >conftest.err
6054 cat conftest.err >&5
6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056 (exit $ac_status); } &&
6057 { ac_try='test -z "$ac_c_werror_flag"
6058 || test ! -s conftest.err'
6059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063 (exit $ac_status); }; } &&
6064 { ac_try='test -s conftest$ac_exeext'
6065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); }; }; then
6070 eval "$as_ac_var=yes"
6072 echo "$as_me: failed program was:" >&5
6073 sed 's/^/| /' conftest.$ac_ext >&5
6075 eval "$as_ac_var=no"
6077 rm -f conftest.err conftest.$ac_objext \
6078 conftest$ac_exeext conftest.$ac_ext
6080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6082 if test `eval echo '${'$as_ac_var'}'` = yes; then
6083 cat >>confdefs.h <<_ACEOF
6084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6089 "$ac_func.$ac_objext" | \
6090 *" $ac_func.$ac_objext" | \
6091 "$ac_func.$ac_objext "* | \
6092 *" $ac_func.$ac_objext "* ) ;;
6093 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
6105 for ac_header in stdint.h
6107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6109 echo "$as_me:$LINENO: checking for $ac_header" >&5
6110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6112 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6117 # Is the header compilable?
6118 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6119 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6120 cat >conftest.$ac_ext <<_ACEOF
6123 cat confdefs.h >>conftest.$ac_ext
6124 cat >>conftest.$ac_ext <<_ACEOF
6125 /* end confdefs.h. */
6126 $ac_includes_default
6127 #include <$ac_header>
6129 rm -f conftest.$ac_objext
6130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6131 (eval $ac_compile) 2>conftest.er1
6133 grep -v '^ *+' conftest.er1 >conftest.err
6135 cat conftest.err >&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); } &&
6138 { ac_try='test -z "$ac_c_werror_flag"
6139 || test ! -s conftest.err'
6140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; } &&
6145 { ac_try='test -s conftest.$ac_objext'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; }; then
6151 ac_header_compiler=yes
6153 echo "$as_me: failed program was:" >&5
6154 sed 's/^/| /' conftest.$ac_ext >&5
6156 ac_header_compiler=no
6158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6159 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6160 echo "${ECHO_T}$ac_header_compiler" >&6
6162 # Is the header present?
6163 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6164 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6165 cat >conftest.$ac_ext <<_ACEOF
6168 cat confdefs.h >>conftest.$ac_ext
6169 cat >>conftest.$ac_ext <<_ACEOF
6170 /* end confdefs.h. */
6171 #include <$ac_header>
6173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6174 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6176 grep -v '^ *+' conftest.er1 >conftest.err
6178 cat conftest.err >&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); } >/dev/null; then
6181 if test -s conftest.err; then
6182 ac_cpp_err=$ac_c_preproc_warn_flag
6183 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6190 if test -z "$ac_cpp_err"; then
6191 ac_header_preproc=yes
6193 echo "$as_me: failed program was:" >&5
6194 sed 's/^/| /' conftest.$ac_ext >&5
6196 ac_header_preproc=no
6198 rm -f conftest.err conftest.$ac_ext
6199 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6200 echo "${ECHO_T}$ac_header_preproc" >&6
6202 # So? What about this header?
6203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6205 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6206 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6208 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6209 ac_header_preproc=yes
6212 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6213 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6214 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6215 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6216 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6217 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6218 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6219 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6222 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6223 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6226 ## ------------------------------ ##
6227 ## Report this to bug-cvs@gnu.org ##
6228 ## ------------------------------ ##
6231 sed "s/^/$as_me: WARNING: /" >&2
6234 echo "$as_me:$LINENO: checking for $ac_header" >&5
6235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 eval "$as_ac_Header=\$ac_header_preproc"
6241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6246 cat >>confdefs.h <<_ACEOF
6247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6254 echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
6255 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
6257 cat >conftest.$ac_ext <<_ACEOF
6260 cat confdefs.h >>conftest.$ac_ext
6261 cat >>conftest.$ac_ext <<_ACEOF
6262 /* end confdefs.h. */
6273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6274 $EGREP "Found it" >/dev/null 2>&1; then
6279 if test -z "$result"; then
6280 if test "$cross_compiling" = yes; then
6281 # Depending upon the size, compute the lo and hi bounds.
6282 cat >conftest.$ac_ext <<_ACEOF
6285 cat confdefs.h >>conftest.$ac_ext
6286 cat >>conftest.$ac_ext <<_ACEOF
6287 /* end confdefs.h. */
6292 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
6299 rm -f conftest.$ac_objext
6300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6301 (eval $ac_compile) 2>conftest.er1
6303 grep -v '^ *+' conftest.er1 >conftest.err
6305 cat conftest.err >&5
6306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); } &&
6308 { ac_try='test -z "$ac_c_werror_flag"
6309 || test ! -s conftest.err'
6310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); }; } &&
6315 { ac_try='test -s conftest.$ac_objext'
6316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 (exit $ac_status); }; }; then
6323 cat >conftest.$ac_ext <<_ACEOF
6326 cat confdefs.h >>conftest.$ac_ext
6327 cat >>conftest.$ac_ext <<_ACEOF
6328 /* end confdefs.h. */
6333 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
6340 rm -f conftest.$ac_objext
6341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6342 (eval $ac_compile) 2>conftest.er1
6344 grep -v '^ *+' conftest.er1 >conftest.err
6346 cat conftest.err >&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } &&
6349 { ac_try='test -z "$ac_c_werror_flag"
6350 || test ! -s conftest.err'
6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; } &&
6356 { ac_try='test -s conftest.$ac_objext'
6357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); }; }; then
6362 ac_hi=$ac_mid; break
6364 echo "$as_me: failed program was:" >&5
6365 sed 's/^/| /' conftest.$ac_ext >&5
6367 ac_lo=`expr $ac_mid + 1`
6368 if test $ac_lo -le $ac_mid; then
6372 ac_mid=`expr 2 '*' $ac_mid + 1`
6374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6377 echo "$as_me: failed program was:" >&5
6378 sed 's/^/| /' conftest.$ac_ext >&5
6380 cat >conftest.$ac_ext <<_ACEOF
6383 cat confdefs.h >>conftest.$ac_ext
6384 cat >>conftest.$ac_ext <<_ACEOF
6385 /* end confdefs.h. */
6390 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
6397 rm -f conftest.$ac_objext
6398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6399 (eval $ac_compile) 2>conftest.er1
6401 grep -v '^ *+' conftest.er1 >conftest.err
6403 cat conftest.err >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } &&
6406 { ac_try='test -z "$ac_c_werror_flag"
6407 || test ! -s conftest.err'
6408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); }; } &&
6413 { ac_try='test -s conftest.$ac_objext'
6414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); }; }; then
6421 cat >conftest.$ac_ext <<_ACEOF
6424 cat confdefs.h >>conftest.$ac_ext
6425 cat >>conftest.$ac_ext <<_ACEOF
6426 /* end confdefs.h. */
6431 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
6438 rm -f conftest.$ac_objext
6439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6440 (eval $ac_compile) 2>conftest.er1
6442 grep -v '^ *+' conftest.er1 >conftest.err
6444 cat conftest.err >&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); } &&
6447 { ac_try='test -z "$ac_c_werror_flag"
6448 || test ! -s conftest.err'
6449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; } &&
6454 { ac_try='test -s conftest.$ac_objext'
6455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); }; }; then
6460 ac_lo=$ac_mid; break
6462 echo "$as_me: failed program was:" >&5
6463 sed 's/^/| /' conftest.$ac_ext >&5
6465 ac_hi=`expr '(' $ac_mid ')' - 1`
6466 if test $ac_mid -le $ac_hi; then
6470 ac_mid=`expr 2 '*' $ac_mid`
6472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6475 echo "$as_me: failed program was:" >&5
6476 sed 's/^/| /' conftest.$ac_ext >&5
6480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6483 # Binary search between lo and hi bounds.
6484 while test "x$ac_lo" != "x$ac_hi"; do
6485 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6486 cat >conftest.$ac_ext <<_ACEOF
6489 cat confdefs.h >>conftest.$ac_ext
6490 cat >>conftest.$ac_ext <<_ACEOF
6491 /* end confdefs.h. */
6496 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
6503 rm -f conftest.$ac_objext
6504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6505 (eval $ac_compile) 2>conftest.er1
6507 grep -v '^ *+' conftest.er1 >conftest.err
6509 cat conftest.err >&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } &&
6512 { ac_try='test -z "$ac_c_werror_flag"
6513 || test ! -s conftest.err'
6514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); }; } &&
6519 { ac_try='test -s conftest.$ac_objext'
6520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); }; }; then
6527 echo "$as_me: failed program was:" >&5
6528 sed 's/^/| /' conftest.$ac_ext >&5
6530 ac_lo=`expr '(' $ac_mid ')' + 1`
6532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6539 if test "$cross_compiling" = yes; then
6540 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6541 See \`config.log' for more details." >&5
6542 echo "$as_me: error: cannot run test program while cross compiling
6543 See \`config.log' for more details." >&2;}
6544 { (exit 1); exit 1; }; }
6546 cat >conftest.$ac_ext <<_ACEOF
6549 cat confdefs.h >>conftest.$ac_ext
6550 cat >>conftest.$ac_ext <<_ACEOF
6551 /* end confdefs.h. */
6553 long longval () { return ~(size_t)0 / 10; }
6554 unsigned long ulongval () { return ~(size_t)0 / 10; }
6561 FILE *f = fopen ("conftest.val", "w");
6564 if ((~(size_t)0 / 10) < 0)
6566 long i = longval ();
6567 if (i != (~(size_t)0 / 10))
6569 fprintf (f, "%ld\n", i);
6573 unsigned long i = ulongval ();
6574 if (i != (~(size_t)0 / 10))
6576 fprintf (f, "%lu\n", i);
6578 exit (ferror (f) || fclose (f) != 0);
6584 rm -f conftest$ac_exeext
6585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6586 (eval $ac_link) 2>&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); }; }; then
6595 res_hi=`cat conftest.val`
6597 echo "$as_me: program exited with status $ac_status" >&5
6598 echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.$ac_ext >&5
6604 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6608 if test "$cross_compiling" = yes; then
6609 # Depending upon the size, compute the lo and hi bounds.
6610 cat >conftest.$ac_ext <<_ACEOF
6613 cat confdefs.h >>conftest.$ac_ext
6614 cat >>conftest.$ac_ext <<_ACEOF
6615 /* end confdefs.h. */
6620 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
6627 rm -f conftest.$ac_objext
6628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6629 (eval $ac_compile) 2>conftest.er1
6631 grep -v '^ *+' conftest.er1 >conftest.err
6633 cat conftest.err >&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } &&
6636 { ac_try='test -z "$ac_c_werror_flag"
6637 || test ! -s conftest.err'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; } &&
6643 { ac_try='test -s conftest.$ac_objext'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then
6651 cat >conftest.$ac_ext <<_ACEOF
6654 cat confdefs.h >>conftest.$ac_ext
6655 cat >>conftest.$ac_ext <<_ACEOF
6656 /* end confdefs.h. */
6661 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
6668 rm -f conftest.$ac_objext
6669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6670 (eval $ac_compile) 2>conftest.er1
6672 grep -v '^ *+' conftest.er1 >conftest.err
6674 cat conftest.err >&5
6675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); } &&
6677 { ac_try='test -z "$ac_c_werror_flag"
6678 || test ! -s conftest.err'
6679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); }; } &&
6684 { ac_try='test -s conftest.$ac_objext'
6685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); }; }; then
6690 ac_hi=$ac_mid; break
6692 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.$ac_ext >&5
6695 ac_lo=`expr $ac_mid + 1`
6696 if test $ac_lo -le $ac_mid; then
6700 ac_mid=`expr 2 '*' $ac_mid + 1`
6702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6708 cat >conftest.$ac_ext <<_ACEOF
6711 cat confdefs.h >>conftest.$ac_ext
6712 cat >>conftest.$ac_ext <<_ACEOF
6713 /* end confdefs.h. */
6718 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
6725 rm -f conftest.$ac_objext
6726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6727 (eval $ac_compile) 2>conftest.er1
6729 grep -v '^ *+' conftest.er1 >conftest.err
6731 cat conftest.err >&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } &&
6734 { ac_try='test -z "$ac_c_werror_flag"
6735 || test ! -s conftest.err'
6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); }; } &&
6741 { ac_try='test -s conftest.$ac_objext'
6742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746 (exit $ac_status); }; }; then
6749 cat >conftest.$ac_ext <<_ACEOF
6752 cat confdefs.h >>conftest.$ac_ext
6753 cat >>conftest.$ac_ext <<_ACEOF
6754 /* end confdefs.h. */
6759 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
6766 rm -f conftest.$ac_objext
6767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6768 (eval $ac_compile) 2>conftest.er1
6770 grep -v '^ *+' conftest.er1 >conftest.err
6772 cat conftest.err >&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); } &&
6775 { ac_try='test -z "$ac_c_werror_flag"
6776 || test ! -s conftest.err'
6777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; } &&
6782 { ac_try='test -s conftest.$ac_objext'
6783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); }; }; then
6788 ac_lo=$ac_mid; break
6790 echo "$as_me: failed program was:" >&5
6791 sed 's/^/| /' conftest.$ac_ext >&5
6793 ac_hi=`expr '(' $ac_mid ')' - 1`
6794 if test $ac_mid -le $ac_hi; then
6798 ac_mid=`expr 2 '*' $ac_mid`
6800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6803 echo "$as_me: failed program was:" >&5
6804 sed 's/^/| /' conftest.$ac_ext >&5
6808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6811 # Binary search between lo and hi bounds.
6812 while test "x$ac_lo" != "x$ac_hi"; do
6813 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6814 cat >conftest.$ac_ext <<_ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6824 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
6831 rm -f conftest.$ac_objext
6832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6833 (eval $ac_compile) 2>conftest.er1
6835 grep -v '^ *+' conftest.er1 >conftest.err
6837 cat conftest.err >&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); } &&
6840 { ac_try='test -z "$ac_c_werror_flag"
6841 || test ! -s conftest.err'
6842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); }; } &&
6847 { ac_try='test -s conftest.$ac_objext'
6848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); }; }; then
6855 echo "$as_me: failed program was:" >&5
6856 sed 's/^/| /' conftest.$ac_ext >&5
6858 ac_lo=`expr '(' $ac_mid ')' + 1`
6860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6867 if test "$cross_compiling" = yes; then
6868 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6869 See \`config.log' for more details." >&5
6870 echo "$as_me: error: cannot run test program while cross compiling
6871 See \`config.log' for more details." >&2;}
6872 { (exit 1); exit 1; }; }
6874 cat >conftest.$ac_ext <<_ACEOF
6877 cat confdefs.h >>conftest.$ac_ext
6878 cat >>conftest.$ac_ext <<_ACEOF
6879 /* end confdefs.h. */
6881 long longval () { return ~(size_t)0 % 10; }
6882 unsigned long ulongval () { return ~(size_t)0 % 10; }
6889 FILE *f = fopen ("conftest.val", "w");
6892 if ((~(size_t)0 % 10) < 0)
6894 long i = longval ();
6895 if (i != (~(size_t)0 % 10))
6897 fprintf (f, "%ld\n", i);
6901 unsigned long i = ulongval ();
6902 if (i != (~(size_t)0 % 10))
6904 fprintf (f, "%lu\n", i);
6906 exit (ferror (f) || fclose (f) != 0);
6912 rm -f conftest$ac_exeext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6914 (eval $ac_link) 2>&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); }; }; then
6923 res_lo=`cat conftest.val`
6925 echo "$as_me: program exited with status $ac_status" >&5
6926 echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.$ac_ext >&5
6932 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6936 if test "$cross_compiling" = yes; then
6937 # Depending upon the size, compute the lo and hi bounds.
6938 cat >conftest.$ac_ext <<_ACEOF
6941 cat confdefs.h >>conftest.$ac_ext
6942 cat >>conftest.$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6948 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
6955 rm -f conftest.$ac_objext
6956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6957 (eval $ac_compile) 2>conftest.er1
6959 grep -v '^ *+' conftest.er1 >conftest.err
6961 cat conftest.err >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } &&
6964 { ac_try='test -z "$ac_c_werror_flag"
6965 || test ! -s conftest.err'
6966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); }; } &&
6971 { ac_try='test -s conftest.$ac_objext'
6972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); }; }; then
6979 cat >conftest.$ac_ext <<_ACEOF
6982 cat confdefs.h >>conftest.$ac_ext
6983 cat >>conftest.$ac_ext <<_ACEOF
6984 /* end confdefs.h. */
6989 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
6996 rm -f conftest.$ac_objext
6997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6998 (eval $ac_compile) 2>conftest.er1
7000 grep -v '^ *+' conftest.er1 >conftest.err
7002 cat conftest.err >&5
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); } &&
7005 { ac_try='test -z "$ac_c_werror_flag"
7006 || test ! -s conftest.err'
7007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); }; } &&
7012 { ac_try='test -s conftest.$ac_objext'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; }; then
7018 ac_hi=$ac_mid; break
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.$ac_ext >&5
7023 ac_lo=`expr $ac_mid + 1`
7024 if test $ac_lo -le $ac_mid; then
7028 ac_mid=`expr 2 '*' $ac_mid + 1`
7030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7033 echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.$ac_ext >&5
7036 cat >conftest.$ac_ext <<_ACEOF
7039 cat confdefs.h >>conftest.$ac_ext
7040 cat >>conftest.$ac_ext <<_ACEOF
7041 /* end confdefs.h. */
7046 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
7053 rm -f conftest.$ac_objext
7054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7055 (eval $ac_compile) 2>conftest.er1
7057 grep -v '^ *+' conftest.er1 >conftest.err
7059 cat conftest.err >&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); } &&
7062 { ac_try='test -z "$ac_c_werror_flag"
7063 || test ! -s conftest.err'
7064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }; } &&
7069 { ac_try='test -s conftest.$ac_objext'
7070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); }; }; then
7077 cat >conftest.$ac_ext <<_ACEOF
7080 cat confdefs.h >>conftest.$ac_ext
7081 cat >>conftest.$ac_ext <<_ACEOF
7082 /* end confdefs.h. */
7087 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
7094 rm -f conftest.$ac_objext
7095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7096 (eval $ac_compile) 2>conftest.er1
7098 grep -v '^ *+' conftest.er1 >conftest.err
7100 cat conftest.err >&5
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); } &&
7103 { ac_try='test -z "$ac_c_werror_flag"
7104 || test ! -s conftest.err'
7105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); }; } &&
7110 { ac_try='test -s conftest.$ac_objext'
7111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); }; }; then
7116 ac_lo=$ac_mid; break
7118 echo "$as_me: failed program was:" >&5
7119 sed 's/^/| /' conftest.$ac_ext >&5
7121 ac_hi=`expr '(' $ac_mid ')' - 1`
7122 if test $ac_mid -le $ac_hi; then
7126 ac_mid=`expr 2 '*' $ac_mid`
7128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7131 echo "$as_me: failed program was:" >&5
7132 sed 's/^/| /' conftest.$ac_ext >&5
7136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7139 # Binary search between lo and hi bounds.
7140 while test "x$ac_lo" != "x$ac_hi"; do
7141 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7142 cat >conftest.$ac_ext <<_ACEOF
7145 cat confdefs.h >>conftest.$ac_ext
7146 cat >>conftest.$ac_ext <<_ACEOF
7147 /* end confdefs.h. */
7152 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7159 rm -f conftest.$ac_objext
7160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7161 (eval $ac_compile) 2>conftest.er1
7163 grep -v '^ *+' conftest.er1 >conftest.err
7165 cat conftest.err >&5
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); } &&
7168 { ac_try='test -z "$ac_c_werror_flag"
7169 || test ! -s conftest.err'
7170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); }; } &&
7175 { ac_try='test -s conftest.$ac_objext'
7176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); }; }; then
7183 echo "$as_me: failed program was:" >&5
7184 sed 's/^/| /' conftest.$ac_ext >&5
7186 ac_lo=`expr '(' $ac_mid ')' + 1`
7188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7191 ?*) fits_in_uint=$ac_lo;;
7195 if test "$cross_compiling" = yes; then
7196 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7197 See \`config.log' for more details." >&5
7198 echo "$as_me: error: cannot run test program while cross compiling
7199 See \`config.log' for more details." >&2;}
7200 { (exit 1); exit 1; }; }
7202 cat >conftest.$ac_ext <<_ACEOF
7205 cat confdefs.h >>conftest.$ac_ext
7206 cat >>conftest.$ac_ext <<_ACEOF
7207 /* end confdefs.h. */
7209 long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
7210 unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
7217 FILE *f = fopen ("conftest.val", "w");
7220 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
7222 long i = longval ();
7223 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
7225 fprintf (f, "%ld\n", i);
7229 unsigned long i = ulongval ();
7230 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
7232 fprintf (f, "%lu\n", i);
7234 exit (ferror (f) || fclose (f) != 0);
7240 rm -f conftest$ac_exeext
7241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7242 (eval $ac_link) 2>&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); }; }; then
7251 fits_in_uint=`cat conftest.val`
7253 echo "$as_me: program exited with status $ac_status" >&5
7254 echo "$as_me: failed program was:" >&5
7255 sed 's/^/| /' conftest.$ac_ext >&5
7260 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7264 if test "$fits_in_uint" = 1; then
7265 cat >conftest.$ac_ext <<_ACEOF
7268 cat confdefs.h >>conftest.$ac_ext
7269 cat >>conftest.$ac_ext <<_ACEOF
7270 /* end confdefs.h. */
7273 extern unsigned long foo;
7283 rm -f conftest.$ac_objext
7284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7285 (eval $ac_compile) 2>conftest.er1
7287 grep -v '^ *+' conftest.er1 >conftest.err
7289 cat conftest.err >&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); } &&
7292 { ac_try='test -z "$ac_c_werror_flag"
7293 || test ! -s conftest.err'
7294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); }; } &&
7299 { ac_try='test -s conftest.$ac_objext'
7300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); }; }; then
7307 echo "$as_me: failed program was:" >&5
7308 sed 's/^/| /' conftest.$ac_ext >&5
7311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7313 if test -z "$result"; then
7314 if test "$fits_in_uint" = 1; then
7315 result="$res_hi$res_lo"U
7317 result="$res_hi$res_lo"UL
7323 echo "$as_me:$LINENO: result: $result" >&5
7324 echo "${ECHO_T}$result" >&6
7325 if test "$result" != yes; then
7327 cat >>confdefs.h <<_ACEOF
7328 #define SIZE_MAX $result
7333 echo "$as_me:$LINENO: checking for inline" >&5
7334 echo $ECHO_N "checking for inline... $ECHO_C" >&6
7335 if test "${ac_cv_c_inline+set}" = set; then
7336 echo $ECHO_N "(cached) $ECHO_C" >&6
7339 for ac_kw in inline __inline__ __inline; do
7340 cat >conftest.$ac_ext <<_ACEOF
7343 cat confdefs.h >>conftest.$ac_ext
7344 cat >>conftest.$ac_ext <<_ACEOF
7345 /* end confdefs.h. */
7348 static $ac_kw foo_t static_foo () {return 0; }
7349 $ac_kw foo_t foo () {return 0; }
7353 rm -f conftest.$ac_objext
7354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7355 (eval $ac_compile) 2>conftest.er1
7357 grep -v '^ *+' conftest.er1 >conftest.err
7359 cat conftest.err >&5
7360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7361 (exit $ac_status); } &&
7362 { ac_try='test -z "$ac_c_werror_flag"
7363 || test ! -s conftest.err'
7364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); }; } &&
7369 { ac_try='test -s conftest.$ac_objext'
7370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374 (exit $ac_status); }; }; then
7375 ac_cv_c_inline=$ac_kw; break
7377 echo "$as_me: failed program was:" >&5
7378 sed 's/^/| /' conftest.$ac_ext >&5
7381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7385 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7386 echo "${ECHO_T}$ac_cv_c_inline" >&6
7389 case $ac_cv_c_inline in
7392 case $ac_cv_c_inline in
7394 *) ac_val=$ac_cv_c_inline;;
7396 cat >>confdefs.h <<_ACEOF
7398 #define inline $ac_val
7408 for ac_header in stdint.h
7410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7412 echo "$as_me:$LINENO: checking for $ac_header" >&5
7413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7420 # Is the header compilable?
7421 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7422 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7423 cat >conftest.$ac_ext <<_ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7429 $ac_includes_default
7430 #include <$ac_header>
7432 rm -f conftest.$ac_objext
7433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7434 (eval $ac_compile) 2>conftest.er1
7436 grep -v '^ *+' conftest.er1 >conftest.err
7438 cat conftest.err >&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); } &&
7441 { ac_try='test -z "$ac_c_werror_flag"
7442 || test ! -s conftest.err'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; } &&
7448 { ac_try='test -s conftest.$ac_objext'
7449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }; }; then
7454 ac_header_compiler=yes
7456 echo "$as_me: failed program was:" >&5
7457 sed 's/^/| /' conftest.$ac_ext >&5
7459 ac_header_compiler=no
7461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7462 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7463 echo "${ECHO_T}$ac_header_compiler" >&6
7465 # Is the header present?
7466 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7467 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7468 cat >conftest.$ac_ext <<_ACEOF
7471 cat confdefs.h >>conftest.$ac_ext
7472 cat >>conftest.$ac_ext <<_ACEOF
7473 /* end confdefs.h. */
7474 #include <$ac_header>
7476 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7477 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7479 grep -v '^ *+' conftest.er1 >conftest.err
7481 cat conftest.err >&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); } >/dev/null; then
7484 if test -s conftest.err; then
7485 ac_cpp_err=$ac_c_preproc_warn_flag
7486 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7493 if test -z "$ac_cpp_err"; then
7494 ac_header_preproc=yes
7496 echo "$as_me: failed program was:" >&5
7497 sed 's/^/| /' conftest.$ac_ext >&5
7499 ac_header_preproc=no
7501 rm -f conftest.err conftest.$ac_ext
7502 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7503 echo "${ECHO_T}$ac_header_preproc" >&6
7505 # So? What about this header?
7506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7508 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7509 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7511 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7512 ac_header_preproc=yes
7515 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7516 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7517 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7518 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7519 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7520 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7521 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7522 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7524 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7525 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7526 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7529 ## ------------------------------ ##
7530 ## Report this to bug-cvs@gnu.org ##
7531 ## ------------------------------ ##
7534 sed "s/^/$as_me: WARNING: /" >&2
7537 echo "$as_me:$LINENO: checking for $ac_header" >&5
7538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7540 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 eval "$as_ac_Header=\$ac_header_preproc"
7544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7549 cat >>confdefs.h <<_ACEOF
7550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7560 cat >>confdefs.h <<\_ACEOF
7561 #define getpass cvs_getpass
7633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7634 echo "$as_me:$LINENO: checking for $ac_func" >&5
7635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7636 if eval "test \"\${$as_ac_var+set}\" = set"; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6
7639 cat >conftest.$ac_ext <<_ACEOF
7642 cat confdefs.h >>conftest.$ac_ext
7643 cat >>conftest.$ac_ext <<_ACEOF
7644 /* end confdefs.h. */
7645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7647 #define $ac_func innocuous_$ac_func
7649 /* System header to define __stub macros and hopefully few prototypes,
7650 which can conflict with char $ac_func (); below.
7651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7652 <limits.h> exists even on freestanding compilers. */
7655 # include <limits.h>
7657 # include <assert.h>
7662 /* Override any gcc2 internal prototype to avoid an error. */
7667 /* We use char because int might match the return type of a gcc2
7668 builtin and then its argument prototype would still apply. */
7670 /* The GNU C library defines this for functions which it implements
7671 to always fail with ENOSYS. Some functions are actually named
7672 something starting with __ and the normal name is an alias. */
7673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7676 char (*f) () = $ac_func;
7685 return f != $ac_func;
7690 rm -f conftest.$ac_objext conftest$ac_exeext
7691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7692 (eval $ac_link) 2>conftest.er1
7694 grep -v '^ *+' conftest.er1 >conftest.err
7696 cat conftest.err >&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); } &&
7699 { ac_try='test -z "$ac_c_werror_flag"
7700 || test ! -s conftest.err'
7701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); }; } &&
7706 { ac_try='test -s conftest$ac_exeext'
7707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); }; }; then
7712 eval "$as_ac_var=yes"
7714 echo "$as_me: failed program was:" >&5
7715 sed 's/^/| /' conftest.$ac_ext >&5
7717 eval "$as_ac_var=no"
7719 rm -f conftest.err conftest.$ac_objext \
7720 conftest$ac_exeext conftest.$ac_ext
7722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7724 if test `eval echo '${'$as_ac_var'}'` = yes; then
7725 cat >>confdefs.h <<_ACEOF
7726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7732 # we only need one of the following
7742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7743 echo "$as_me:$LINENO: checking for $ac_func" >&5
7744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7745 if eval "test \"\${$as_ac_var+set}\" = set"; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 cat >conftest.$ac_ext <<_ACEOF
7751 cat confdefs.h >>conftest.$ac_ext
7752 cat >>conftest.$ac_ext <<_ACEOF
7753 /* end confdefs.h. */
7754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7756 #define $ac_func innocuous_$ac_func
7758 /* System header to define __stub macros and hopefully few prototypes,
7759 which can conflict with char $ac_func (); below.
7760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7761 <limits.h> exists even on freestanding compilers. */
7764 # include <limits.h>
7766 # include <assert.h>
7771 /* Override any gcc2 internal prototype to avoid an error. */
7776 /* We use char because int might match the return type of a gcc2
7777 builtin and then its argument prototype would still apply. */
7779 /* The GNU C library defines this for functions which it implements
7780 to always fail with ENOSYS. Some functions are actually named
7781 something starting with __ and the normal name is an alias. */
7782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7785 char (*f) () = $ac_func;
7794 return f != $ac_func;
7799 rm -f conftest.$ac_objext conftest$ac_exeext
7800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7801 (eval $ac_link) 2>conftest.er1
7803 grep -v '^ *+' conftest.er1 >conftest.err
7805 cat conftest.err >&5
7806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807 (exit $ac_status); } &&
7808 { ac_try='test -z "$ac_c_werror_flag"
7809 || test ! -s conftest.err'
7810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7814 (exit $ac_status); }; } &&
7815 { ac_try='test -s conftest$ac_exeext'
7816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }; }; then
7821 eval "$as_ac_var=yes"
7823 echo "$as_me: failed program was:" >&5
7824 sed 's/^/| /' conftest.$ac_ext >&5
7826 eval "$as_ac_var=no"
7828 rm -f conftest.err conftest.$ac_objext \
7829 conftest$ac_exeext conftest.$ac_ext
7831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7833 if test `eval echo '${'$as_ac_var'}'` = yes; then
7834 cat >>confdefs.h <<_ACEOF
7835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7843 cat >>confdefs.h <<\_ACEOF
7844 #define HAVE_STRCHR 1
7848 cat >>confdefs.h <<\_ACEOF
7849 #define HAVE_MEMCHR 1
7854 cat >>confdefs.h <<\_ACEOF
7855 #define REGEX_MALLOC 1
7859 cat >>confdefs.h <<\_ACEOF
7860 #define _REGEX_RE_COMP 1
7865 for ac_header in unistd.h vfork.h
7867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7869 echo "$as_me:$LINENO: checking for $ac_header" >&5
7870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7872 echo $ECHO_N "(cached) $ECHO_C" >&6
7874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7877 # Is the header compilable?
7878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7880 cat >conftest.$ac_ext <<_ACEOF
7883 cat confdefs.h >>conftest.$ac_ext
7884 cat >>conftest.$ac_ext <<_ACEOF
7885 /* end confdefs.h. */
7886 $ac_includes_default
7887 #include <$ac_header>
7889 rm -f conftest.$ac_objext
7890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7891 (eval $ac_compile) 2>conftest.er1
7893 grep -v '^ *+' conftest.er1 >conftest.err
7895 cat conftest.err >&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } &&
7898 { ac_try='test -z "$ac_c_werror_flag"
7899 || test ! -s conftest.err'
7900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 (exit $ac_status); }; } &&
7905 { ac_try='test -s conftest.$ac_objext'
7906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); }; }; then
7911 ac_header_compiler=yes
7913 echo "$as_me: failed program was:" >&5
7914 sed 's/^/| /' conftest.$ac_ext >&5
7916 ac_header_compiler=no
7918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7920 echo "${ECHO_T}$ac_header_compiler" >&6
7922 # Is the header present?
7923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7925 cat >conftest.$ac_ext <<_ACEOF
7928 cat confdefs.h >>conftest.$ac_ext
7929 cat >>conftest.$ac_ext <<_ACEOF
7930 /* end confdefs.h. */
7931 #include <$ac_header>
7933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7934 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7936 grep -v '^ *+' conftest.er1 >conftest.err
7938 cat conftest.err >&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); } >/dev/null; then
7941 if test -s conftest.err; then
7942 ac_cpp_err=$ac_c_preproc_warn_flag
7943 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7950 if test -z "$ac_cpp_err"; then
7951 ac_header_preproc=yes
7953 echo "$as_me: failed program was:" >&5
7954 sed 's/^/| /' conftest.$ac_ext >&5
7956 ac_header_preproc=no
7958 rm -f conftest.err conftest.$ac_ext
7959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7960 echo "${ECHO_T}$ac_header_preproc" >&6
7962 # So? What about this header?
7963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7969 ac_header_preproc=yes
7972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7986 ## ------------------------------ ##
7987 ## Report this to bug-cvs@gnu.org ##
7988 ## ------------------------------ ##
7991 sed "s/^/$as_me: WARNING: /" >&2
7994 echo "$as_me:$LINENO: checking for $ac_header" >&5
7995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7997 echo $ECHO_N "(cached) $ECHO_C" >&6
7999 eval "$as_ac_Header=\$ac_header_preproc"
8001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8006 cat >>confdefs.h <<_ACEOF
8007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8016 for ac_func in fork vfork
8018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8019 echo "$as_me:$LINENO: checking for $ac_func" >&5
8020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8021 if eval "test \"\${$as_ac_var+set}\" = set"; then
8022 echo $ECHO_N "(cached) $ECHO_C" >&6
8024 cat >conftest.$ac_ext <<_ACEOF
8027 cat confdefs.h >>conftest.$ac_ext
8028 cat >>conftest.$ac_ext <<_ACEOF
8029 /* end confdefs.h. */
8030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8032 #define $ac_func innocuous_$ac_func
8034 /* System header to define __stub macros and hopefully few prototypes,
8035 which can conflict with char $ac_func (); below.
8036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8037 <limits.h> exists even on freestanding compilers. */
8040 # include <limits.h>
8042 # include <assert.h>
8047 /* Override any gcc2 internal prototype to avoid an error. */
8052 /* We use char because int might match the return type of a gcc2
8053 builtin and then its argument prototype would still apply. */
8055 /* The GNU C library defines this for functions which it implements
8056 to always fail with ENOSYS. Some functions are actually named
8057 something starting with __ and the normal name is an alias. */
8058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8061 char (*f) () = $ac_func;
8070 return f != $ac_func;
8075 rm -f conftest.$ac_objext conftest$ac_exeext
8076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8077 (eval $ac_link) 2>conftest.er1
8079 grep -v '^ *+' conftest.er1 >conftest.err
8081 cat conftest.err >&5
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); } &&
8084 { ac_try='test -z "$ac_c_werror_flag"
8085 || test ! -s conftest.err'
8086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; } &&
8091 { ac_try='test -s conftest$ac_exeext'
8092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); }; }; then
8097 eval "$as_ac_var=yes"
8099 echo "$as_me: failed program was:" >&5
8100 sed 's/^/| /' conftest.$ac_ext >&5
8102 eval "$as_ac_var=no"
8104 rm -f conftest.err conftest.$ac_objext \
8105 conftest$ac_exeext conftest.$ac_ext
8107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8109 if test `eval echo '${'$as_ac_var'}'` = yes; then
8110 cat >>confdefs.h <<_ACEOF
8111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8117 if test "x$ac_cv_func_fork" = xyes; then
8118 echo "$as_me:$LINENO: checking for working fork" >&5
8119 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
8120 if test "${ac_cv_func_fork_works+set}" = set; then
8121 echo $ECHO_N "(cached) $ECHO_C" >&6
8123 if test "$cross_compiling" = yes; then
8124 ac_cv_func_fork_works=cross
8126 cat >conftest.$ac_ext <<_ACEOF
8127 /* By Ruediger Kuhlmann. */
8128 #include <sys/types.h>
8130 # include <unistd.h>
8132 /* Some systems only have a dummy stub for fork() */
8140 rm -f conftest$ac_exeext
8141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8142 (eval $ac_link) 2>&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); }; }; then
8151 ac_cv_func_fork_works=yes
8153 echo "$as_me: program exited with status $ac_status" >&5
8154 echo "$as_me: failed program was:" >&5
8155 sed 's/^/| /' conftest.$ac_ext >&5
8158 ac_cv_func_fork_works=no
8160 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8163 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
8164 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
8167 ac_cv_func_fork_works=$ac_cv_func_fork
8169 if test "x$ac_cv_func_fork_works" = xcross; then
8171 *-*-amigaos* | *-*-msdosdjgpp*)
8172 # Override, as these systems have only a dummy fork() stub
8173 ac_cv_func_fork_works=no
8176 ac_cv_func_fork_works=yes
8179 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
8180 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
8182 ac_cv_func_vfork_works=$ac_cv_func_vfork
8183 if test "x$ac_cv_func_vfork" = xyes; then
8184 echo "$as_me:$LINENO: checking for working vfork" >&5
8185 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
8186 if test "${ac_cv_func_vfork_works+set}" = set; then
8187 echo $ECHO_N "(cached) $ECHO_C" >&6
8189 if test "$cross_compiling" = yes; then
8190 ac_cv_func_vfork_works=cross
8192 cat >conftest.$ac_ext <<_ACEOF
8195 cat confdefs.h >>conftest.$ac_ext
8196 cat >>conftest.$ac_ext <<_ACEOF
8197 /* end confdefs.h. */
8198 /* Thanks to Paul Eggert for this test. */
8201 #include <sys/types.h>
8202 #include <sys/stat.h>
8203 #include <sys/wait.h>
8205 # include <unistd.h>
8210 /* On some sparc systems, changes by the child to local and incoming
8211 argument registers are propagated back to the parent. The compiler
8212 is told about this with #include <vfork.h>, but some compilers
8213 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
8214 static variable whose address is put into a register that is
8215 clobbered by the vfork. */
8218 sparc_address_test (int arg)
8220 sparc_address_test (arg) int arg;
8241 pid_t parent = getpid ();
8244 sparc_address_test (0);
8249 /* Here is another test for sparc vfork register problems. This
8250 test uses lots of local variables, at least as many local
8251 variables as main has allocated so far including compiler
8252 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
8253 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
8254 reuse the register of parent for one of the local variables,
8255 since it will think that parent can't possibly be used any more
8256 in this routine. Assigning to the local variable will thus
8257 munge parent in the parent process. */
8259 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
8260 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
8261 /* Convince the compiler that p..p7 are live; otherwise, it might
8262 use the same hardware register for all 8 local variables. */
8263 if (p != p1 || p != p2 || p != p3 || p != p4
8264 || p != p5 || p != p6 || p != p7)
8267 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
8268 from child file descriptors. If the child closes a descriptor
8269 before it execs or exits, this munges the parent's descriptor
8270 as well. Test for this by closing stdout in the child. */
8271 _exit(close(fileno(stdout)) != 0);
8276 while (wait(&status) != child)
8279 /* Was there some problem with vforking? */
8282 /* Did the child fail? (This shouldn't happen.) */
8285 /* Did the vfork/compiler bug occur? */
8286 || parent != getpid()
8288 /* Did the file descriptor bug occur? */
8289 || fstat(fileno(stdout), &st) != 0
8294 rm -f conftest$ac_exeext
8295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8296 (eval $ac_link) 2>&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; }; then
8305 ac_cv_func_vfork_works=yes
8307 echo "$as_me: program exited with status $ac_status" >&5
8308 echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.$ac_ext >&5
8312 ac_cv_func_vfork_works=no
8314 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8317 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
8318 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
8321 if test "x$ac_cv_func_fork_works" = xcross; then
8322 ac_cv_func_vfork_works=$ac_cv_func_vfork
8323 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
8324 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
8327 if test "x$ac_cv_func_vfork_works" = xyes; then
8329 cat >>confdefs.h <<\_ACEOF
8330 #define HAVE_WORKING_VFORK 1
8335 cat >>confdefs.h <<\_ACEOF
8340 if test "x$ac_cv_func_fork_works" = xyes; then
8342 cat >>confdefs.h <<\_ACEOF
8343 #define HAVE_WORKING_FORK 1
8348 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8349 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
8350 if test "${ac_cv_func_closedir_void+set}" = set; then
8351 echo $ECHO_N "(cached) $ECHO_C" >&6
8353 if test "$cross_compiling" = yes; then
8354 ac_cv_func_closedir_void=yes
8356 cat >conftest.$ac_ext <<_ACEOF
8359 cat confdefs.h >>conftest.$ac_ext
8360 cat >>conftest.$ac_ext <<_ACEOF
8361 /* end confdefs.h. */
8362 $ac_includes_default
8363 #include <$ac_header_dirent>
8371 exit (closedir (opendir (".")) != 0);
8376 rm -f conftest$ac_exeext
8377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8378 (eval $ac_link) 2>&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }; }; then
8387 ac_cv_func_closedir_void=no
8389 echo "$as_me: program exited with status $ac_status" >&5
8390 echo "$as_me: failed program was:" >&5
8391 sed 's/^/| /' conftest.$ac_ext >&5
8394 ac_cv_func_closedir_void=yes
8396 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8399 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8400 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
8401 if test $ac_cv_func_closedir_void = yes; then
8403 cat >>confdefs.h <<\_ACEOF
8404 #define CLOSEDIR_VOID 1
8410 echo "$as_me:$LINENO: checking for library containing getspnam" >&5
8411 echo $ECHO_N "checking for library containing getspnam... $ECHO_C" >&6
8412 if test "${ac_cv_search_getspnam+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8415 ac_func_search_save_LIBS=$LIBS
8416 ac_cv_search_getspnam=no
8417 cat >conftest.$ac_ext <<_ACEOF
8420 cat confdefs.h >>conftest.$ac_ext
8421 cat >>conftest.$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8424 /* Override any gcc2 internal prototype to avoid an error. */
8428 /* We use char because int might match the return type of a gcc2
8429 builtin and then its argument prototype would still apply. */
8439 rm -f conftest.$ac_objext conftest$ac_exeext
8440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8441 (eval $ac_link) 2>conftest.er1
8443 grep -v '^ *+' conftest.er1 >conftest.err
8445 cat conftest.err >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } &&
8448 { ac_try='test -z "$ac_c_werror_flag"
8449 || test ! -s conftest.err'
8450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; } &&
8455 { ac_try='test -s conftest$ac_exeext'
8456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); }; }; then
8461 ac_cv_search_getspnam="none required"
8463 echo "$as_me: failed program was:" >&5
8464 sed 's/^/| /' conftest.$ac_ext >&5
8467 rm -f conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8469 if test "$ac_cv_search_getspnam" = no; then
8470 for ac_lib in sec gen; do
8471 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8472 cat >conftest.$ac_ext <<_ACEOF
8475 cat confdefs.h >>conftest.$ac_ext
8476 cat >>conftest.$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8479 /* Override any gcc2 internal prototype to avoid an error. */
8483 /* We use char because int might match the return type of a gcc2
8484 builtin and then its argument prototype would still apply. */
8494 rm -f conftest.$ac_objext conftest$ac_exeext
8495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8496 (eval $ac_link) 2>conftest.er1
8498 grep -v '^ *+' conftest.er1 >conftest.err
8500 cat conftest.err >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } &&
8503 { ac_try='test -z "$ac_c_werror_flag"
8504 || test ! -s conftest.err'
8505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; } &&
8510 { ac_try='test -s conftest$ac_exeext'
8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }; }; then
8516 ac_cv_search_getspnam="-l$ac_lib"
8519 echo "$as_me: failed program was:" >&5
8520 sed 's/^/| /' conftest.$ac_ext >&5
8523 rm -f conftest.err conftest.$ac_objext \
8524 conftest$ac_exeext conftest.$ac_ext
8527 LIBS=$ac_func_search_save_LIBS
8529 echo "$as_me:$LINENO: result: $ac_cv_search_getspnam" >&5
8530 echo "${ECHO_T}$ac_cv_search_getspnam" >&6
8531 if test "$ac_cv_search_getspnam" != no; then
8532 test "$ac_cv_search_getspnam" = "none required" || LIBS="$ac_cv_search_getspnam $LIBS"
8534 cat >>confdefs.h <<\_ACEOF
8535 #define HAVE_GETSPNAM 1
8541 echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
8542 echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6
8543 if test "${ac_cv_func_utime_null+set}" = set; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 rm -f conftest.data; >conftest.data
8547 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
8548 if test "$cross_compiling" = yes; then
8549 ac_cv_func_utime_null=no
8551 cat >conftest.$ac_ext <<_ACEOF
8554 cat confdefs.h >>conftest.$ac_ext
8555 cat >>conftest.$ac_ext <<_ACEOF
8556 /* end confdefs.h. */
8557 $ac_includes_default
8562 exit (!(stat ("conftest.data", &s) == 0
8563 && utime ("conftest.data", (long *)0) == 0
8564 && stat ("conftest.data", &t) == 0
8565 && t.st_mtime >= s.st_mtime
8566 && t.st_mtime - s.st_mtime < 120));
8571 rm -f conftest$ac_exeext
8572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8573 (eval $ac_link) 2>&5
8575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); }; }; then
8582 ac_cv_func_utime_null=yes
8584 echo "$as_me: program exited with status $ac_status" >&5
8585 echo "$as_me: failed program was:" >&5
8586 sed 's/^/| /' conftest.$ac_ext >&5
8589 ac_cv_func_utime_null=no
8591 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8595 echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
8596 echo "${ECHO_T}$ac_cv_func_utime_null" >&6
8597 if test $ac_cv_func_utime_null = yes; then
8599 cat >>confdefs.h <<\_ACEOF
8600 #define HAVE_UTIME_NULL 1
8606 echo "$as_me:$LINENO: checking for long file names" >&5
8607 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
8608 if test "${ac_cv_sys_long_file_names+set}" = set; then
8609 echo $ECHO_N "(cached) $ECHO_C" >&6
8611 ac_cv_sys_long_file_names=yes
8612 # Test for long file names in all the places we know might matter:
8613 # . the current directory, where building will happen
8614 # $prefix/lib where we will be installing things
8615 # $exec_prefix/lib likewise
8616 # eval it to expand exec_prefix.
8617 # $TMPDIR if set, where it might want to write temporary files
8618 # if $TMPDIR is not set:
8619 # /tmp where it might want to write temporary files
8622 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
8625 ac_tmpdirs='/tmp /var/tmp /usr/tmp'
8627 for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
8628 test -d $ac_dir || continue
8629 test -w $ac_dir || continue # It is less confusing to not echo anything here.
8630 ac_xdir=$ac_dir/cf$$
8631 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
8632 ac_tf1=$ac_xdir/conftest9012345
8633 ac_tf2=$ac_xdir/conftest9012346
8634 (echo 1 >$ac_tf1) 2>/dev/null
8635 (echo 2 >$ac_tf2) 2>/dev/null
8636 ac_val=`cat $ac_tf1 2>/dev/null`
8637 if test ! -f $ac_tf1 || test "$ac_val" != 1; then
8638 ac_cv_sys_long_file_names=no
8639 rm -rf $ac_xdir 2>/dev/null
8642 rm -rf $ac_xdir 2>/dev/null
8645 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
8646 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
8647 if test $ac_cv_sys_long_file_names = yes; then
8649 cat >>confdefs.h <<\_ACEOF
8650 #define HAVE_LONG_FILE_NAMES 1
8656 echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5
8657 echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6
8658 if test "${ac_cv_func_fnmatch_works+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 # Some versions of Solaris, SCO, and the GNU C Library
8662 # have a broken or incompatible fnmatch.
8663 # So we run a test program. If we are cross-compiling, take no chance.
8664 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
8665 if test "$cross_compiling" = yes; then
8666 ac_cv_func_fnmatch_works=cross
8668 cat >conftest.$ac_ext <<_ACEOF
8671 cat confdefs.h >>conftest.$ac_ext
8672 cat >>conftest.$ac_ext <<_ACEOF
8673 /* end confdefs.h. */
8674 #include <fnmatch.h>
8675 # define y(a, b, c) (fnmatch (a, b, c) == 0)
8676 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
8682 (!(y ("a*", "abc", 0)
8683 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
8684 && y ("a\\\\bc", "abc", 0)
8685 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
8686 && y ("*x", ".x", 0)
8687 && n ("*x", ".x", FNM_PERIOD)
8693 rm -f conftest$ac_exeext
8694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8695 (eval $ac_link) 2>&5
8697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; }; then
8704 ac_cv_func_fnmatch_works=yes
8706 echo "$as_me: program exited with status $ac_status" >&5
8707 echo "$as_me: failed program was:" >&5
8708 sed 's/^/| /' conftest.$ac_ext >&5
8711 ac_cv_func_fnmatch_works=no
8713 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8716 echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5
8717 echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6
8718 if test $ac_cv_func_fnmatch_works = yes; then
8720 cat >>confdefs.h <<\_ACEOF
8721 #define HAVE_FNMATCH 1
8728 if test "$ac_cv_func_fnmatch_works" = no; then
8730 "fnmatch.$ac_objext" | \
8731 *" fnmatch.$ac_objext" | \
8732 "fnmatch.$ac_objext "* | \
8733 *" fnmatch.$ac_objext "* ) ;;
8734 *) LIBOBJS="$LIBOBJS fnmatch.$ac_objext" ;;
8737 ac_config_links="$ac_config_links lib/fnmatch.h:lib/fnmatch.h.in"
8744 for ac_header in stdlib.h unistd.h
8746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8748 echo "$as_me:$LINENO: checking for $ac_header" >&5
8749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8751 echo $ECHO_N "(cached) $ECHO_C" >&6
8753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8756 # Is the header compilable?
8757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8759 cat >conftest.$ac_ext <<_ACEOF
8762 cat confdefs.h >>conftest.$ac_ext
8763 cat >>conftest.$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8765 $ac_includes_default
8766 #include <$ac_header>
8768 rm -f conftest.$ac_objext
8769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8770 (eval $ac_compile) 2>conftest.er1
8772 grep -v '^ *+' conftest.er1 >conftest.err
8774 cat conftest.err >&5
8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776 (exit $ac_status); } &&
8777 { ac_try='test -z "$ac_c_werror_flag"
8778 || test ! -s conftest.err'
8779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8783 (exit $ac_status); }; } &&
8784 { ac_try='test -s conftest.$ac_objext'
8785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); }; }; then
8790 ac_header_compiler=yes
8792 echo "$as_me: failed program was:" >&5
8793 sed 's/^/| /' conftest.$ac_ext >&5
8795 ac_header_compiler=no
8797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8799 echo "${ECHO_T}$ac_header_compiler" >&6
8801 # Is the header present?
8802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8804 cat >conftest.$ac_ext <<_ACEOF
8807 cat confdefs.h >>conftest.$ac_ext
8808 cat >>conftest.$ac_ext <<_ACEOF
8809 /* end confdefs.h. */
8810 #include <$ac_header>
8812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8815 grep -v '^ *+' conftest.er1 >conftest.err
8817 cat conftest.err >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } >/dev/null; then
8820 if test -s conftest.err; then
8821 ac_cpp_err=$ac_c_preproc_warn_flag
8822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8829 if test -z "$ac_cpp_err"; then
8830 ac_header_preproc=yes
8832 echo "$as_me: failed program was:" >&5
8833 sed 's/^/| /' conftest.$ac_ext >&5
8835 ac_header_preproc=no
8837 rm -f conftest.err conftest.$ac_ext
8838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8839 echo "${ECHO_T}$ac_header_preproc" >&6
8841 # So? What about this header?
8842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8848 ac_header_preproc=yes
8851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8865 ## ------------------------------ ##
8866 ## Report this to bug-cvs@gnu.org ##
8867 ## ------------------------------ ##
8870 sed "s/^/$as_me: WARNING: /" >&2
8873 echo "$as_me:$LINENO: checking for $ac_header" >&5
8874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8876 echo $ECHO_N "(cached) $ECHO_C" >&6
8878 eval "$as_ac_Header=\$ac_header_preproc"
8880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8885 cat >>confdefs.h <<_ACEOF
8886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8894 for ac_func in getpagesize
8896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8897 echo "$as_me:$LINENO: checking for $ac_func" >&5
8898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8899 if eval "test \"\${$as_ac_var+set}\" = set"; then
8900 echo $ECHO_N "(cached) $ECHO_C" >&6
8902 cat >conftest.$ac_ext <<_ACEOF
8905 cat confdefs.h >>conftest.$ac_ext
8906 cat >>conftest.$ac_ext <<_ACEOF
8907 /* end confdefs.h. */
8908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8910 #define $ac_func innocuous_$ac_func
8912 /* System header to define __stub macros and hopefully few prototypes,
8913 which can conflict with char $ac_func (); below.
8914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8915 <limits.h> exists even on freestanding compilers. */
8918 # include <limits.h>
8920 # include <assert.h>
8925 /* Override any gcc2 internal prototype to avoid an error. */
8930 /* We use char because int might match the return type of a gcc2
8931 builtin and then its argument prototype would still apply. */
8933 /* The GNU C library defines this for functions which it implements
8934 to always fail with ENOSYS. Some functions are actually named
8935 something starting with __ and the normal name is an alias. */
8936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8939 char (*f) () = $ac_func;
8948 return f != $ac_func;
8953 rm -f conftest.$ac_objext conftest$ac_exeext
8954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8955 (eval $ac_link) 2>conftest.er1
8957 grep -v '^ *+' conftest.er1 >conftest.err
8959 cat conftest.err >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } &&
8962 { ac_try='test -z "$ac_c_werror_flag"
8963 || test ! -s conftest.err'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; } &&
8969 { ac_try='test -s conftest$ac_exeext'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; }; then
8975 eval "$as_ac_var=yes"
8977 echo "$as_me: failed program was:" >&5
8978 sed 's/^/| /' conftest.$ac_ext >&5
8980 eval "$as_ac_var=no"
8982 rm -f conftest.err conftest.$ac_objext \
8983 conftest$ac_exeext conftest.$ac_ext
8985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8987 if test `eval echo '${'$as_ac_var'}'` = yes; then
8988 cat >>confdefs.h <<_ACEOF
8989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8995 echo "$as_me:$LINENO: checking for working mmap" >&5
8996 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8997 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8998 echo $ECHO_N "(cached) $ECHO_C" >&6
9000 if test "$cross_compiling" = yes; then
9001 ac_cv_func_mmap_fixed_mapped=no
9003 cat >conftest.$ac_ext <<_ACEOF
9006 cat confdefs.h >>conftest.$ac_ext
9007 cat >>conftest.$ac_ext <<_ACEOF
9008 /* end confdefs.h. */
9009 $ac_includes_default
9010 /* malloc might have been renamed as rpl_malloc. */
9013 /* Thanks to Mike Haertel and Jim Avera for this test.
9014 Here is a matrix of mmap possibilities:
9015 mmap private not fixed
9016 mmap private fixed at somewhere currently unmapped
9017 mmap private fixed at somewhere already mapped
9018 mmap shared not fixed
9019 mmap shared fixed at somewhere currently unmapped
9020 mmap shared fixed at somewhere already mapped
9021 For private mappings, we should verify that changes cannot be read()
9022 back from the file, nor mmap's back from the file at a different
9023 address. (There have been systems where private was not correctly
9024 implemented like the infamous i386 svr4.0, and systems where the
9025 VM page cache was not coherent with the file system buffer cache
9026 like early versions of FreeBSD and possibly contemporary NetBSD.)
9027 For shared mappings, we should conversely verify that changes get
9028 propagated back to all the places they're supposed to be.
9030 Grep wants private fixed already mapped.
9031 The main things grep needs to know about mmap are:
9032 * does it exist and is it safe to write into the mmap'd area
9033 * how to use it (BSD variants) */
9036 #include <sys/mman.h>
9038 #if !STDC_HEADERS && !HAVE_STDLIB_H
9042 /* This mess was copied from the GNU getpagesize.h. */
9043 #if !HAVE_GETPAGESIZE
9044 /* Assume that all systems that can run configure have sys/param.h. */
9045 # if !HAVE_SYS_PARAM_H
9046 # define HAVE_SYS_PARAM_H 1
9049 # ifdef _SC_PAGESIZE
9050 # define getpagesize() sysconf(_SC_PAGESIZE)
9051 # else /* no _SC_PAGESIZE */
9052 # if HAVE_SYS_PARAM_H
9053 # include <sys/param.h>
9054 # ifdef EXEC_PAGESIZE
9055 # define getpagesize() EXEC_PAGESIZE
9056 # else /* no EXEC_PAGESIZE */
9058 # define getpagesize() NBPG * CLSIZE
9061 # endif /* no CLSIZE */
9062 # else /* no NBPG */
9064 # define getpagesize() NBPC
9065 # else /* no NBPC */
9067 # define getpagesize() PAGESIZE
9068 # endif /* PAGESIZE */
9069 # endif /* no NBPC */
9070 # endif /* no NBPG */
9071 # endif /* no EXEC_PAGESIZE */
9072 # else /* no HAVE_SYS_PARAM_H */
9073 # define getpagesize() 8192 /* punt totally */
9074 # endif /* no HAVE_SYS_PARAM_H */
9075 # endif /* no _SC_PAGESIZE */
9077 #endif /* no HAVE_GETPAGESIZE */
9082 char *data, *data2, *data3;
9086 pagesize = getpagesize ();
9088 /* First, make a file with some known garbage in it. */
9089 data = (char *) malloc (pagesize);
9092 for (i = 0; i < pagesize; ++i)
9093 *(data + i) = rand ();
9095 fd = creat ("conftest.mmap", 0600);
9098 if (write (fd, data, pagesize) != pagesize)
9102 /* Next, try to mmap the file at a fixed address which already has
9103 something else allocated at it. If we can, also make sure that
9104 we see the same garbage. */
9105 fd = open ("conftest.mmap", O_RDWR);
9108 data2 = (char *) malloc (2 * pagesize);
9111 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9112 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9113 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9115 for (i = 0; i < pagesize; ++i)
9116 if (*(data + i) != *(data2 + i))
9119 /* Finally, make sure that changes to the mapped area do not
9120 percolate back to the file as seen by read(). (This is a bug on
9121 some variants of i386 svr4.0.) */
9122 for (i = 0; i < pagesize; ++i)
9123 *(data2 + i) = *(data2 + i) + 1;
9124 data3 = (char *) malloc (pagesize);
9127 if (read (fd, data3, pagesize) != pagesize)
9129 for (i = 0; i < pagesize; ++i)
9130 if (*(data + i) != *(data3 + i))
9136 rm -f conftest$ac_exeext
9137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9138 (eval $ac_link) 2>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); }; }; then
9147 ac_cv_func_mmap_fixed_mapped=yes
9149 echo "$as_me: program exited with status $ac_status" >&5
9150 echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.$ac_ext >&5
9154 ac_cv_func_mmap_fixed_mapped=no
9156 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9159 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9160 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9161 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9163 cat >>confdefs.h <<\_ACEOF
9171 # Try to find connect and gethostbyname.
9173 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
9174 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
9175 if test "${ac_cv_lib_nsl_main+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 ac_check_lib_save_LIBS=$LIBS
9180 cat >conftest.$ac_ext <<_ACEOF
9183 cat confdefs.h >>conftest.$ac_ext
9184 cat >>conftest.$ac_ext <<_ACEOF
9185 /* end confdefs.h. */
9196 rm -f conftest.$ac_objext conftest$ac_exeext
9197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9198 (eval $ac_link) 2>conftest.er1
9200 grep -v '^ *+' conftest.er1 >conftest.err
9202 cat conftest.err >&5
9203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 (exit $ac_status); } &&
9205 { ac_try='test -z "$ac_c_werror_flag"
9206 || test ! -s conftest.err'
9207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); }; } &&
9212 { ac_try='test -s conftest$ac_exeext'
9213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); }; }; then
9218 ac_cv_lib_nsl_main=yes
9220 echo "$as_me: failed program was:" >&5
9221 sed 's/^/| /' conftest.$ac_ext >&5
9223 ac_cv_lib_nsl_main=no
9225 rm -f conftest.err conftest.$ac_objext \
9226 conftest$ac_exeext conftest.$ac_ext
9227 LIBS=$ac_check_lib_save_LIBS
9229 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
9230 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
9231 if test $ac_cv_lib_nsl_main = yes; then
9232 cat >>confdefs.h <<_ACEOF
9233 #define HAVE_LIBNSL 1
9240 echo "$as_me:$LINENO: checking for library containing connect" >&5
9241 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6
9242 if test "${ac_cv_search_connect+set}" = set; then
9243 echo $ECHO_N "(cached) $ECHO_C" >&6
9245 ac_func_search_save_LIBS=$LIBS
9246 ac_cv_search_connect=no
9247 cat >conftest.$ac_ext <<_ACEOF
9250 cat confdefs.h >>conftest.$ac_ext
9251 cat >>conftest.$ac_ext <<_ACEOF
9252 /* end confdefs.h. */
9254 /* Override any gcc2 internal prototype to avoid an error. */
9258 /* We use char because int might match the return type of a gcc2
9259 builtin and then its argument prototype would still apply. */
9269 rm -f conftest.$ac_objext conftest$ac_exeext
9270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9271 (eval $ac_link) 2>conftest.er1
9273 grep -v '^ *+' conftest.er1 >conftest.err
9275 cat conftest.err >&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); } &&
9278 { ac_try='test -z "$ac_c_werror_flag"
9279 || test ! -s conftest.err'
9280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); }; } &&
9285 { ac_try='test -s conftest$ac_exeext'
9286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9290 (exit $ac_status); }; }; then
9291 ac_cv_search_connect="none required"
9293 echo "$as_me: failed program was:" >&5
9294 sed 's/^/| /' conftest.$ac_ext >&5
9297 rm -f conftest.err conftest.$ac_objext \
9298 conftest$ac_exeext conftest.$ac_ext
9299 if test "$ac_cv_search_connect" = no; then
9300 for ac_lib in xnet socket inet; do
9301 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9302 cat >conftest.$ac_ext <<_ACEOF
9305 cat confdefs.h >>conftest.$ac_ext
9306 cat >>conftest.$ac_ext <<_ACEOF
9307 /* end confdefs.h. */
9309 /* Override any gcc2 internal prototype to avoid an error. */
9313 /* We use char because int might match the return type of a gcc2
9314 builtin and then its argument prototype would still apply. */
9324 rm -f conftest.$ac_objext conftest$ac_exeext
9325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9326 (eval $ac_link) 2>conftest.er1
9328 grep -v '^ *+' conftest.er1 >conftest.err
9330 cat conftest.err >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); } &&
9333 { ac_try='test -z "$ac_c_werror_flag"
9334 || test ! -s conftest.err'
9335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; } &&
9340 { ac_try='test -s conftest$ac_exeext'
9341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); }; }; then
9346 ac_cv_search_connect="-l$ac_lib"
9349 echo "$as_me: failed program was:" >&5
9350 sed 's/^/| /' conftest.$ac_ext >&5
9353 rm -f conftest.err conftest.$ac_objext \
9354 conftest$ac_exeext conftest.$ac_ext
9357 LIBS=$ac_func_search_save_LIBS
9359 echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
9360 echo "${ECHO_T}$ac_cv_search_connect" >&6
9361 if test "$ac_cv_search_connect" != no; then
9362 test "$ac_cv_search_connect" = "none required" || LIBS="$ac_cv_search_connect $LIBS"
9364 cat >>confdefs.h <<\_ACEOF
9365 #define HAVE_CONNECT 1
9370 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
9371 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
9372 if test "${ac_cv_search_gethostbyname+set}" = set; then
9373 echo $ECHO_N "(cached) $ECHO_C" >&6
9375 ac_func_search_save_LIBS=$LIBS
9376 ac_cv_search_gethostbyname=no
9377 cat >conftest.$ac_ext <<_ACEOF
9380 cat confdefs.h >>conftest.$ac_ext
9381 cat >>conftest.$ac_ext <<_ACEOF
9382 /* end confdefs.h. */
9384 /* Override any gcc2 internal prototype to avoid an error. */
9388 /* We use char because int might match the return type of a gcc2
9389 builtin and then its argument prototype would still apply. */
9390 char gethostbyname ();
9399 rm -f conftest.$ac_objext conftest$ac_exeext
9400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9401 (eval $ac_link) 2>conftest.er1
9403 grep -v '^ *+' conftest.er1 >conftest.err
9405 cat conftest.err >&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); } &&
9408 { ac_try='test -z "$ac_c_werror_flag"
9409 || test ! -s conftest.err'
9410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414 (exit $ac_status); }; } &&
9415 { ac_try='test -s conftest$ac_exeext'
9416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); }; }; then
9421 ac_cv_search_gethostbyname="none required"
9423 echo "$as_me: failed program was:" >&5
9424 sed 's/^/| /' conftest.$ac_ext >&5
9427 rm -f conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 if test "$ac_cv_search_gethostbyname" = no; then
9430 for ac_lib in netinet; do
9431 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9432 cat >conftest.$ac_ext <<_ACEOF
9435 cat confdefs.h >>conftest.$ac_ext
9436 cat >>conftest.$ac_ext <<_ACEOF
9437 /* end confdefs.h. */
9439 /* Override any gcc2 internal prototype to avoid an error. */
9443 /* We use char because int might match the return type of a gcc2
9444 builtin and then its argument prototype would still apply. */
9445 char gethostbyname ();
9454 rm -f conftest.$ac_objext conftest$ac_exeext
9455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9456 (eval $ac_link) 2>conftest.er1
9458 grep -v '^ *+' conftest.er1 >conftest.err
9460 cat conftest.err >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); } &&
9463 { ac_try='test -z "$ac_c_werror_flag"
9464 || test ! -s conftest.err'
9465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }; } &&
9470 { ac_try='test -s conftest$ac_exeext'
9471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); }; }; then
9476 ac_cv_search_gethostbyname="-l$ac_lib"
9479 echo "$as_me: failed program was:" >&5
9480 sed 's/^/| /' conftest.$ac_ext >&5
9483 rm -f conftest.err conftest.$ac_objext \
9484 conftest$ac_exeext conftest.$ac_ext
9487 LIBS=$ac_func_search_save_LIBS
9489 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
9490 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
9491 if test "$ac_cv_search_gethostbyname" != no; then
9492 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
9502 # Check whether --with-krb4 or --without-krb4 was given.
9503 if test "${with_krb4+set}" = set; then
9504 withval="$with_krb4"
9506 fi; echo "$as_me:$LINENO: checking for KRB4 in $KRB4" >&5
9507 echo $ECHO_N "checking for KRB4 in $KRB4... $ECHO_C" >&6
9508 echo "$as_me:$LINENO: result: " >&5
9509 echo "${ECHO_T}" >&6
9513 echo "$as_me:$LINENO: checking for krb.h" >&5
9514 echo $ECHO_N "checking for krb.h... $ECHO_C" >&6
9515 if test "$cross_compiling" != yes && test -r $KRB4/include/krb.h; then
9517 CFLAGS="$CFLAGS -I$KRB4/include"
9518 cat >conftest.$ac_ext <<_ACEOF
9521 cat confdefs.h >>conftest.$ac_ext
9522 cat >>conftest.$ac_ext <<_ACEOF
9523 /* end confdefs.h. */
9533 rm -f conftest.$ac_objext conftest$ac_exeext
9534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9535 (eval $ac_link) 2>conftest.er1
9537 grep -v '^ *+' conftest.er1 >conftest.err
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } &&
9542 { ac_try='test -z "$ac_c_werror_flag"
9543 || test ! -s conftest.err'
9544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); }; } &&
9549 { ac_try='test -s conftest$ac_exeext'
9550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); }; }; then
9555 krb_h=yes krb_incdir=$KRB4/include
9557 echo "$as_me: failed program was:" >&5
9558 sed 's/^/| /' conftest.$ac_ext >&5
9561 cat >conftest.$ac_ext <<_ACEOF
9564 cat confdefs.h >>conftest.$ac_ext
9565 cat >>conftest.$ac_ext <<_ACEOF
9566 /* end confdefs.h. */
9576 rm -f conftest.$ac_objext conftest$ac_exeext
9577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9578 (eval $ac_link) 2>conftest.er1
9580 grep -v '^ *+' conftest.er1 >conftest.err
9582 cat conftest.err >&5
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); } &&
9585 { ac_try='test -z "$ac_c_werror_flag"
9586 || test ! -s conftest.err'
9587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 (exit $ac_status); }; } &&
9592 { ac_try='test -s conftest$ac_exeext'
9593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); }; }; then
9598 krb_h=yes krb_incdir=
9600 echo "$as_me: failed program was:" >&5
9601 sed 's/^/| /' conftest.$ac_ext >&5
9604 rm -f conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9607 rm -f conftest.err conftest.$ac_objext \
9608 conftest$ac_exeext conftest.$ac_ext
9611 cat >conftest.$ac_ext <<_ACEOF
9614 cat confdefs.h >>conftest.$ac_ext
9615 cat >>conftest.$ac_ext <<_ACEOF
9616 /* end confdefs.h. */
9626 rm -f conftest.$ac_objext conftest$ac_exeext
9627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9628 (eval $ac_link) 2>conftest.er1
9630 grep -v '^ *+' conftest.er1 >conftest.err
9632 cat conftest.err >&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } &&
9635 { ac_try='test -z "$ac_c_werror_flag"
9636 || test ! -s conftest.err'
9637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); }; } &&
9642 { ac_try='test -s conftest$ac_exeext'
9643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); }; }; then
9648 krb_h=yes krb_incdir=
9650 echo "$as_me: failed program was:" >&5
9651 sed 's/^/| /' conftest.$ac_ext >&5
9654 rm -f conftest.err conftest.$ac_objext \
9655 conftest$ac_exeext conftest.$ac_ext
9657 if test -z "$krb_h"; then
9658 cat >conftest.$ac_ext <<_ACEOF
9661 cat confdefs.h >>conftest.$ac_ext
9662 cat >>conftest.$ac_ext <<_ACEOF
9663 /* end confdefs.h. */
9673 rm -f conftest.$ac_objext conftest$ac_exeext
9674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9675 (eval $ac_link) 2>conftest.er1
9677 grep -v '^ *+' conftest.er1 >conftest.err
9679 cat conftest.err >&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); } &&
9682 { ac_try='test -z "$ac_c_werror_flag"
9683 || test ! -s conftest.err'
9684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); }; } &&
9689 { ac_try='test -s conftest$ac_exeext'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; }; then
9695 krb_h=yes krb_incdir=
9697 echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9700 if test "$cross_compiling" != yes && test -r $KRB4/include/kerberosIV/krb.h; then
9702 CFLAGS="$CFLAGS -I$KRB4/include/kerberosIV"
9703 cat >conftest.$ac_ext <<_ACEOF
9706 cat confdefs.h >>conftest.$ac_ext
9707 cat >>conftest.$ac_ext <<_ACEOF
9708 /* end confdefs.h. */
9718 rm -f conftest.$ac_objext conftest$ac_exeext
9719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9720 (eval $ac_link) 2>conftest.er1
9722 grep -v '^ *+' conftest.er1 >conftest.err
9724 cat conftest.err >&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } &&
9727 { ac_try='test -z "$ac_c_werror_flag"
9728 || test ! -s conftest.err'
9729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); }; } &&
9734 { ac_try='test -s conftest$ac_exeext'
9735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); }; }; then
9740 krb_h=yes krb_incdir=$KRB4/include/kerberosIV
9742 echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.$ac_ext >&5
9746 rm -f conftest.err conftest.$ac_objext \
9747 conftest$ac_exeext conftest.$ac_ext
9751 rm -f conftest.err conftest.$ac_objext \
9752 conftest$ac_exeext conftest.$ac_ext
9754 echo "$as_me:$LINENO: result: $krb_h" >&5
9755 echo "${ECHO_T}$krb_h" >&6
9759 if test -n "$krb_h"; then
9761 if test "$cross_compiling" != yes && test -r $KRB4/lib/libkrb.a; then
9762 hold_ldflags=$LDFLAGS
9763 LDFLAGS="-L${KRB4}/lib $LDFLAGS"
9764 echo "$as_me:$LINENO: checking for printf in -lkrb" >&5
9765 echo $ECHO_N "checking for printf in -lkrb... $ECHO_C" >&6
9766 if test "${ac_cv_lib_krb_printf+set}" = set; then
9767 echo $ECHO_N "(cached) $ECHO_C" >&6
9769 ac_check_lib_save_LIBS=$LIBS
9771 cat >conftest.$ac_ext <<_ACEOF
9774 cat confdefs.h >>conftest.$ac_ext
9775 cat >>conftest.$ac_ext <<_ACEOF
9776 /* end confdefs.h. */
9778 /* Override any gcc2 internal prototype to avoid an error. */
9782 /* We use char because int might match the return type of a gcc2
9783 builtin and then its argument prototype would still apply. */
9793 rm -f conftest.$ac_objext conftest$ac_exeext
9794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9795 (eval $ac_link) 2>conftest.er1
9797 grep -v '^ *+' conftest.er1 >conftest.err
9799 cat conftest.err >&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); } &&
9802 { ac_try='test -z "$ac_c_werror_flag"
9803 || test ! -s conftest.err'
9804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); }; } &&
9809 { ac_try='test -s conftest$ac_exeext'
9810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 (exit $ac_status); }; }; then
9815 ac_cv_lib_krb_printf=yes
9817 echo "$as_me: failed program was:" >&5
9818 sed 's/^/| /' conftest.$ac_ext >&5
9820 ac_cv_lib_krb_printf=no
9822 rm -f conftest.err conftest.$ac_objext \
9823 conftest$ac_exeext conftest.$ac_ext
9824 LIBS=$ac_check_lib_save_LIBS
9826 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_printf" >&5
9827 echo "${ECHO_T}$ac_cv_lib_krb_printf" >&6
9828 if test $ac_cv_lib_krb_printf = yes; then
9829 krb_lib=yes krb_libdir=${KRB4}/lib
9831 LDFLAGS=$hold_ldflags
9832 # Using open here instead of printf so we don't
9833 # get confused by the cached value for printf from above.
9834 echo "$as_me:$LINENO: checking for open in -lkrb" >&5
9835 echo $ECHO_N "checking for open in -lkrb... $ECHO_C" >&6
9836 if test "${ac_cv_lib_krb_open+set}" = set; then
9837 echo $ECHO_N "(cached) $ECHO_C" >&6
9839 ac_check_lib_save_LIBS=$LIBS
9841 cat >conftest.$ac_ext <<_ACEOF
9844 cat confdefs.h >>conftest.$ac_ext
9845 cat >>conftest.$ac_ext <<_ACEOF
9846 /* end confdefs.h. */
9848 /* Override any gcc2 internal prototype to avoid an error. */
9852 /* We use char because int might match the return type of a gcc2
9853 builtin and then its argument prototype would still apply. */
9863 rm -f conftest.$ac_objext conftest$ac_exeext
9864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9865 (eval $ac_link) 2>conftest.er1
9867 grep -v '^ *+' conftest.er1 >conftest.err
9869 cat conftest.err >&5
9870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9871 (exit $ac_status); } &&
9872 { ac_try='test -z "$ac_c_werror_flag"
9873 || test ! -s conftest.err'
9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; } &&
9879 { ac_try='test -s conftest$ac_exeext'
9880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); }; }; then
9885 ac_cv_lib_krb_open=yes
9887 echo "$as_me: failed program was:" >&5
9888 sed 's/^/| /' conftest.$ac_ext >&5
9890 ac_cv_lib_krb_open=no
9892 rm -f conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_lib_save_LIBS
9896 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_open" >&5
9897 echo "${ECHO_T}$ac_cv_lib_krb_open" >&6
9898 if test $ac_cv_lib_krb_open = yes; then
9899 krb_lib=yes krb_libdir=
9904 LDFLAGS=$hold_ldflags
9906 echo "$as_me:$LINENO: checking for printf in -lkrb" >&5
9907 echo $ECHO_N "checking for printf in -lkrb... $ECHO_C" >&6
9908 if test "${ac_cv_lib_krb_printf+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 ac_check_lib_save_LIBS=$LIBS
9913 cat >conftest.$ac_ext <<_ACEOF
9916 cat confdefs.h >>conftest.$ac_ext
9917 cat >>conftest.$ac_ext <<_ACEOF
9918 /* end confdefs.h. */
9920 /* Override any gcc2 internal prototype to avoid an error. */
9924 /* We use char because int might match the return type of a gcc2
9925 builtin and then its argument prototype would still apply. */
9935 rm -f conftest.$ac_objext conftest$ac_exeext
9936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9937 (eval $ac_link) 2>conftest.er1
9939 grep -v '^ *+' conftest.er1 >conftest.err
9941 cat conftest.err >&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); } &&
9944 { ac_try='test -z "$ac_c_werror_flag"
9945 || test ! -s conftest.err'
9946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); }; } &&
9951 { ac_try='test -s conftest$ac_exeext'
9952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9956 (exit $ac_status); }; }; then
9957 ac_cv_lib_krb_printf=yes
9959 echo "$as_me: failed program was:" >&5
9960 sed 's/^/| /' conftest.$ac_ext >&5
9962 ac_cv_lib_krb_printf=no
9964 rm -f conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_lib_save_LIBS
9968 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_printf" >&5
9969 echo "${ECHO_T}$ac_cv_lib_krb_printf" >&6
9970 if test $ac_cv_lib_krb_printf = yes; then
9971 krb_lib=yes krb_libdir=
9974 echo "$as_me:$LINENO: checking for krb_recvauth" >&5
9975 echo $ECHO_N "checking for krb_recvauth... $ECHO_C" >&6
9976 if test "${ac_cv_func_krb_recvauth+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 cat >conftest.$ac_ext <<_ACEOF
9982 cat confdefs.h >>conftest.$ac_ext
9983 cat >>conftest.$ac_ext <<_ACEOF
9984 /* end confdefs.h. */
9985 /* Define krb_recvauth to an innocuous variant, in case <limits.h> declares krb_recvauth.
9986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9987 #define krb_recvauth innocuous_krb_recvauth
9989 /* System header to define __stub macros and hopefully few prototypes,
9990 which can conflict with char krb_recvauth (); below.
9991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9992 <limits.h> exists even on freestanding compilers. */
9995 # include <limits.h>
9997 # include <assert.h>
10000 #undef krb_recvauth
10002 /* Override any gcc2 internal prototype to avoid an error. */
10007 /* We use char because int might match the return type of a gcc2
10008 builtin and then its argument prototype would still apply. */
10009 char krb_recvauth ();
10010 /* The GNU C library defines this for functions which it implements
10011 to always fail with ENOSYS. Some functions are actually named
10012 something starting with __ and the normal name is an alias. */
10013 #if defined (__stub_krb_recvauth) || defined (__stub___krb_recvauth)
10016 char (*f) () = krb_recvauth;
10025 return f != krb_recvauth;
10030 rm -f conftest.$ac_objext conftest$ac_exeext
10031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10032 (eval $ac_link) 2>conftest.er1
10034 grep -v '^ *+' conftest.er1 >conftest.err
10036 cat conftest.err >&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); } &&
10039 { ac_try='test -z "$ac_c_werror_flag"
10040 || test ! -s conftest.err'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; } &&
10046 { ac_try='test -s conftest$ac_exeext'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; }; then
10052 ac_cv_func_krb_recvauth=yes
10054 echo "$as_me: failed program was:" >&5
10055 sed 's/^/| /' conftest.$ac_ext >&5
10057 ac_cv_func_krb_recvauth=no
10059 rm -f conftest.err conftest.$ac_objext \
10060 conftest$ac_exeext conftest.$ac_ext
10062 echo "$as_me:$LINENO: result: $ac_cv_func_krb_recvauth" >&5
10063 echo "${ECHO_T}$ac_cv_func_krb_recvauth" >&6
10064 if test $ac_cv_func_krb_recvauth = yes; then
10065 krb_lib=yes krb_libdir=
10069 if test -n "$krb_lib"; then
10071 cat >>confdefs.h <<\_ACEOF
10072 #define HAVE_KERBEROS 1
10075 test -n "${krb_libdir}" && LIBS="${LIBS} -L${krb_libdir}"
10076 # Put -L${krb_libdir} in LDFLAGS temporarily so that it appears before
10077 # -ldes in the command line. Don't do it permanently so that we honor
10078 # the user's setting for LDFLAGS
10079 hold_ldflags=$LDFLAGS
10080 test -n "${krb_libdir}" && LDFLAGS="$LDFLAGS -L${krb_libdir}"
10081 echo "$as_me:$LINENO: checking for printf in -ldes" >&5
10082 echo $ECHO_N "checking for printf in -ldes... $ECHO_C" >&6
10083 if test "${ac_cv_lib_des_printf+set}" = set; then
10084 echo $ECHO_N "(cached) $ECHO_C" >&6
10086 ac_check_lib_save_LIBS=$LIBS
10088 cat >conftest.$ac_ext <<_ACEOF
10091 cat confdefs.h >>conftest.$ac_ext
10092 cat >>conftest.$ac_ext <<_ACEOF
10093 /* end confdefs.h. */
10095 /* Override any gcc2 internal prototype to avoid an error. */
10099 /* We use char because int might match the return type of a gcc2
10100 builtin and then its argument prototype would still apply. */
10110 rm -f conftest.$ac_objext conftest$ac_exeext
10111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10112 (eval $ac_link) 2>conftest.er1
10114 grep -v '^ *+' conftest.er1 >conftest.err
10116 cat conftest.err >&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } &&
10119 { ac_try='test -z "$ac_c_werror_flag"
10120 || test ! -s conftest.err'
10121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10122 (eval $ac_try) 2>&5
10124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10125 (exit $ac_status); }; } &&
10126 { ac_try='test -s conftest$ac_exeext'
10127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10128 (eval $ac_try) 2>&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); }; }; then
10132 ac_cv_lib_des_printf=yes
10134 echo "$as_me: failed program was:" >&5
10135 sed 's/^/| /' conftest.$ac_ext >&5
10137 ac_cv_lib_des_printf=no
10139 rm -f conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_lib_save_LIBS
10143 echo "$as_me:$LINENO: result: $ac_cv_lib_des_printf" >&5
10144 echo "${ECHO_T}$ac_cv_lib_des_printf" >&6
10145 if test $ac_cv_lib_des_printf = yes; then
10146 LIBS="${LIBS} -ldes"
10150 echo "$as_me:$LINENO: checking for krb_recvauth in -lkrb" >&5
10151 echo $ECHO_N "checking for krb_recvauth in -lkrb... $ECHO_C" >&6
10152 if test "${ac_cv_lib_krb_krb_recvauth+set}" = set; then
10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10155 ac_check_lib_save_LIBS=$LIBS
10157 cat >conftest.$ac_ext <<_ACEOF
10160 cat confdefs.h >>conftest.$ac_ext
10161 cat >>conftest.$ac_ext <<_ACEOF
10162 /* end confdefs.h. */
10164 /* Override any gcc2 internal prototype to avoid an error. */
10168 /* We use char because int might match the return type of a gcc2
10169 builtin and then its argument prototype would still apply. */
10170 char krb_recvauth ();
10179 rm -f conftest.$ac_objext conftest$ac_exeext
10180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10181 (eval $ac_link) 2>conftest.er1
10183 grep -v '^ *+' conftest.er1 >conftest.err
10185 cat conftest.err >&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); } &&
10188 { ac_try='test -z "$ac_c_werror_flag"
10189 || test ! -s conftest.err'
10190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }; } &&
10195 { ac_try='test -s conftest$ac_exeext'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; }; then
10201 ac_cv_lib_krb_krb_recvauth=yes
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.$ac_ext >&5
10206 ac_cv_lib_krb_krb_recvauth=no
10208 rm -f conftest.err conftest.$ac_objext \
10209 conftest$ac_exeext conftest.$ac_ext
10210 LIBS=$ac_check_lib_save_LIBS
10212 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_recvauth" >&5
10213 echo "${ECHO_T}$ac_cv_lib_krb_krb_recvauth" >&6
10214 if test $ac_cv_lib_krb_krb_recvauth = yes; then
10215 cat >>confdefs.h <<_ACEOF
10216 #define HAVE_LIBKRB 1
10224 echo "$as_me:$LINENO: checking for krb_recvauth in -lkrb4" >&5
10225 echo $ECHO_N "checking for krb_recvauth in -lkrb4... $ECHO_C" >&6
10226 if test "${ac_cv_lib_krb4_krb_recvauth+set}" = set; then
10227 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 ac_check_lib_save_LIBS=$LIBS
10230 LIBS="-lkrb4 $LIBS"
10231 cat >conftest.$ac_ext <<_ACEOF
10234 cat confdefs.h >>conftest.$ac_ext
10235 cat >>conftest.$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10238 /* Override any gcc2 internal prototype to avoid an error. */
10242 /* We use char because int might match the return type of a gcc2
10243 builtin and then its argument prototype would still apply. */
10244 char krb_recvauth ();
10253 rm -f conftest.$ac_objext conftest$ac_exeext
10254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10255 (eval $ac_link) 2>conftest.er1
10257 grep -v '^ *+' conftest.er1 >conftest.err
10259 cat conftest.err >&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } &&
10262 { ac_try='test -z "$ac_c_werror_flag"
10263 || test ! -s conftest.err'
10264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265 (eval $ac_try) 2>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; } &&
10269 { ac_try='test -s conftest$ac_exeext'
10270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10271 (eval $ac_try) 2>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; }; then
10275 ac_cv_lib_krb4_krb_recvauth=yes
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.$ac_ext >&5
10280 ac_cv_lib_krb4_krb_recvauth=no
10282 rm -f conftest.err conftest.$ac_objext \
10283 conftest$ac_exeext conftest.$ac_ext
10284 LIBS=$ac_check_lib_save_LIBS
10286 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_recvauth" >&5
10287 echo "${ECHO_T}$ac_cv_lib_krb4_krb_recvauth" >&6
10288 if test $ac_cv_lib_krb4_krb_recvauth = yes; then
10289 cat >>confdefs.h <<_ACEOF
10290 #define HAVE_LIBKRB4 1
10293 LIBS="-lkrb4 $LIBS"
10297 LDFLAGS=$hold_ldflags
10298 if test -n "$krb_incdir"; then
10299 includeopt="${includeopt} -I$krb_incdir"
10304 for ac_func in krb_get_err_text
10306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10307 echo "$as_me:$LINENO: checking for $ac_func" >&5
10308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10309 if eval "test \"\${$as_ac_var+set}\" = set"; then
10310 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 cat >conftest.$ac_ext <<_ACEOF
10315 cat confdefs.h >>conftest.$ac_ext
10316 cat >>conftest.$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10320 #define $ac_func innocuous_$ac_func
10322 /* System header to define __stub macros and hopefully few prototypes,
10323 which can conflict with char $ac_func (); below.
10324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10325 <limits.h> exists even on freestanding compilers. */
10328 # include <limits.h>
10330 # include <assert.h>
10335 /* Override any gcc2 internal prototype to avoid an error. */
10340 /* We use char because int might match the return type of a gcc2
10341 builtin and then its argument prototype would still apply. */
10343 /* The GNU C library defines this for functions which it implements
10344 to always fail with ENOSYS. Some functions are actually named
10345 something starting with __ and the normal name is an alias. */
10346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10349 char (*f) () = $ac_func;
10358 return f != $ac_func;
10363 rm -f conftest.$ac_objext conftest$ac_exeext
10364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10365 (eval $ac_link) 2>conftest.er1
10367 grep -v '^ *+' conftest.er1 >conftest.err
10369 cat conftest.err >&5
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); } &&
10372 { ac_try='test -z "$ac_c_werror_flag"
10373 || test ! -s conftest.err'
10374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10375 (eval $ac_try) 2>&5
10377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378 (exit $ac_status); }; } &&
10379 { ac_try='test -s conftest$ac_exeext'
10380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10381 (eval $ac_try) 2>&5
10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); }; }; then
10385 eval "$as_ac_var=yes"
10387 echo "$as_me: failed program was:" >&5
10388 sed 's/^/| /' conftest.$ac_ext >&5
10390 eval "$as_ac_var=no"
10392 rm -f conftest.err conftest.$ac_objext \
10393 conftest$ac_exeext conftest.$ac_ext
10395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10397 if test `eval echo '${'$as_ac_var'}'` = yes; then
10398 cat >>confdefs.h <<_ACEOF
10399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10409 # Use --with-gssapi[=DIR] to enable GSSAPI support.
10411 # defaults to enabled with DIR in default list below
10413 # Search for /SUNHEA/ and read the comments about this default below.
10416 # Check whether --with-gssapi or --without-gssapi was given.
10417 if test "${with_gssapi+set}" = set; then
10418 withval="$with_gssapi"
10424 # Try to locate a GSSAPI installation if no location was specified, assuming
10425 # GSSAPI was enabled (the default).
10427 if test -n "$acx_gssapi_cv_gssapi"; then
10428 # Granted, this is a slightly ugly way to print this info, but the
10429 # AC_CHECK_HEADER used in the search for a GSSAPI installation makes using
10430 # AC_CACHE_CHECK worse
10431 echo "$as_me:$LINENO: checking for GSSAPI" >&5
10432 echo $ECHO_N "checking for GSSAPI... $ECHO_C" >&6
10434 if test "${acx_gssapi_cv_gssapi+set}" = set; then
10435 echo $ECHO_N "(cached) $ECHO_C" >&6
10438 if test x$with_gssapi = xyes; then
10439 # --with but no location specified
10440 # assume a gssapi.h or gssapi/gssapi.h locates our install.
10442 # This isn't always strictly true. For instance Solaris 7's SUNHEA (header)
10443 # package installs gssapi.h whether or not the necessary libraries are
10444 # installed. I'm still not sure whether to consider this a bug. The long
10445 # way around is to not consider GSSPAI installed unless gss_import_name is
10446 # found, but that brings up a lot of other hassles, like continuing to let
10447 # gcc & ld generate the error messages when the user uses --with-gssapi=dir
10448 # as a debugging aid. The short way around is to disable GSSAPI by default,
10449 # but I think Sun users have been faced with this for awhile and I haven't
10450 # heard many complaints.
10451 acx_gssapi_save_CPPFLAGS=$CPPFLAGS
10452 for acx_gssapi_cv_gssapi in yes /usr/kerberos /usr/cygnus/kerbnet no; do
10453 if test x$acx_gssapi_cv_gssapi = xno; then
10456 if test x$acx_gssapi_cv_gssapi = xyes; then
10457 echo "$as_me:$LINENO: checking for GSSAPI" >&5
10458 echo $ECHO_N "checking for GSSAPI... $ECHO_C" >&6
10459 echo "$as_me:$LINENO: result: " >&5
10460 echo "${ECHO_T}" >&6
10462 CPPFLAGS="$acx_gssapi_save_CPPFLAGS -I$acx_gssapi_cv_gssapi/include"
10463 echo "$as_me:$LINENO: checking for GSSAPI in $acx_gssapi_cv_gssapi" >&5
10464 echo $ECHO_N "checking for GSSAPI in $acx_gssapi_cv_gssapi... $ECHO_C" >&6
10465 echo "$as_me:$LINENO: result: " >&5
10466 echo "${ECHO_T}" >&6
10468 unset ac_cv_header_gssapi_h
10469 unset ac_cv_header_gssapi_gssapi_h
10470 unset ac_cv_header_krb5_h
10474 for ac_header in gssapi.h gssapi/gssapi.h krb5.h
10476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10478 echo "$as_me:$LINENO: checking for $ac_header" >&5
10479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10481 echo $ECHO_N "(cached) $ECHO_C" >&6
10483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10486 # Is the header compilable?
10487 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10489 cat >conftest.$ac_ext <<_ACEOF
10492 cat confdefs.h >>conftest.$ac_ext
10493 cat >>conftest.$ac_ext <<_ACEOF
10494 /* end confdefs.h. */
10495 $ac_includes_default
10496 #include <$ac_header>
10498 rm -f conftest.$ac_objext
10499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10500 (eval $ac_compile) 2>conftest.er1
10502 grep -v '^ *+' conftest.er1 >conftest.err
10504 cat conftest.err >&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); } &&
10507 { ac_try='test -z "$ac_c_werror_flag"
10508 || test ! -s conftest.err'
10509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10510 (eval $ac_try) 2>&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); }; } &&
10514 { ac_try='test -s conftest.$ac_objext'
10515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10516 (eval $ac_try) 2>&5
10518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10519 (exit $ac_status); }; }; then
10520 ac_header_compiler=yes
10522 echo "$as_me: failed program was:" >&5
10523 sed 's/^/| /' conftest.$ac_ext >&5
10525 ac_header_compiler=no
10527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10529 echo "${ECHO_T}$ac_header_compiler" >&6
10531 # Is the header present?
10532 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10534 cat >conftest.$ac_ext <<_ACEOF
10537 cat confdefs.h >>conftest.$ac_ext
10538 cat >>conftest.$ac_ext <<_ACEOF
10539 /* end confdefs.h. */
10540 #include <$ac_header>
10542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10545 grep -v '^ *+' conftest.er1 >conftest.err
10547 cat conftest.err >&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); } >/dev/null; then
10550 if test -s conftest.err; then
10551 ac_cpp_err=$ac_c_preproc_warn_flag
10552 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10559 if test -z "$ac_cpp_err"; then
10560 ac_header_preproc=yes
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10565 ac_header_preproc=no
10567 rm -f conftest.err conftest.$ac_ext
10568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10569 echo "${ECHO_T}$ac_header_preproc" >&6
10571 # So? What about this header?
10572 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10577 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10578 ac_header_preproc=yes
10581 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10582 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10583 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10584 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10585 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10586 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10587 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10588 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10591 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10592 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10595 ## ------------------------------ ##
10596 ## Report this to bug-cvs@gnu.org ##
10597 ## ------------------------------ ##
10600 sed "s/^/$as_me: WARNING: /" >&2
10603 echo "$as_me:$LINENO: checking for $ac_header" >&5
10604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10606 echo $ECHO_N "(cached) $ECHO_C" >&6
10608 eval "$as_ac_Header=\$ac_header_preproc"
10610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10615 cat >>confdefs.h <<_ACEOF
10616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10623 if (test "$ac_cv_header_gssapi_h" = yes ||
10624 test "$ac_cv_header_gssapi_gssapi_h" = yes) &&
10625 test "$ac_cv_header_krb5_h" = yes; then
10629 CPPFLAGS=$acx_gssapi_save_CPPFLAGS
10631 acx_gssapi_cv_gssapi=$with_gssapi
10633 echo "$as_me:$LINENO: checking for GSSAPI" >&5
10634 echo $ECHO_N "checking for GSSAPI... $ECHO_C" >&6
10637 echo "$as_me:$LINENO: result: $acx_gssapi_cv_gssapi" >&5
10638 echo "${ECHO_T}$acx_gssapi_cv_gssapi" >&6
10641 # Set up GSSAPI includes for later use. We don't bother to check for
10642 # $acx_gssapi_cv_gssapi=no here since that will be caught later.
10644 if test x$acx_gssapi_cv_gssapi = xyes; then
10645 # no special includes necessary
10648 # GSSAPI at $acx_gssapi_cv_gssapi (could be 'no')
10649 GSSAPI_INCLUDES=" -I$acx_gssapi_cv_gssapi/include"
10653 # Get the rest of the information CVS needs to compile with GSSAPI support
10655 if test x$acx_gssapi_cv_gssapi != xno; then
10656 # define HAVE_GSSAPI and set up the includes
10658 cat >>confdefs.h <<\_ACEOF
10659 #define HAVE_GSSAPI
10662 includeopt=$includeopt$GSSAPI_INCLUDES
10664 # locate any other headers
10665 acx_gssapi_save_CPPFLAGS=$CPPFLAGS
10666 CPPFLAGS=$CPPFLAGS$GSSAPI_INCLUDES
10671 for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h krb5.h
10673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10675 echo "$as_me:$LINENO: checking for $ac_header" >&5
10676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10678 echo $ECHO_N "(cached) $ECHO_C" >&6
10680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10683 # Is the header compilable?
10684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10686 cat >conftest.$ac_ext <<_ACEOF
10689 cat confdefs.h >>conftest.$ac_ext
10690 cat >>conftest.$ac_ext <<_ACEOF
10691 /* end confdefs.h. */
10692 $ac_includes_default
10693 #include <$ac_header>
10695 rm -f conftest.$ac_objext
10696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10697 (eval $ac_compile) 2>conftest.er1
10699 grep -v '^ *+' conftest.er1 >conftest.err
10701 cat conftest.err >&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); } &&
10704 { ac_try='test -z "$ac_c_werror_flag"
10705 || test ! -s conftest.err'
10706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10707 (eval $ac_try) 2>&5
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); }; } &&
10711 { ac_try='test -s conftest.$ac_objext'
10712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10713 (eval $ac_try) 2>&5
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); }; }; then
10717 ac_header_compiler=yes
10719 echo "$as_me: failed program was:" >&5
10720 sed 's/^/| /' conftest.$ac_ext >&5
10722 ac_header_compiler=no
10724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10726 echo "${ECHO_T}$ac_header_compiler" >&6
10728 # Is the header present?
10729 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10731 cat >conftest.$ac_ext <<_ACEOF
10734 cat confdefs.h >>conftest.$ac_ext
10735 cat >>conftest.$ac_ext <<_ACEOF
10736 /* end confdefs.h. */
10737 #include <$ac_header>
10739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10742 grep -v '^ *+' conftest.er1 >conftest.err
10744 cat conftest.err >&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } >/dev/null; then
10747 if test -s conftest.err; then
10748 ac_cpp_err=$ac_c_preproc_warn_flag
10749 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10756 if test -z "$ac_cpp_err"; then
10757 ac_header_preproc=yes
10759 echo "$as_me: failed program was:" >&5
10760 sed 's/^/| /' conftest.$ac_ext >&5
10762 ac_header_preproc=no
10764 rm -f conftest.err conftest.$ac_ext
10765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10766 echo "${ECHO_T}$ac_header_preproc" >&6
10768 # So? What about this header?
10769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10774 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10775 ac_header_preproc=yes
10778 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10779 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10780 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10781 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10782 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10783 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10784 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10785 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10788 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10789 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10792 ## ------------------------------ ##
10793 ## Report this to bug-cvs@gnu.org ##
10794 ## ------------------------------ ##
10797 sed "s/^/$as_me: WARNING: /" >&2
10800 echo "$as_me:$LINENO: checking for $ac_header" >&5
10801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10803 echo $ECHO_N "(cached) $ECHO_C" >&6
10805 eval "$as_ac_Header=\$ac_header_preproc"
10807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10812 cat >>confdefs.h <<_ACEOF
10813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10820 # And look through them for GSS_C_NT_HOSTBASED_SERVICE or its alternatives
10821 echo "$as_me:$LINENO: checking for GSS_C_NT_HOSTBASED_SERVICE" >&5
10822 echo $ECHO_N "checking for GSS_C_NT_HOSTBASED_SERVICE... $ECHO_C" >&6
10823 if test "${acx_gssapi_cv_gss_c_nt_hostbased_service+set}" = set; then
10824 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 acx_gssapi_cv_gss_c_nt_hostbased_service=no
10828 if test "$ac_cv_header_gssapi_h" = "yes"; then
10829 cat >conftest.$ac_ext <<_ACEOF
10832 cat confdefs.h >>conftest.$ac_ext
10833 cat >>conftest.$ac_ext <<_ACEOF
10834 /* end confdefs.h. */
10835 #include <gssapi.h>
10838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10839 $EGREP "GSS_C_NT_HOSTBASED_SERVICE" >/dev/null 2>&1; then
10840 acx_gssapi_cv_gss_c_nt_hostbased_service=yes
10843 cat >conftest.$ac_ext <<_ACEOF
10846 cat confdefs.h >>conftest.$ac_ext
10847 cat >>conftest.$ac_ext <<_ACEOF
10848 /* end confdefs.h. */
10849 #include <gssapi.h>
10852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10853 $EGREP "gss_nt_service_name" >/dev/null 2>&1; then
10854 acx_gssapi_cv_gss_c_nt_hostbased_service=gss_nt_service_name
10863 if test $acx_gssapi_cv_gss_c_nt_hostbased_service = no &&
10864 test "$ac_cv_header_gssapi_gssapi_h" = "yes"; then
10865 cat >conftest.$ac_ext <<_ACEOF
10868 cat confdefs.h >>conftest.$ac_ext
10869 cat >>conftest.$ac_ext <<_ACEOF
10870 /* end confdefs.h. */
10871 #include <gssapi/gssapi.h>
10874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10875 $EGREP "GSS_C_NT_HOSTBASED_SERVICE" >/dev/null 2>&1; then
10876 acx_gssapi_cv_gss_c_nt_hostbased_service=yes
10879 cat >conftest.$ac_ext <<_ACEOF
10882 cat confdefs.h >>conftest.$ac_ext
10883 cat >>conftest.$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10885 #include <gssapi/gssapi.h>
10888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10889 $EGREP "gss_nt_service_name" >/dev/null 2>&1; then
10890 acx_gssapi_cv_gss_c_nt_hostbased_service=gss_nt_service_name
10899 if test $acx_gssapi_cv_gss_c_nt_hostbased_service = no &&
10900 test "$ac_cv_header_gssapi_gssapi_generic_h" = "yes"; then
10901 cat >conftest.$ac_ext <<_ACEOF
10904 cat confdefs.h >>conftest.$ac_ext
10905 cat >>conftest.$ac_ext <<_ACEOF
10906 /* end confdefs.h. */
10907 #include <gssapi/gssapi_generic.h>
10910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10911 $EGREP "GSS_C_NT_HOSTBASED_SERVICE" >/dev/null 2>&1; then
10912 acx_gssapi_cv_gss_c_nt_hostbased_service=yes
10915 cat >conftest.$ac_ext <<_ACEOF
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10921 #include <gssapi/gssapi_generic.h>
10924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10925 $EGREP "gss_nt_service_name" >/dev/null 2>&1; then
10926 acx_gssapi_cv_gss_c_nt_hostbased_service=gss_nt_service_name
10937 echo "$as_me:$LINENO: result: $acx_gssapi_cv_gss_c_nt_hostbased_service" >&5
10938 echo "${ECHO_T}$acx_gssapi_cv_gss_c_nt_hostbased_service" >&6
10939 if test $acx_gssapi_cv_gss_c_nt_hostbased_service != yes &&
10940 test $acx_gssapi_cv_gss_c_nt_hostbased_service != no; then
10941 # don't define for yes since that means it already means something and
10942 # don't define for no since we'd rather the compiler catch the error
10943 # It's debatable whether we'd prefer that the compiler catch the error
10944 # - it seems our estranged developer is more likely to be familiar with
10945 # the intricacies of the compiler than with those of autoconf, but by
10946 # the same token, maybe we'd rather alert them to the fact that most
10947 # of the support they need to fix the problem is installed if they can
10948 # simply locate the appropriate symbol.
10950 cat >>confdefs.h <<_ACEOF
10951 #define GSS_C_NT_HOSTBASED_SERVICE $acx_gssapi_cv_gss_c_nt_hostbased_service
10956 CPPFLAGS=$acx_gssapi_save_CPPFLAGS
10958 # Expect the libs to be installed parallel to the headers
10960 # We could try once with and once without, but I'm not sure it's worth the
10962 if test x$acx_gssapi_cv_gssapi != xyes; then
10963 if test -z "$LIBS"; then
10964 LIBS="-L$acx_gssapi_cv_gssapi/lib"
10966 LIBS="-L$acx_gssapi_cv_gssapi/lib $LIBS"
10971 # Some of the order below is particular due to library dependencies
10975 # des Heimdal K 0.3d, but Heimdal seems to be set up such
10976 # that it could have been installed from elsewhere.
10978 echo "$as_me:$LINENO: checking for library containing des_set_odd_parity" >&5
10979 echo $ECHO_N "checking for library containing des_set_odd_parity... $ECHO_C" >&6
10980 if test "${ac_cv_search_des_set_odd_parity+set}" = set; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10983 ac_func_search_save_LIBS=$LIBS
10984 ac_cv_search_des_set_odd_parity=no
10985 cat >conftest.$ac_ext <<_ACEOF
10988 cat confdefs.h >>conftest.$ac_ext
10989 cat >>conftest.$ac_ext <<_ACEOF
10990 /* end confdefs.h. */
10992 /* Override any gcc2 internal prototype to avoid an error. */
10996 /* We use char because int might match the return type of a gcc2
10997 builtin and then its argument prototype would still apply. */
10998 char des_set_odd_parity ();
11002 des_set_odd_parity ();
11007 rm -f conftest.$ac_objext conftest$ac_exeext
11008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11009 (eval $ac_link) 2>conftest.er1
11011 grep -v '^ *+' conftest.er1 >conftest.err
11013 cat conftest.err >&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); } &&
11016 { ac_try='test -z "$ac_c_werror_flag"
11017 || test ! -s conftest.err'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; } &&
11023 { ac_try='test -s conftest$ac_exeext'
11024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11025 (eval $ac_try) 2>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); }; }; then
11029 ac_cv_search_des_set_odd_parity="none required"
11031 echo "$as_me: failed program was:" >&5
11032 sed 's/^/| /' conftest.$ac_ext >&5
11035 rm -f conftest.err conftest.$ac_objext \
11036 conftest$ac_exeext conftest.$ac_ext
11037 if test "$ac_cv_search_des_set_odd_parity" = no; then
11038 for ac_lib in des; do
11039 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11040 cat >conftest.$ac_ext <<_ACEOF
11043 cat confdefs.h >>conftest.$ac_ext
11044 cat >>conftest.$ac_ext <<_ACEOF
11045 /* end confdefs.h. */
11047 /* Override any gcc2 internal prototype to avoid an error. */
11051 /* We use char because int might match the return type of a gcc2
11052 builtin and then its argument prototype would still apply. */
11053 char des_set_odd_parity ();
11057 des_set_odd_parity ();
11062 rm -f conftest.$ac_objext conftest$ac_exeext
11063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11064 (eval $ac_link) 2>conftest.er1
11066 grep -v '^ *+' conftest.er1 >conftest.err
11068 cat conftest.err >&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); } &&
11071 { ac_try='test -z "$ac_c_werror_flag"
11072 || test ! -s conftest.err'
11073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11074 (eval $ac_try) 2>&5
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); }; } &&
11078 { ac_try='test -s conftest$ac_exeext'
11079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11080 (eval $ac_try) 2>&5
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); }; }; then
11084 ac_cv_search_des_set_odd_parity="-l$ac_lib"
11087 echo "$as_me: failed program was:" >&5
11088 sed 's/^/| /' conftest.$ac_ext >&5
11091 rm -f conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11095 LIBS=$ac_func_search_save_LIBS
11097 echo "$as_me:$LINENO: result: $ac_cv_search_des_set_odd_parity" >&5
11098 echo "${ECHO_T}$ac_cv_search_des_set_odd_parity" >&6
11099 if test "$ac_cv_search_des_set_odd_parity" != no; then
11100 test "$ac_cv_search_des_set_odd_parity" = "none required" || LIBS="$ac_cv_search_des_set_odd_parity $LIBS"
11106 # com_err Heimdal K 0.3d
11108 # com_err MIT K5 v1.2.2-beta1
11110 echo "$as_me:$LINENO: checking for library containing com_err" >&5
11111 echo $ECHO_N "checking for library containing com_err... $ECHO_C" >&6
11112 if test "${ac_cv_search_com_err+set}" = set; then
11113 echo $ECHO_N "(cached) $ECHO_C" >&6
11115 ac_func_search_save_LIBS=$LIBS
11116 ac_cv_search_com_err=no
11117 cat >conftest.$ac_ext <<_ACEOF
11120 cat confdefs.h >>conftest.$ac_ext
11121 cat >>conftest.$ac_ext <<_ACEOF
11122 /* end confdefs.h. */
11124 /* Override any gcc2 internal prototype to avoid an error. */
11128 /* We use char because int might match the return type of a gcc2
11129 builtin and then its argument prototype would still apply. */
11139 rm -f conftest.$ac_objext conftest$ac_exeext
11140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11141 (eval $ac_link) 2>conftest.er1
11143 grep -v '^ *+' conftest.er1 >conftest.err
11145 cat conftest.err >&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } &&
11148 { ac_try='test -z "$ac_c_werror_flag"
11149 || test ! -s conftest.err'
11150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151 (eval $ac_try) 2>&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; } &&
11155 { ac_try='test -s conftest$ac_exeext'
11156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11157 (eval $ac_try) 2>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); }; }; then
11161 ac_cv_search_com_err="none required"
11163 echo "$as_me: failed program was:" >&5
11164 sed 's/^/| /' conftest.$ac_ext >&5
11167 rm -f conftest.err conftest.$ac_objext \
11168 conftest$ac_exeext conftest.$ac_ext
11169 if test "$ac_cv_search_com_err" = no; then
11170 for ac_lib in com_err; do
11171 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11172 cat >conftest.$ac_ext <<_ACEOF
11175 cat confdefs.h >>conftest.$ac_ext
11176 cat >>conftest.$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11179 /* Override any gcc2 internal prototype to avoid an error. */
11183 /* We use char because int might match the return type of a gcc2
11184 builtin and then its argument prototype would still apply. */
11194 rm -f conftest.$ac_objext conftest$ac_exeext
11195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11196 (eval $ac_link) 2>conftest.er1
11198 grep -v '^ *+' conftest.er1 >conftest.err
11200 cat conftest.err >&5
11201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11202 (exit $ac_status); } &&
11203 { ac_try='test -z "$ac_c_werror_flag"
11204 || test ! -s conftest.err'
11205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11206 (eval $ac_try) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; } &&
11210 { ac_try='test -s conftest$ac_exeext'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; }; then
11216 ac_cv_search_com_err="-l$ac_lib"
11219 echo "$as_me: failed program was:" >&5
11220 sed 's/^/| /' conftest.$ac_ext >&5
11223 rm -f conftest.err conftest.$ac_objext \
11224 conftest$ac_exeext conftest.$ac_ext
11227 LIBS=$ac_func_search_save_LIBS
11229 echo "$as_me:$LINENO: result: $ac_cv_search_com_err" >&5
11230 echo "${ECHO_T}$ac_cv_search_com_err" >&6
11231 if test "$ac_cv_search_com_err" != no; then
11232 test "$ac_cv_search_com_err" = "none required" || LIBS="$ac_cv_search_com_err $LIBS"
11238 # asn1 Heimdal K 0.3d -lcom_err
11240 echo "$as_me:$LINENO: checking for library containing initialize_asn1_error_table_r" >&5
11241 echo $ECHO_N "checking for library containing initialize_asn1_error_table_r... $ECHO_C" >&6
11242 if test "${ac_cv_search_initialize_asn1_error_table_r+set}" = set; then
11243 echo $ECHO_N "(cached) $ECHO_C" >&6
11245 ac_func_search_save_LIBS=$LIBS
11246 ac_cv_search_initialize_asn1_error_table_r=no
11247 cat >conftest.$ac_ext <<_ACEOF
11250 cat confdefs.h >>conftest.$ac_ext
11251 cat >>conftest.$ac_ext <<_ACEOF
11252 /* end confdefs.h. */
11254 /* Override any gcc2 internal prototype to avoid an error. */
11258 /* We use char because int might match the return type of a gcc2
11259 builtin and then its argument prototype would still apply. */
11260 char initialize_asn1_error_table_r ();
11264 initialize_asn1_error_table_r ();
11269 rm -f conftest.$ac_objext conftest$ac_exeext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11271 (eval $ac_link) 2>conftest.er1
11273 grep -v '^ *+' conftest.er1 >conftest.err
11275 cat conftest.err >&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } &&
11278 { ac_try='test -z "$ac_c_werror_flag"
11279 || test ! -s conftest.err'
11280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281 (eval $ac_try) 2>&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; } &&
11285 { ac_try='test -s conftest$ac_exeext'
11286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11287 (eval $ac_try) 2>&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); }; }; then
11291 ac_cv_search_initialize_asn1_error_table_r="none required"
11293 echo "$as_me: failed program was:" >&5
11294 sed 's/^/| /' conftest.$ac_ext >&5
11297 rm -f conftest.err conftest.$ac_objext \
11298 conftest$ac_exeext conftest.$ac_ext
11299 if test "$ac_cv_search_initialize_asn1_error_table_r" = no; then
11300 for ac_lib in asn1; do
11301 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11302 cat >conftest.$ac_ext <<_ACEOF
11305 cat confdefs.h >>conftest.$ac_ext
11306 cat >>conftest.$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11309 /* Override any gcc2 internal prototype to avoid an error. */
11313 /* We use char because int might match the return type of a gcc2
11314 builtin and then its argument prototype would still apply. */
11315 char initialize_asn1_error_table_r ();
11319 initialize_asn1_error_table_r ();
11324 rm -f conftest.$ac_objext conftest$ac_exeext
11325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11326 (eval $ac_link) 2>conftest.er1
11328 grep -v '^ *+' conftest.er1 >conftest.err
11330 cat conftest.err >&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); } &&
11333 { ac_try='test -z "$ac_c_werror_flag"
11334 || test ! -s conftest.err'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; } &&
11340 { ac_try='test -s conftest$ac_exeext'
11341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342 (eval $ac_try) 2>&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }; }; then
11346 ac_cv_search_initialize_asn1_error_table_r="-l$ac_lib"
11349 echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11353 rm -f conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_func_search_save_LIBS
11359 echo "$as_me:$LINENO: result: $ac_cv_search_initialize_asn1_error_table_r" >&5
11360 echo "${ECHO_T}$ac_cv_search_initialize_asn1_error_table_r" >&6
11361 if test "$ac_cv_search_initialize_asn1_error_table_r" != no; then
11362 test "$ac_cv_search_initialize_asn1_error_table_r" = "none required" || LIBS="$ac_cv_search_initialize_asn1_error_table_r $LIBS"
11368 # resolv required, but not installed by Heimdal K 0.3d
11370 # resolv MIT K5 1.2.2-beta1
11373 echo "$as_me:$LINENO: checking for library containing __dn_expand" >&5
11374 echo $ECHO_N "checking for library containing __dn_expand... $ECHO_C" >&6
11375 if test "${ac_cv_search___dn_expand+set}" = set; then
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 ac_func_search_save_LIBS=$LIBS
11379 ac_cv_search___dn_expand=no
11380 cat >conftest.$ac_ext <<_ACEOF
11383 cat confdefs.h >>conftest.$ac_ext
11384 cat >>conftest.$ac_ext <<_ACEOF
11385 /* end confdefs.h. */
11387 /* Override any gcc2 internal prototype to avoid an error. */
11391 /* We use char because int might match the return type of a gcc2
11392 builtin and then its argument prototype would still apply. */
11393 char __dn_expand ();
11402 rm -f conftest.$ac_objext conftest$ac_exeext
11403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11404 (eval $ac_link) 2>conftest.er1
11406 grep -v '^ *+' conftest.er1 >conftest.err
11408 cat conftest.err >&5
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); } &&
11411 { ac_try='test -z "$ac_c_werror_flag"
11412 || test ! -s conftest.err'
11413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11414 (eval $ac_try) 2>&5
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 (exit $ac_status); }; } &&
11418 { ac_try='test -s conftest$ac_exeext'
11419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11420 (eval $ac_try) 2>&5
11422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11423 (exit $ac_status); }; }; then
11424 ac_cv_search___dn_expand="none required"
11426 echo "$as_me: failed program was:" >&5
11427 sed 's/^/| /' conftest.$ac_ext >&5
11430 rm -f conftest.err conftest.$ac_objext \
11431 conftest$ac_exeext conftest.$ac_ext
11432 if test "$ac_cv_search___dn_expand" = no; then
11433 for ac_lib in resolv; do
11434 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11435 cat >conftest.$ac_ext <<_ACEOF
11438 cat confdefs.h >>conftest.$ac_ext
11439 cat >>conftest.$ac_ext <<_ACEOF
11440 /* end confdefs.h. */
11442 /* Override any gcc2 internal prototype to avoid an error. */
11446 /* We use char because int might match the return type of a gcc2
11447 builtin and then its argument prototype would still apply. */
11448 char __dn_expand ();
11457 rm -f conftest.$ac_objext conftest$ac_exeext
11458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11459 (eval $ac_link) 2>conftest.er1
11461 grep -v '^ *+' conftest.er1 >conftest.err
11463 cat conftest.err >&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); } &&
11466 { ac_try='test -z "$ac_c_werror_flag"
11467 || test ! -s conftest.err'
11468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11469 (eval $ac_try) 2>&5
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); }; } &&
11473 { ac_try='test -s conftest$ac_exeext'
11474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11475 (eval $ac_try) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }; }; then
11479 ac_cv_search___dn_expand="-l$ac_lib"
11482 echo "$as_me: failed program was:" >&5
11483 sed 's/^/| /' conftest.$ac_ext >&5
11486 rm -f conftest.err conftest.$ac_objext \
11487 conftest$ac_exeext conftest.$ac_ext
11490 LIBS=$ac_func_search_save_LIBS
11492 echo "$as_me:$LINENO: result: $ac_cv_search___dn_expand" >&5
11493 echo "${ECHO_T}$ac_cv_search___dn_expand" >&6
11494 if test "$ac_cv_search___dn_expand" != no; then
11495 test "$ac_cv_search___dn_expand" = "none required" || LIBS="$ac_cv_search___dn_expand $LIBS"
11501 # crypt Needed by roken under FreeBSD 4.6.
11503 echo "$as_me:$LINENO: checking for library containing crypt" >&5
11504 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6
11505 if test "${ac_cv_search_crypt+set}" = set; then
11506 echo $ECHO_N "(cached) $ECHO_C" >&6
11508 ac_func_search_save_LIBS=$LIBS
11509 ac_cv_search_crypt=no
11510 cat >conftest.$ac_ext <<_ACEOF
11513 cat confdefs.h >>conftest.$ac_ext
11514 cat >>conftest.$ac_ext <<_ACEOF
11515 /* end confdefs.h. */
11517 /* Override any gcc2 internal prototype to avoid an error. */
11521 /* We use char because int might match the return type of a gcc2
11522 builtin and then its argument prototype would still apply. */
11532 rm -f conftest.$ac_objext conftest$ac_exeext
11533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11534 (eval $ac_link) 2>conftest.er1
11536 grep -v '^ *+' conftest.er1 >conftest.err
11538 cat conftest.err >&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } &&
11541 { ac_try='test -z "$ac_c_werror_flag"
11542 || test ! -s conftest.err'
11543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11544 (eval $ac_try) 2>&5
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); }; } &&
11548 { ac_try='test -s conftest$ac_exeext'
11549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550 (eval $ac_try) 2>&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); }; }; then
11554 ac_cv_search_crypt="none required"
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.$ac_ext >&5
11560 rm -f conftest.err conftest.$ac_objext \
11561 conftest$ac_exeext conftest.$ac_ext
11562 if test "$ac_cv_search_crypt" = no; then
11563 for ac_lib in crypt; do
11564 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11565 cat >conftest.$ac_ext <<_ACEOF
11568 cat confdefs.h >>conftest.$ac_ext
11569 cat >>conftest.$ac_ext <<_ACEOF
11570 /* end confdefs.h. */
11572 /* Override any gcc2 internal prototype to avoid an error. */
11576 /* We use char because int might match the return type of a gcc2
11577 builtin and then its argument prototype would still apply. */
11587 rm -f conftest.$ac_objext conftest$ac_exeext
11588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11589 (eval $ac_link) 2>conftest.er1
11591 grep -v '^ *+' conftest.er1 >conftest.err
11593 cat conftest.err >&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); } &&
11596 { ac_try='test -z "$ac_c_werror_flag"
11597 || test ! -s conftest.err'
11598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11599 (eval $ac_try) 2>&5
11601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 (exit $ac_status); }; } &&
11603 { ac_try='test -s conftest$ac_exeext'
11604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11605 (eval $ac_try) 2>&5
11607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); }; }; then
11609 ac_cv_search_crypt="-l$ac_lib"
11612 echo "$as_me: failed program was:" >&5
11613 sed 's/^/| /' conftest.$ac_ext >&5
11616 rm -f conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11620 LIBS=$ac_func_search_save_LIBS
11622 echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
11623 echo "${ECHO_T}$ac_cv_search_crypt" >&6
11624 if test "$ac_cv_search_crypt" != no; then
11625 test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS"
11631 # roken Heimdal K 0.3d -lresolv
11632 # roken FreeBSD 4.6 -lcrypt
11634 echo "$as_me:$LINENO: checking for library containing roken_gethostbyaddr" >&5
11635 echo $ECHO_N "checking for library containing roken_gethostbyaddr... $ECHO_C" >&6
11636 if test "${ac_cv_search_roken_gethostbyaddr+set}" = set; then
11637 echo $ECHO_N "(cached) $ECHO_C" >&6
11639 ac_func_search_save_LIBS=$LIBS
11640 ac_cv_search_roken_gethostbyaddr=no
11641 cat >conftest.$ac_ext <<_ACEOF
11644 cat confdefs.h >>conftest.$ac_ext
11645 cat >>conftest.$ac_ext <<_ACEOF
11646 /* end confdefs.h. */
11648 /* Override any gcc2 internal prototype to avoid an error. */
11652 /* We use char because int might match the return type of a gcc2
11653 builtin and then its argument prototype would still apply. */
11654 char roken_gethostbyaddr ();
11658 roken_gethostbyaddr ();
11663 rm -f conftest.$ac_objext conftest$ac_exeext
11664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11665 (eval $ac_link) 2>conftest.er1
11667 grep -v '^ *+' conftest.er1 >conftest.err
11669 cat conftest.err >&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); } &&
11672 { ac_try='test -z "$ac_c_werror_flag"
11673 || test ! -s conftest.err'
11674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11675 (eval $ac_try) 2>&5
11677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11678 (exit $ac_status); }; } &&
11679 { ac_try='test -s conftest$ac_exeext'
11680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11681 (eval $ac_try) 2>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); }; }; then
11685 ac_cv_search_roken_gethostbyaddr="none required"
11687 echo "$as_me: failed program was:" >&5
11688 sed 's/^/| /' conftest.$ac_ext >&5
11691 rm -f conftest.err conftest.$ac_objext \
11692 conftest$ac_exeext conftest.$ac_ext
11693 if test "$ac_cv_search_roken_gethostbyaddr" = no; then
11694 for ac_lib in roken; do
11695 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11696 cat >conftest.$ac_ext <<_ACEOF
11699 cat confdefs.h >>conftest.$ac_ext
11700 cat >>conftest.$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11703 /* Override any gcc2 internal prototype to avoid an error. */
11707 /* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
11709 char roken_gethostbyaddr ();
11713 roken_gethostbyaddr ();
11718 rm -f conftest.$ac_objext conftest$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>conftest.er1
11722 grep -v '^ *+' conftest.er1 >conftest.err
11724 cat conftest.err >&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try='test -z "$ac_c_werror_flag"
11728 || test ! -s conftest.err'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; } &&
11734 { ac_try='test -s conftest$ac_exeext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
11740 ac_cv_search_roken_gethostbyaddr="-l$ac_lib"
11743 echo "$as_me: failed program was:" >&5
11744 sed 's/^/| /' conftest.$ac_ext >&5
11747 rm -f conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11751 LIBS=$ac_func_search_save_LIBS
11753 echo "$as_me:$LINENO: result: $ac_cv_search_roken_gethostbyaddr" >&5
11754 echo "${ECHO_T}$ac_cv_search_roken_gethostbyaddr" >&6
11755 if test "$ac_cv_search_roken_gethostbyaddr" != no; then
11756 test "$ac_cv_search_roken_gethostbyaddr" = "none required" || LIBS="$ac_cv_search_roken_gethostbyaddr $LIBS"
11762 # k5crypto MIT K5 v1.2.2-beta1
11764 echo "$as_me:$LINENO: checking for library containing valid_enctype" >&5
11765 echo $ECHO_N "checking for library containing valid_enctype... $ECHO_C" >&6
11766 if test "${ac_cv_search_valid_enctype+set}" = set; then
11767 echo $ECHO_N "(cached) $ECHO_C" >&6
11769 ac_func_search_save_LIBS=$LIBS
11770 ac_cv_search_valid_enctype=no
11771 cat >conftest.$ac_ext <<_ACEOF
11774 cat confdefs.h >>conftest.$ac_ext
11775 cat >>conftest.$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11778 /* Override any gcc2 internal prototype to avoid an error. */
11782 /* We use char because int might match the return type of a gcc2
11783 builtin and then its argument prototype would still apply. */
11784 char valid_enctype ();
11793 rm -f conftest.$ac_objext conftest$ac_exeext
11794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11795 (eval $ac_link) 2>conftest.er1
11797 grep -v '^ *+' conftest.er1 >conftest.err
11799 cat conftest.err >&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); } &&
11802 { ac_try='test -z "$ac_c_werror_flag"
11803 || test ! -s conftest.err'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11805 (eval $ac_try) 2>&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); }; } &&
11809 { ac_try='test -s conftest$ac_exeext'
11810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11811 (eval $ac_try) 2>&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); }; }; then
11815 ac_cv_search_valid_enctype="none required"
11817 echo "$as_me: failed program was:" >&5
11818 sed 's/^/| /' conftest.$ac_ext >&5
11821 rm -f conftest.err conftest.$ac_objext \
11822 conftest$ac_exeext conftest.$ac_ext
11823 if test "$ac_cv_search_valid_enctype" = no; then
11824 for ac_lib in k5crypto; do
11825 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11826 cat >conftest.$ac_ext <<_ACEOF
11829 cat confdefs.h >>conftest.$ac_ext
11830 cat >>conftest.$ac_ext <<_ACEOF
11831 /* end confdefs.h. */
11833 /* Override any gcc2 internal prototype to avoid an error. */
11837 /* We use char because int might match the return type of a gcc2
11838 builtin and then its argument prototype would still apply. */
11839 char valid_enctype ();
11848 rm -f conftest.$ac_objext conftest$ac_exeext
11849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11850 (eval $ac_link) 2>conftest.er1
11852 grep -v '^ *+' conftest.er1 >conftest.err
11854 cat conftest.err >&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } &&
11857 { ac_try='test -z "$ac_c_werror_flag"
11858 || test ! -s conftest.err'
11859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11860 (eval $ac_try) 2>&5
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); }; } &&
11864 { ac_try='test -s conftest$ac_exeext'
11865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11866 (eval $ac_try) 2>&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); }; }; then
11870 ac_cv_search_valid_enctype="-l$ac_lib"
11873 echo "$as_me: failed program was:" >&5
11874 sed 's/^/| /' conftest.$ac_ext >&5
11877 rm -f conftest.err conftest.$ac_objext \
11878 conftest$ac_exeext conftest.$ac_ext
11881 LIBS=$ac_func_search_save_LIBS
11883 echo "$as_me:$LINENO: result: $ac_cv_search_valid_enctype" >&5
11884 echo "${ECHO_T}$ac_cv_search_valid_enctype" >&6
11885 if test "$ac_cv_search_valid_enctype" != no; then
11886 test "$ac_cv_search_valid_enctype" = "none required" || LIBS="$ac_cv_search_valid_enctype $LIBS"
11892 # gen ? ? ? Needed on Irix 5.3 with some
11893 # Irix 5.3 version of Kerberos. I'm not
11894 # sure which since Irix didn't
11895 # get any testing this time
11896 # around. Original comment:
11898 # This is necessary on Irix 5.3, in order to link against libkrb5 --
11899 # there, an_to_ln.o refers to things defined only in -lgen.
11901 echo "$as_me:$LINENO: checking for library containing compile" >&5
11902 echo $ECHO_N "checking for library containing compile... $ECHO_C" >&6
11903 if test "${ac_cv_search_compile+set}" = set; then
11904 echo $ECHO_N "(cached) $ECHO_C" >&6
11906 ac_func_search_save_LIBS=$LIBS
11907 ac_cv_search_compile=no
11908 cat >conftest.$ac_ext <<_ACEOF
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11915 /* Override any gcc2 internal prototype to avoid an error. */
11919 /* We use char because int might match the return type of a gcc2
11920 builtin and then its argument prototype would still apply. */
11930 rm -f conftest.$ac_objext conftest$ac_exeext
11931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11932 (eval $ac_link) 2>conftest.er1
11934 grep -v '^ *+' conftest.er1 >conftest.err
11936 cat conftest.err >&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); } &&
11939 { ac_try='test -z "$ac_c_werror_flag"
11940 || test ! -s conftest.err'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; } &&
11946 { ac_try='test -s conftest$ac_exeext'
11947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11948 (eval $ac_try) 2>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); }; }; then
11952 ac_cv_search_compile="none required"
11954 echo "$as_me: failed program was:" >&5
11955 sed 's/^/| /' conftest.$ac_ext >&5
11958 rm -f conftest.err conftest.$ac_objext \
11959 conftest$ac_exeext conftest.$ac_ext
11960 if test "$ac_cv_search_compile" = no; then
11961 for ac_lib in gen; do
11962 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11963 cat >conftest.$ac_ext <<_ACEOF
11966 cat confdefs.h >>conftest.$ac_ext
11967 cat >>conftest.$ac_ext <<_ACEOF
11968 /* end confdefs.h. */
11970 /* Override any gcc2 internal prototype to avoid an error. */
11974 /* We use char because int might match the return type of a gcc2
11975 builtin and then its argument prototype would still apply. */
11985 rm -f conftest.$ac_objext conftest$ac_exeext
11986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11987 (eval $ac_link) 2>conftest.er1
11989 grep -v '^ *+' conftest.er1 >conftest.err
11991 cat conftest.err >&5
11992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993 (exit $ac_status); } &&
11994 { ac_try='test -z "$ac_c_werror_flag"
11995 || test ! -s conftest.err'
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997 (eval $ac_try) 2>&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); }; } &&
12001 { ac_try='test -s conftest$ac_exeext'
12002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12003 (eval $ac_try) 2>&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); }; }; then
12007 ac_cv_search_compile="-l$ac_lib"
12010 echo "$as_me: failed program was:" >&5
12011 sed 's/^/| /' conftest.$ac_ext >&5
12014 rm -f conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_func_search_save_LIBS
12020 echo "$as_me:$LINENO: result: $ac_cv_search_compile" >&5
12021 echo "${ECHO_T}$ac_cv_search_compile" >&6
12022 if test "$ac_cv_search_compile" != no; then
12023 test "$ac_cv_search_compile" = "none required" || LIBS="$ac_cv_search_compile $LIBS"
12029 # krb5 ? ? ? -lgen -l???
12032 # krb5 MIT K5 v1.1.1
12034 # krb5 MIT K5 v1.2.2-beta1 -lcrypto -lcom_err
12037 # krb5 MIT K5 v1.2.2-beta1 -lcrypto -lcom_err -lresolv
12039 # krb5 Heimdal K 0.3d -lasn1 -lroken -ldes
12041 echo "$as_me:$LINENO: checking for library containing krb5_free_context" >&5
12042 echo $ECHO_N "checking for library containing krb5_free_context... $ECHO_C" >&6
12043 if test "${ac_cv_search_krb5_free_context+set}" = set; then
12044 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 ac_func_search_save_LIBS=$LIBS
12047 ac_cv_search_krb5_free_context=no
12048 cat >conftest.$ac_ext <<_ACEOF
12051 cat confdefs.h >>conftest.$ac_ext
12052 cat >>conftest.$ac_ext <<_ACEOF
12053 /* end confdefs.h. */
12055 /* Override any gcc2 internal prototype to avoid an error. */
12059 /* We use char because int might match the return type of a gcc2
12060 builtin and then its argument prototype would still apply. */
12061 char krb5_free_context ();
12065 krb5_free_context ();
12070 rm -f conftest.$ac_objext conftest$ac_exeext
12071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12072 (eval $ac_link) 2>conftest.er1
12074 grep -v '^ *+' conftest.er1 >conftest.err
12076 cat conftest.err >&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); } &&
12079 { ac_try='test -z "$ac_c_werror_flag"
12080 || test ! -s conftest.err'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; } &&
12086 { ac_try='test -s conftest$ac_exeext'
12087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088 (eval $ac_try) 2>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); }; }; then
12092 ac_cv_search_krb5_free_context="none required"
12094 echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.$ac_ext >&5
12098 rm -f conftest.err conftest.$ac_objext \
12099 conftest$ac_exeext conftest.$ac_ext
12100 if test "$ac_cv_search_krb5_free_context" = no; then
12101 for ac_lib in krb5; do
12102 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12103 cat >conftest.$ac_ext <<_ACEOF
12106 cat confdefs.h >>conftest.$ac_ext
12107 cat >>conftest.$ac_ext <<_ACEOF
12108 /* end confdefs.h. */
12110 /* Override any gcc2 internal prototype to avoid an error. */
12114 /* We use char because int might match the return type of a gcc2
12115 builtin and then its argument prototype would still apply. */
12116 char krb5_free_context ();
12120 krb5_free_context ();
12125 rm -f conftest.$ac_objext conftest$ac_exeext
12126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12127 (eval $ac_link) 2>conftest.er1
12129 grep -v '^ *+' conftest.er1 >conftest.err
12131 cat conftest.err >&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); } &&
12134 { ac_try='test -z "$ac_c_werror_flag"
12135 || test ! -s conftest.err'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; } &&
12141 { ac_try='test -s conftest$ac_exeext'
12142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12143 (eval $ac_try) 2>&5
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); }; }; then
12147 ac_cv_search_krb5_free_context="-l$ac_lib"
12150 echo "$as_me: failed program was:" >&5
12151 sed 's/^/| /' conftest.$ac_ext >&5
12154 rm -f conftest.err conftest.$ac_objext \
12155 conftest$ac_exeext conftest.$ac_ext
12158 LIBS=$ac_func_search_save_LIBS
12160 echo "$as_me:$LINENO: result: $ac_cv_search_krb5_free_context" >&5
12161 echo "${ECHO_T}$ac_cv_search_krb5_free_context" >&6
12162 if test "$ac_cv_search_krb5_free_context" != no; then
12163 test "$ac_cv_search_krb5_free_context" = "none required" || LIBS="$ac_cv_search_krb5_free_context $LIBS"
12169 # gssapi_krb5 Only lib needed with MIT K5 v1.2.1, so find it first in
12170 # order to prefer MIT Kerberos. If both MIT & Heimdal
12171 # Kerberos are installed and in the path, this will leave
12172 # some of the libraries above in LIBS unnecessarily, but
12173 # noone would ever do that, right?
12175 # gssapi_krb5 MIT K5 v1.2.2-beta1 -lkrb5
12177 # gssapi Heimdal K 0.3d -lkrb5
12179 echo "$as_me:$LINENO: checking for library containing gss_import_name" >&5
12180 echo $ECHO_N "checking for library containing gss_import_name... $ECHO_C" >&6
12181 if test "${ac_cv_search_gss_import_name+set}" = set; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6
12184 ac_func_search_save_LIBS=$LIBS
12185 ac_cv_search_gss_import_name=no
12186 cat >conftest.$ac_ext <<_ACEOF
12189 cat confdefs.h >>conftest.$ac_ext
12190 cat >>conftest.$ac_ext <<_ACEOF
12191 /* end confdefs.h. */
12193 /* Override any gcc2 internal prototype to avoid an error. */
12197 /* We use char because int might match the return type of a gcc2
12198 builtin and then its argument prototype would still apply. */
12199 char gss_import_name ();
12203 gss_import_name ();
12208 rm -f conftest.$ac_objext conftest$ac_exeext
12209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12210 (eval $ac_link) 2>conftest.er1
12212 grep -v '^ *+' conftest.er1 >conftest.err
12214 cat conftest.err >&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } &&
12217 { ac_try='test -z "$ac_c_werror_flag"
12218 || test ! -s conftest.err'
12219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12220 (eval $ac_try) 2>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }; } &&
12224 { ac_try='test -s conftest$ac_exeext'
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226 (eval $ac_try) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; }; then
12230 ac_cv_search_gss_import_name="none required"
12232 echo "$as_me: failed program was:" >&5
12233 sed 's/^/| /' conftest.$ac_ext >&5
12236 rm -f conftest.err conftest.$ac_objext \
12237 conftest$ac_exeext conftest.$ac_ext
12238 if test "$ac_cv_search_gss_import_name" = no; then
12239 for ac_lib in gssapi_krb5 gssapi; do
12240 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12241 cat >conftest.$ac_ext <<_ACEOF
12244 cat confdefs.h >>conftest.$ac_ext
12245 cat >>conftest.$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12248 /* Override any gcc2 internal prototype to avoid an error. */
12252 /* We use char because int might match the return type of a gcc2
12253 builtin and then its argument prototype would still apply. */
12254 char gss_import_name ();
12258 gss_import_name ();
12263 rm -f conftest.$ac_objext conftest$ac_exeext
12264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12265 (eval $ac_link) 2>conftest.er1
12267 grep -v '^ *+' conftest.er1 >conftest.err
12269 cat conftest.err >&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } &&
12272 { ac_try='test -z "$ac_c_werror_flag"
12273 || test ! -s conftest.err'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; } &&
12279 { ac_try='test -s conftest$ac_exeext'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; }; then
12285 ac_cv_search_gss_import_name="-l$ac_lib"
12288 echo "$as_me: failed program was:" >&5
12289 sed 's/^/| /' conftest.$ac_ext >&5
12292 rm -f conftest.err conftest.$ac_objext \
12293 conftest$ac_exeext conftest.$ac_ext
12296 LIBS=$ac_func_search_save_LIBS
12298 echo "$as_me:$LINENO: result: $ac_cv_search_gss_import_name" >&5
12299 echo "${ECHO_T}$ac_cv_search_gss_import_name" >&6
12300 if test "$ac_cv_search_gss_import_name" != no; then
12301 test "$ac_cv_search_gss_import_name" = "none required" || LIBS="$ac_cv_search_gss_import_name $LIBS"
12312 # Let the confiscator request a specific editor
12314 # Check whether --with-editor or --without-editor was given.
12315 if test "${with_editor+set}" = set; then
12316 withval="$with_editor"
12322 # If --with-editor was supplied with an argument, let it override $EDITOR from
12323 # the user's environment. We need to unset EDITOR here because AC_CHECK_PROGS
12324 # will let the value of EDITOR ride when it is set rather than searching. We
12325 # ignore the --without-editor case since it will be caught below.
12326 if test -n "$EDITOR" && test yes != $with_editor; then
12327 $as_unset EDITOR || test "${EDITOR+set}" != set || { EDITOR=; export EDITOR; }
12330 # Set the default when --with-editor wasn't supplied or when it was supplied
12331 # without an argument.
12332 if test yes = $with_editor; then
12333 with_editor="vim vi emacs nano pico edit"
12336 if echo $with_editor |grep ^/ >/dev/null; then
12337 # If $with_editor is an absolute path, issue a warning if the executable
12338 # doesn't exist or isn't usable, but then trust the user and use it
12340 EDITOR=$with_editor
12341 echo "$as_me:$LINENO: checking for an editor" >&5
12342 echo $ECHO_N "checking for an editor... $ECHO_C" >&6
12343 echo "$as_me:$LINENO: result: $EDITOR" >&5
12344 echo "${ECHO_T}$EDITOR" >&6
12345 if ! test -f $with_editor \
12346 || ! test -x $with_editor; then
12347 # warn the user that they may encounter problems
12348 { echo "$as_me:$LINENO: WARNING: \`$with_editor' is not a path to an executable file" >&5
12349 echo "$as_me: WARNING: \`$with_editor' is not a path to an executable file" >&2;}
12351 elif test no != "${with_editor}"; then
12352 # Search for an editor
12353 for ac_prog in $with_editor
12355 # Extract the first word of "$ac_prog", so it can be a program name with args.
12356 set dummy $ac_prog; ac_word=$2
12357 echo "$as_me:$LINENO: checking for $ac_word" >&5
12358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12359 if test "${ac_cv_prog_EDITOR+set}" = set; then
12360 echo $ECHO_N "(cached) $ECHO_C" >&6
12362 if test -n "$EDITOR"; then
12363 ac_cv_prog_EDITOR="$EDITOR" # Let the user override the test.
12365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12366 for as_dir in $PATH
12369 test -z "$as_dir" && as_dir=.
12370 for ac_exec_ext in '' $ac_executable_extensions; do
12371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12372 ac_cv_prog_EDITOR="$ac_prog"
12373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12381 EDITOR=$ac_cv_prog_EDITOR
12382 if test -n "$EDITOR"; then
12383 echo "$as_me:$LINENO: result: $EDITOR" >&5
12384 echo "${ECHO_T}$EDITOR" >&6
12386 echo "$as_me:$LINENO: result: no" >&5
12387 echo "${ECHO_T}no" >&6
12390 test -n "$EDITOR" && break
12392 test -n "$EDITOR" || EDITOR="no"
12394 if test no = "${EDITOR}"; then
12395 { { echo "$as_me:$LINENO: error:
12396 Failed to find a text file editor. CVS cannot be compiled
12397 without a default log message editor. Searched for
12398 \`$with_editor'. Try \`configure --with-editor'." >&5
12399 echo "$as_me: error:
12400 Failed to find a text file editor. CVS cannot be compiled
12401 without a default log message editor. Searched for
12402 \`$with_editor'. Try \`configure --with-editor'." >&2;}
12403 { (exit 1); exit 1; }; }
12406 { { echo "$as_me:$LINENO: error:
12407 CVS cannot be compiled without a default log message editor.
12408 Try \`configure --with-editor'." >&5
12409 echo "$as_me: error:
12410 CVS cannot be compiled without a default log message editor.
12411 Try \`configure --with-editor'." >&2;}
12412 { (exit 1); exit 1; }; }
12416 cat >>confdefs.h <<_ACEOF
12417 #define EDITOR_DFLT "$EDITOR"
12424 # Check whether --with-tmpdir or --without-tmpdir was given.
12425 if test "${with_tmpdir+set}" = set; then
12426 withval="$with_tmpdir"
12430 echo "$as_me:$LINENO: checking for temporary directory" >&5
12431 echo $ECHO_N "checking for temporary directory... $ECHO_C" >&6
12432 if test -z "$with_tmpdir" || test yes = "$with_tmpdir"; then
12433 for with_tmpdir in /tmp /var/tmp no; do
12434 if test -d "$with_tmpdir" && test -x "$with_tmpdir" \
12435 && test -w "$with_tmpdir" && test -r "$with_tmpdir"; then
12439 if test no = "$with_tmpdir"; then
12440 { echo "$as_me:$LINENO: WARNING: Failed to find usable temporary directory. Using '/tmp'." >&5
12441 echo "$as_me: WARNING: Failed to find usable temporary directory. Using '/tmp'." >&2;}
12444 echo "$as_me:$LINENO: result: $with_tmpdir" >&5
12445 echo "${ECHO_T}$with_tmpdir" >&6
12446 elif ! echo "$with_tmpdir" |grep '^[\\/]'; then
12447 echo "$as_me:$LINENO: result: $with_tmpdir" >&5
12448 echo "${ECHO_T}$with_tmpdir" >&6
12449 { { echo "$as_me:$LINENO: error: --with-tmpdir requires an absolute path." >&5
12450 echo "$as_me: error: --with-tmpdir requires an absolute path." >&2;}
12451 { (exit 1); exit 1; }; }
12452 elif ! test -d "$with_tmpdir" || ! test -x "$with_tmpdir" \
12453 || ! test -w "$with_tmpdir" || ! test -r "$with_tmpdir"; then
12454 echo "$as_me:$LINENO: result: $with_tmpdir" >&5
12455 echo "${ECHO_T}$with_tmpdir" >&6
12456 { echo "$as_me:$LINENO: WARNING: User supplied temporary directory ('$with_tmpdir') does not
12457 exist or lacks sufficient permissions for read/write." >&5
12458 echo "$as_me: WARNING: User supplied temporary directory ('$with_tmpdir') does not
12459 exist or lacks sufficient permissions for read/write." >&2;}
12463 cat >>confdefs.h <<_ACEOF
12464 #define TMPDIR_DFLT "$with_tmpdir"
12472 # Check whether --with-umask or --without-umask was given.
12473 if test "${with_umask+set}" = set; then
12474 withval="$with_umask"
12478 if test -z "$with_umask" || test yes = "$with_umask"; then
12480 elif test no = "$with_umask"; then
12485 cat >>confdefs.h <<_ACEOF
12486 #define UMASK_DFLT $with_umask
12492 # Check whether --with-cvs-admin-group or --without-cvs-admin-group was given.
12493 if test "${with_cvs_admin_group+set}" = set; then
12494 withval="$with_cvs_admin_group"
12497 with_cvs_admin_group=cvsadmin
12500 if test yes = "$with_cvs_admin_group"; then
12501 with_cvs_admin_group=cvsadmin
12503 if test no != "$with_cvs_admin_group"; then
12505 cat >>confdefs.h <<_ACEOF
12506 #define CVS_ADMIN_GROUP "$with_cvs_admin_group"
12512 # Check whether --enable-cvs-ndbm or --disable-cvs-ndbm was given.
12513 if test "${enable_cvs_ndbm+set}" = set; then
12514 enableval="$enable_cvs_ndbm"
12517 enable_cvs_ndbm=yes
12519 if test no != "$enable_cvs_ndbm"; then
12521 cat >>confdefs.h <<\_ACEOF
12534 # Check for options requesting client and server feature. If none are
12535 # given and we have connect(), we want the full client & server arrangement.
12536 # Check whether --enable-client or --disable-client was given.
12537 if test "${enable_client+set}" = set; then
12538 enableval="$enable_client"
12541 if test "$ac_cv_search_connect" != no; then
12545 if test no != "$enable_client"; then
12547 cat >>confdefs.h <<\_ACEOF
12548 #define CLIENT_SUPPORT 1
12553 # Check whether --enable-password-authenticated-client or --disable-password-authenticated-client was given.
12554 if test "${enable_password_authenticated_client+set}" = set; then
12555 enableval="$enable_password_authenticated_client"
12559 if test no != "$enable_password_authenticated_client"; then
12560 if test no != "$enable_client"; then
12562 cat >>confdefs.h <<\_ACEOF
12563 #define AUTH_CLIENT_SUPPORT 1
12567 { echo "$as_me:$LINENO: WARNING: --enable-password-authenticated-client is meaningless with
12568 the CVS client disabled (--disable-client)" >&5
12569 echo "$as_me: WARNING: --enable-password-authenticated-client is meaningless with
12570 the CVS client disabled (--disable-client)" >&2;}
12575 # Check whether --enable-server or --disable-server was given.
12576 if test "${enable_server+set}" = set; then
12577 enableval="$enable_server"
12580 if test "$ac_cv_search_connect" != no; then
12585 if test no != "$enable_server"; then
12587 cat >>confdefs.h <<\_ACEOF
12588 #define SERVER_SUPPORT 1
12592 echo "$as_me:$LINENO: checking for library containing crypt" >&5
12593 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6
12594 if test "${ac_cv_search_crypt+set}" = set; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 ac_func_search_save_LIBS=$LIBS
12598 ac_cv_search_crypt=no
12599 cat >conftest.$ac_ext <<_ACEOF
12602 cat confdefs.h >>conftest.$ac_ext
12603 cat >>conftest.$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12606 /* Override any gcc2 internal prototype to avoid an error. */
12610 /* We use char because int might match the return type of a gcc2
12611 builtin and then its argument prototype would still apply. */
12621 rm -f conftest.$ac_objext conftest$ac_exeext
12622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12623 (eval $ac_link) 2>conftest.er1
12625 grep -v '^ *+' conftest.er1 >conftest.err
12627 cat conftest.err >&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); } &&
12630 { ac_try='test -z "$ac_c_werror_flag"
12631 || test ! -s conftest.err'
12632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633 (eval $ac_try) 2>&5
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); }; } &&
12637 { ac_try='test -s conftest$ac_exeext'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; }; then
12643 ac_cv_search_crypt="none required"
12645 echo "$as_me: failed program was:" >&5
12646 sed 's/^/| /' conftest.$ac_ext >&5
12649 rm -f conftest.err conftest.$ac_objext \
12650 conftest$ac_exeext conftest.$ac_ext
12651 if test "$ac_cv_search_crypt" = no; then
12652 for ac_lib in crypt; do
12653 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12654 cat >conftest.$ac_ext <<_ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12661 /* Override any gcc2 internal prototype to avoid an error. */
12665 /* We use char because int might match the return type of a gcc2
12666 builtin and then its argument prototype would still apply. */
12676 rm -f conftest.$ac_objext conftest$ac_exeext
12677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12678 (eval $ac_link) 2>conftest.er1
12680 grep -v '^ *+' conftest.er1 >conftest.err
12682 cat conftest.err >&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); } &&
12685 { ac_try='test -z "$ac_c_werror_flag"
12686 || test ! -s conftest.err'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; } &&
12692 { ac_try='test -s conftest$ac_exeext'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; }; then
12698 ac_cv_search_crypt="-l$ac_lib"
12701 echo "$as_me: failed program was:" >&5
12702 sed 's/^/| /' conftest.$ac_ext >&5
12705 rm -f conftest.err conftest.$ac_objext \
12706 conftest$ac_exeext conftest.$ac_ext
12709 LIBS=$ac_func_search_save_LIBS
12711 echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
12712 echo "${ECHO_T}$ac_cv_search_crypt" >&6
12713 if test "$ac_cv_search_crypt" != no; then
12714 test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS"
12716 cat >>confdefs.h <<\_ACEOF
12717 #define HAVE_CRYPT 1
12721 cat >>confdefs.h <<\_ACEOF
12722 #define AUTH_SERVER_SUPPORT 1
12727 # Check whether --enable-server-flow-control or --disable-server-flow-control was given.
12728 if test "${enable_server_flow_control+set}" = set; then
12729 enableval="$enable_server_flow_control"
12730 if test yes = $enable_server_flow_control; then
12731 enable_server_flow_control=1M,2M
12734 enable_server_flow_control=1M,2M
12736 if test no != $enable_server_flow_control; then
12737 ccvs_lwm=`expr "$enable_server_flow_control" : '\(.*\),'`
12738 ccvs_hwm=`expr "$enable_server_flow_control" : '.*,\(.*\)'`
12739 ccvs_lwm_E=`expr "$ccvs_lwm" : '[0-9][0-9]*\(.*\)'`
12740 ccvs_lwm=`expr "$ccvs_lwm" : '\([0-9][0-9]*\)'`
12741 test "" != "$ccvs_lwm" || ccvs_lwm_E="?"
12742 case $ccvs_lwm_E in
12743 G) ccvs_lwm="$ccvs_lwm * 1024 * 1024 * 1024";;
12744 M) ccvs_lwm="$ccvs_lwm * 1024 * 1024";;
12745 k) ccvs_lwm="$ccvs_lwm * 1024";;
12747 *) { { echo "$as_me:$LINENO: error: Can't parse argument to --enable-server-flow-control
12748 ('$enable_server_flow_control') as <lwm>,<hwm>" >&5
12749 echo "$as_me: error: Can't parse argument to --enable-server-flow-control
12750 ('$enable_server_flow_control') as <lwm>,<hwm>" >&2;}
12751 { (exit 1); exit 1; }; }
12753 ccvs_hwm_E=`expr "$ccvs_hwm" : '[0-9][0-9]*\(.*\)'`
12754 ccvs_hwm=`expr "$ccvs_hwm" : '\([0-9][0-9]*\).*'`
12755 test "" != "$ccvs_hwm" || ccvs_hwm_E="?"
12756 case $ccvs_hwm_E in
12757 G) ccvs_hwm="$ccvs_hwm * 1024 * 1024 * 1024";;
12758 M) ccvs_hwm="$ccvs_hwm * 1024 * 1024";;
12759 k) ccvs_hwm="$ccvs_hwm * 1024";;
12760 b | '') ccvs_hwm="$ccvs_hwm";;
12761 *) { { echo "$as_me:$LINENO: error: Can't parse argument to --enable-server-flow-control
12762 ('$enable_server_flow_control') as <lwm>,<hwm>" >&5
12763 echo "$as_me: error: Can't parse argument to --enable-server-flow-control
12764 ('$enable_server_flow_control') as <lwm>,<hwm>" >&2;}
12765 { (exit 1); exit 1; }; }
12769 cat >>confdefs.h <<\_ACEOF
12770 #define SERVER_FLOWCONTROL 1
12774 cat >>confdefs.h <<_ACEOF
12775 #define SERVER_LO_WATER ($ccvs_lwm)
12779 cat >>confdefs.h <<_ACEOF
12780 #define SERVER_HI_WATER ($ccvs_hwm)
12783 fi # enable_server_flow_control
12788 # Check whether --enable-case-sensitivity or --disable-case-sensitivity was given.
12789 if test "${enable_case_sensitivity+set}" = set; then
12790 enableval="$enable_case_sensitivity"
12791 case "$enable_case_sensitivity" in
12792 yes | no | auto) ;;
12794 { { echo "$as_me:$LINENO: error: Unrecognized argument to --enable-case-sensitivity: \`$enable_case_sensitivity'. Acceptable values are \`yes', \`no', and \`auto'." >&5
12795 echo "$as_me: error: Unrecognized argument to --enable-case-sensitivity: \`$enable_case_sensitivity'. Acceptable values are \`yes', \`no', and \`auto'." >&2;}
12796 { (exit 1); exit 1; }; }
12800 enable_case_sensitivity=auto
12803 acx_forced=' (forced)'
12804 echo "$as_me:$LINENO: checking for a case sensitive file system" >&5
12805 echo $ECHO_N "checking for a case sensitive file system... $ECHO_C" >&6
12806 if test $enable_case_sensitivity = auto; then
12807 if test "${acx_cv_case_sensitive+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 rm -f ac_TEST_filenames_CASE_sensitive
12811 echo foo >ac_test_filenames_case_sensitive
12812 if test -f ac_TEST_filenames_CASE_sensitive; then
12813 acx_cv_case_sensitive=no
12815 acx_cv_case_sensitive=yes
12817 rm ac_test_filenames_case_sensitive
12821 enable_case_sensitivity=$acx_cv_case_sensitive
12824 echo "$as_me:$LINENO: result: $enable_case_sensitivity$acx_forced" >&5
12825 echo "${ECHO_T}$enable_case_sensitivity$acx_forced" >&6
12826 if test $enable_case_sensitivity = no; then
12828 cat >>confdefs.h <<\_ACEOF
12829 #define FILENAMES_CASE_INSENSITIVE 1
12833 "fncase.$ac_objext" | \
12834 *" fncase.$ac_objext" | \
12835 "fncase.$ac_objext "* | \
12836 *" fncase.$ac_objext "* ) ;;
12837 *) LIBOBJS="$LIBOBJS fncase.$ac_objext" ;;
12845 # Check whether --enable-encryption or --disable-encryption was given.
12846 if test "${enable_encryption+set}" = set; then
12847 enableval="$enable_encryption"
12850 enable_encryption=no
12852 if test "$enable_encryption" = yes; then
12853 if test no != "$with_client" || test no != "$with_server"; then
12855 cat >>confdefs.h <<\_ACEOF
12856 #define ENCRYPTION 1
12860 { echo "$as_me:$LINENO: WARNING: --enable-encryption is meaningless when neither the CVS client
12861 nor the CVS server is enabled (--disable-client and --disable-server)." >&5
12862 echo "$as_me: WARNING: --enable-encryption is meaningless when neither the CVS client
12863 nor the CVS server is enabled (--disable-client and --disable-server)." >&2;}
12870 # Check whether --enable-force-editor or --disable-force-editor was given.
12871 if test "${enable_force_editor+set}" = set; then
12872 enableval="$enable_force_editor"
12875 enable_force_editor=no
12878 if test yes = "$enable_force_editor"; then
12880 cat >>confdefs.h <<\_ACEOF
12881 #define FORCE_USE_EDITOR 1
12889 # Check whether --enable-rootcommit or --disable-rootcommit was given.
12890 if test "${enable_rootcommit+set}" = set; then
12891 enableval="$enable_rootcommit"
12894 enable_rootcommit=no
12896 if test "$enable_rootcommit" = no; then
12898 cat >>confdefs.h <<\_ACEOF
12899 #define CVS_BADROOT 1
12911 echo "$as_me:$LINENO: checking for cygwin32" >&5
12912 echo $ECHO_N "checking for cygwin32... $ECHO_C" >&6
12913 if test "${ccvs_cv_sys_cygwin32+set}" = set; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12916 cat >conftest.$ac_ext <<_ACEOF
12919 cat confdefs.h >>conftest.$ac_ext
12920 cat >>conftest.$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12926 return __CYGWIN32__;
12931 rm -f conftest.$ac_objext
12932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12933 (eval $ac_compile) 2>conftest.er1
12935 grep -v '^ *+' conftest.er1 >conftest.err
12937 cat conftest.err >&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); } &&
12940 { ac_try='test -z "$ac_c_werror_flag"
12941 || test ! -s conftest.err'
12942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12943 (eval $ac_try) 2>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); }; } &&
12947 { ac_try='test -s conftest.$ac_objext'
12948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 (eval $ac_try) 2>&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); }; }; then
12953 ccvs_cv_sys_cygwin32=yes
12955 echo "$as_me: failed program was:" >&5
12956 sed 's/^/| /' conftest.$ac_ext >&5
12958 ccvs_cv_sys_cygwin32=no
12960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12962 echo "$as_me:$LINENO: result: $ccvs_cv_sys_cygwin32" >&5
12963 echo "${ECHO_T}$ccvs_cv_sys_cygwin32" >&6
12964 if test $ccvs_cv_sys_cygwin32 = yes; then
12965 LIBS="$LIBS -ladvapi32"
12968 cat >>confdefs.h <<\_ACEOF
12969 #define UTIME_EXPECTS_WRITABLE 1
12974 cat >>confdefs.h <<\_ACEOF
12975 #define USE_SETMODE_STDOUT 1
12979 cat >>confdefs.h <<\_ACEOF
12980 #define HAVE_SETMODE 1
12985 ac_config_files="$ac_config_files contrib/check_cvs"
12987 ac_config_files="$ac_config_files contrib/clmerge"
12989 ac_config_files="$ac_config_files contrib/cln_hist"
12991 ac_config_files="$ac_config_files contrib/commit_prep"
12993 ac_config_files="$ac_config_files contrib/cvs_acls"
12995 ac_config_files="$ac_config_files contrib/log"
12997 ac_config_files="$ac_config_files contrib/log_accum"
12999 ac_config_files="$ac_config_files contrib/mfpipe"
13001 ac_config_files="$ac_config_files contrib/pvcs2rcs"
13003 ac_config_files="$ac_config_files contrib/rcs2log:contrib/rcs2log.sh"
13005 ac_config_files="$ac_config_files contrib/rcslock"
13007 ac_config_files="$ac_config_files contrib/sccs2rcs"
13009 ac_config_files="$ac_config_files doc/mkman"
13011 ac_config_files="$ac_config_files src/cvsbug"
13013 ac_config_files="$ac_config_files windows-NT/fix-msvc-mak:windows-NT/fix-msvc-mak-head.pl:windows-NT/fix-msvc-mak.pl"
13016 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"
13019 cat >confcache <<\_ACEOF
13020 # This file is a shell script that caches the results of configure
13021 # tests run on this system so they can be shared between configure
13022 # scripts and configure runs, see configure's option --config-cache.
13023 # It is not useful on other systems. If it contains results you don't
13024 # want to keep, you may remove or edit it.
13026 # config.status only pays attention to the cache file if you give it
13027 # the --recheck option to rerun configure.
13029 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13030 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13031 # following values.
13035 # The following way of writing the cache mishandles newlines in values,
13036 # but we know of no workaround that is simple, portable, and efficient.
13037 # So, don't put newlines in cache variables' values.
13038 # Ultrix sh set writes to stderr and can't be redirected directly,
13039 # and sets the high bit in the cache file unless we assign to the vars.
13042 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13044 # `set' does not quote correctly, so add quotes (double-quote
13045 # substitution turns \\\\ into \\, and sed turns \\ into \).
13048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13051 # `set' quotes correctly as required by POSIX, so do not add quotes.
13053 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13060 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13062 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13064 if diff $cache_file confcache >/dev/null 2>&1; then :; else
13065 if test -w $cache_file; then
13066 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13067 cat confcache >$cache_file
13069 echo "not updating unwritable cache $cache_file"
13074 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13075 # Let make expand exec_prefix.
13076 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13078 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13079 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13080 # trailing colons and then remove the whole line if VPATH becomes empty
13081 # (actually we leave an empty line to preserve line numbers).
13082 if test "x$srcdir" = x.; then
13083 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13084 s/:*\$(srcdir):*/:/;
13085 s/:*\${srcdir}:*/:/;
13087 s/^\([^=]*=[ ]*\):*/\1/;
13093 DEFS=-DHAVE_CONFIG_H
13097 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13098 # 1. Remove the extension, and $U if already installed.
13099 ac_i=`echo "$ac_i" |
13100 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13102 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
13103 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
13105 LIBOBJS=$ac_libobjs
13107 LTLIBOBJS=$ac_ltlibobjs
13110 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13111 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13112 Usually this means the macro was only invoked conditionally." >&5
13113 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13114 Usually this means the macro was only invoked conditionally." >&2;}
13115 { (exit 1); exit 1; }; }
13117 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13118 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13119 Usually this means the macro was only invoked conditionally." >&5
13120 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13121 Usually this means the macro was only invoked conditionally." >&2;}
13122 { (exit 1); exit 1; }; }
13124 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13125 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13126 Usually this means the macro was only invoked conditionally." >&5
13127 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13128 Usually this means the macro was only invoked conditionally." >&2;}
13129 { (exit 1); exit 1; }; }
13131 if test -z "${MAKE_TARGETS_IN_VPATH_TRUE}" && test -z "${MAKE_TARGETS_IN_VPATH_FALSE}"; then
13132 { { echo "$as_me:$LINENO: error: conditional \"MAKE_TARGETS_IN_VPATH\" was never defined.
13133 Usually this means the macro was only invoked conditionally." >&5
13134 echo "$as_me: error: conditional \"MAKE_TARGETS_IN_VPATH\" was never defined.
13135 Usually this means the macro was only invoked conditionally." >&2;}
13136 { (exit 1); exit 1; }; }
13139 : ${CONFIG_STATUS=./config.status}
13140 ac_clean_files_save=$ac_clean_files
13141 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13142 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13143 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13144 cat >$CONFIG_STATUS <<_ACEOF
13146 # Generated by $as_me.
13147 # Run this file to recreate the current configuration.
13148 # Compiler output produced by configure, useful for debugging
13149 # configure, is in config.log if it exists.
13152 ac_cs_recheck=false
13154 SHELL=\${CONFIG_SHELL-$SHELL}
13157 cat >>$CONFIG_STATUS <<\_ACEOF
13158 ## --------------------- ##
13159 ## M4sh Initialization. ##
13160 ## --------------------- ##
13162 # Be Bourne compatible
13163 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13166 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13167 # is contrary to our usage. Disable this feature.
13168 alias -g '${1+"$@"}'='"$@"'
13169 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
13172 DUALCASE=1; export DUALCASE # for MKS sh
13174 # Support unset when possible.
13175 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13182 # Work around bugs in pre-3.0 UWIN ksh.
13183 $as_unset ENV MAIL MAILPATH
13190 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13191 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13192 LC_TELEPHONE LC_TIME
13194 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13195 eval $as_var=C; export $as_var
13201 # Required to use basename.
13202 if expr a : '\(a\)' >/dev/null 2>&1; then
13208 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
13209 as_basename=basename
13215 # Name of the executable.
13216 as_me=`$as_basename "$0" ||
13217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13218 X"$0" : 'X\(//\)$' \| \
13219 X"$0" : 'X\(/\)$' \| \
13220 . : '\(.\)' 2>/dev/null ||
13222 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13223 /^X\/\(\/\/\)$/{ s//\1/; q; }
13224 /^X\/\(\/\).*/{ s//\1/; q; }
13228 # PATH needs CR, and LINENO needs CR and PATH.
13229 # Avoid depending upon Character Ranges.
13230 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13231 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13232 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13233 as_cr_digits='0123456789'
13234 as_cr_alnum=$as_cr_Letters$as_cr_digits
13236 # The user is always right.
13237 if test "${PATH_SEPARATOR+set}" != set; then
13238 echo "#! /bin/sh" >conf$$.sh
13239 echo "exit 0" >>conf$$.sh
13241 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13250 as_lineno_1=$LINENO
13251 as_lineno_2=$LINENO
13252 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13253 test "x$as_lineno_1" != "x$as_lineno_2" &&
13254 test "x$as_lineno_3" = "x$as_lineno_2" || {
13255 # Find who we are. Look in the path if we contain no path at all
13258 *[\\/]* ) as_myself=$0 ;;
13259 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13260 for as_dir in $PATH
13263 test -z "$as_dir" && as_dir=.
13264 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13269 # We did not find ourselves, most probably we were run as `sh COMMAND'
13270 # in which case we are not to be found in the path.
13271 if test "x$as_myself" = x; then
13274 if test ! -f "$as_myself"; then
13275 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13276 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13277 { (exit 1); exit 1; }; }
13279 case $CONFIG_SHELL in
13281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13282 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
13285 test -z "$as_dir" && as_dir=.
13286 for as_base in sh bash ksh sh5; do
13289 if ("$as_dir/$as_base" -c '
13290 as_lineno_1=$LINENO
13291 as_lineno_2=$LINENO
13292 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13293 test "x$as_lineno_1" != "x$as_lineno_2" &&
13294 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
13295 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
13296 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
13297 CONFIG_SHELL=$as_dir/$as_base
13298 export CONFIG_SHELL
13299 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13307 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13308 # uniformly replaced by the line number. The first 'sed' inserts a
13309 # line-number line before each line; the second 'sed' does the real
13310 # work. The second script uses 'N' to pair each line-number line
13311 # with the numbered line, and appends trailing '-' during
13312 # substitution so that $LINENO is not a special case at line end.
13313 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13314 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13315 sed '=' <$as_myself |
13320 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13323 s,^['$as_cr_digits']*\n,,
13324 ' >$as_me.lineno &&
13325 chmod +x $as_me.lineno ||
13326 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13327 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13328 { (exit 1); exit 1; }; }
13330 # Don't try to exec as it changes $[0], causing all sort of problems
13331 # (the dirname of $[0] is not the place where we might find the
13332 # original and so on. Autoconf is especially sensible to this).
13334 # Exit status is that of the last command.
13339 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13340 *c*,-n*) ECHO_N= ECHO_C='
13342 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
13343 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
13346 if expr a : '\(a\)' >/dev/null 2>&1; then
13352 rm -f conf$$ conf$$.exe conf$$.file
13354 if ln -s conf$$.file conf$$ 2>/dev/null; then
13355 # We could just check for DJGPP; but this test a) works b) is more generic
13356 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13357 if test -f conf$$.exe; then
13358 # Don't use ln at all; we don't have any links
13363 elif ln conf$$.file conf$$ 2>/dev/null; then
13368 rm -f conf$$ conf$$.exe conf$$.file
13370 if mkdir -p . 2>/dev/null; then
13373 test -d ./-p && rmdir ./-p
13377 as_executable_p="test -f"
13379 # Sed expression to map a string onto a valid CPP name.
13380 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13382 # Sed expression to map a string onto a valid variable name.
13383 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13387 # We need space, tab and new line, in precisely that order.
13397 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13398 # report actual input values of CONFIG_FILES etc. instead of their
13399 # values after options handling. Logging --version etc. is OK.
13403 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13404 ## Running $as_me. ##
13409 This file was extended by Concurrent Versions System (CVS) $as_me 1.11.17, which was
13410 generated by GNU Autoconf 2.58. Invocation command line was
13412 CONFIG_FILES = $CONFIG_FILES
13413 CONFIG_HEADERS = $CONFIG_HEADERS
13414 CONFIG_LINKS = $CONFIG_LINKS
13415 CONFIG_COMMANDS = $CONFIG_COMMANDS
13419 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13423 # Files that config.status was made for.
13424 if test -n "$ac_config_files"; then
13425 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13428 if test -n "$ac_config_headers"; then
13429 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13432 if test -n "$ac_config_links"; then
13433 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13436 if test -n "$ac_config_commands"; then
13437 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13440 cat >>$CONFIG_STATUS <<\_ACEOF
13443 \`$as_me' instantiates files from templates according to the
13444 current configuration.
13446 Usage: $0 [OPTIONS] [FILE]...
13448 -h, --help print this help, then exit
13449 -V, --version print version number, then exit
13450 -q, --quiet do not print progress messages
13451 -d, --debug don't remove temporary files
13452 --recheck update $as_me by reconfiguring in the same conditions
13453 --file=FILE[:TEMPLATE]
13454 instantiate the configuration file FILE
13455 --header=FILE[:TEMPLATE]
13456 instantiate the configuration header FILE
13458 Configuration files:
13461 Configuration headers:
13464 Configuration links:
13467 Configuration commands:
13470 Report bugs to <bug-autoconf@gnu.org>."
13473 cat >>$CONFIG_STATUS <<_ACEOF
13475 Concurrent Versions System (CVS) config.status 1.11.17
13476 configured by $0, generated by GNU Autoconf 2.58,
13477 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13479 Copyright (C) 2003 Free Software Foundation, Inc.
13480 This config.status script is free software; the Free Software Foundation
13481 gives unlimited permission to copy, distribute and modify it."
13486 cat >>$CONFIG_STATUS <<\_ACEOF
13487 # If no file are specified by the user, then we need to provide default
13488 # value. By we need to know if files were specified by the user.
13494 ac_option=`expr "x$1" : 'x\([^=]*\)='`
13495 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
13503 *) # This is not an option, so the user has probably given explicit
13506 ac_need_defaults=false;;
13510 # Handling of the options.
13512 cat >>$CONFIG_STATUS <<\_ACEOF
13513 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13515 --version | --vers* | -V )
13516 echo "$ac_cs_version"; exit 0 ;;
13518 # Conflict between --help and --header
13519 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13520 Try \`$0 --help' for more information." >&5
13521 echo "$as_me: error: ambiguous option: $1
13522 Try \`$0 --help' for more information." >&2;}
13523 { (exit 1); exit 1; }; };;
13524 --help | --hel | -h )
13525 echo "$ac_cs_usage"; exit 0 ;;
13526 --debug | --d* | -d )
13528 --file | --fil | --fi | --f )
13530 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13531 ac_need_defaults=false;;
13532 --header | --heade | --head | --hea )
13534 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13535 ac_need_defaults=false;;
13536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13537 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13540 # This is an error.
13541 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13542 Try \`$0 --help' for more information." >&5
13543 echo "$as_me: error: unrecognized option: $1
13544 Try \`$0 --help' for more information." >&2;}
13545 { (exit 1); exit 1; }; } ;;
13547 *) ac_config_targets="$ac_config_targets $1" ;;
13553 ac_configure_extra_args=
13555 if $ac_cs_silent; then
13557 ac_configure_extra_args="$ac_configure_extra_args --silent"
13561 cat >>$CONFIG_STATUS <<_ACEOF
13562 if \$ac_cs_recheck; then
13563 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13564 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13569 cat >>$CONFIG_STATUS <<_ACEOF
13571 # INIT-COMMANDS section.
13574 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13580 cat >>$CONFIG_STATUS <<\_ACEOF
13581 for ac_config_target in $ac_config_targets
13583 case "$ac_config_target" in
13584 # Handling of arguments.
13585 "contrib/check_cvs" ) CONFIG_FILES="$CONFIG_FILES contrib/check_cvs" ;;
13586 "contrib/clmerge" ) CONFIG_FILES="$CONFIG_FILES contrib/clmerge" ;;
13587 "contrib/cln_hist" ) CONFIG_FILES="$CONFIG_FILES contrib/cln_hist" ;;
13588 "contrib/commit_prep" ) CONFIG_FILES="$CONFIG_FILES contrib/commit_prep" ;;
13589 "contrib/cvs_acls" ) CONFIG_FILES="$CONFIG_FILES contrib/cvs_acls" ;;
13590 "contrib/log" ) CONFIG_FILES="$CONFIG_FILES contrib/log" ;;
13591 "contrib/log_accum" ) CONFIG_FILES="$CONFIG_FILES contrib/log_accum" ;;
13592 "contrib/mfpipe" ) CONFIG_FILES="$CONFIG_FILES contrib/mfpipe" ;;
13593 "contrib/pvcs2rcs" ) CONFIG_FILES="$CONFIG_FILES contrib/pvcs2rcs" ;;
13594 "contrib/rcs2log" ) CONFIG_FILES="$CONFIG_FILES contrib/rcs2log:contrib/rcs2log.sh" ;;
13595 "contrib/rcslock" ) CONFIG_FILES="$CONFIG_FILES contrib/rcslock" ;;
13596 "contrib/sccs2rcs" ) CONFIG_FILES="$CONFIG_FILES contrib/sccs2rcs" ;;
13597 "doc/mkman" ) CONFIG_FILES="$CONFIG_FILES doc/mkman" ;;
13598 "src/cvsbug" ) CONFIG_FILES="$CONFIG_FILES src/cvsbug" ;;
13599 "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" ;;
13600 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13601 "contrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
13602 "cvs.spec" ) CONFIG_FILES="$CONFIG_FILES cvs.spec" ;;
13603 "diff/Makefile" ) CONFIG_FILES="$CONFIG_FILES diff/Makefile" ;;
13604 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13605 "emx/Makefile" ) CONFIG_FILES="$CONFIG_FILES emx/Makefile" ;;
13606 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
13607 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13608 "os2/Makefile" ) CONFIG_FILES="$CONFIG_FILES os2/Makefile" ;;
13609 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13610 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
13611 "vms/Makefile" ) CONFIG_FILES="$CONFIG_FILES vms/Makefile" ;;
13612 "windows-NT/Makefile" ) CONFIG_FILES="$CONFIG_FILES windows-NT/Makefile" ;;
13613 "windows-NT/SCC/Makefile" ) CONFIG_FILES="$CONFIG_FILES windows-NT/SCC/Makefile" ;;
13614 "zlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES zlib/Makefile" ;;
13615 "lib/fnmatch.h" ) CONFIG_LINKS="$CONFIG_LINKS lib/fnmatch.h:lib/fnmatch.h.in" ;;
13616 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13617 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13618 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13619 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13620 { (exit 1); exit 1; }; };;
13624 # If the user did not use the arguments to specify the items to instantiate,
13625 # then the envvar interface is used. Set only those that are not.
13626 # We use the long form for the default assignment because of an extremely
13627 # bizarre bug on SunOS 4.1.3.
13628 if $ac_need_defaults; then
13629 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13630 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13631 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
13632 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13635 # Have a temporary directory for convenience. Make it in the build tree
13636 # simply because there is no reason to put it here, and in addition,
13637 # creating and moving files from /tmp can sometimes cause problems.
13638 # Create a temporary directory, and hook for its removal unless debugging.
13641 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13642 trap '{ (exit 1); exit 1; }' 1 2 13 15
13645 # Create a (secure) tmp directory for tmp files.
13648 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13649 test -n "$tmp" && test -d "$tmp"
13652 tmp=./confstat$$-$RANDOM
13653 (umask 077 && mkdir $tmp)
13656 echo "$me: cannot create a temporary directory in ." >&2
13657 { (exit 1); exit 1; }
13662 cat >>$CONFIG_STATUS <<_ACEOF
13665 # CONFIG_FILES section.
13668 # No need to generate the scripts if there are no CONFIG_FILES.
13669 # This happens for instance when ./config.status config.h
13670 if test -n "\$CONFIG_FILES"; then
13671 # Protect against being on the right side of a sed subst in config.status.
13672 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13673 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13674 s,@SHELL@,$SHELL,;t t
13675 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13676 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13677 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13678 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13679 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13680 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13681 s,@exec_prefix@,$exec_prefix,;t t
13682 s,@prefix@,$prefix,;t t
13683 s,@program_transform_name@,$program_transform_name,;t t
13684 s,@bindir@,$bindir,;t t
13685 s,@sbindir@,$sbindir,;t t
13686 s,@libexecdir@,$libexecdir,;t t
13687 s,@datadir@,$datadir,;t t
13688 s,@sysconfdir@,$sysconfdir,;t t
13689 s,@sharedstatedir@,$sharedstatedir,;t t
13690 s,@localstatedir@,$localstatedir,;t t
13691 s,@libdir@,$libdir,;t t
13692 s,@includedir@,$includedir,;t t
13693 s,@oldincludedir@,$oldincludedir,;t t
13694 s,@infodir@,$infodir,;t t
13695 s,@mandir@,$mandir,;t t
13696 s,@build_alias@,$build_alias,;t t
13697 s,@host_alias@,$host_alias,;t t
13698 s,@target_alias@,$target_alias,;t t
13699 s,@DEFS@,$DEFS,;t t
13700 s,@ECHO_C@,$ECHO_C,;t t
13701 s,@ECHO_N@,$ECHO_N,;t t
13702 s,@ECHO_T@,$ECHO_T,;t t
13703 s,@LIBS@,$LIBS,;t t
13704 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13705 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13706 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13707 s,@CYGPATH_W@,$CYGPATH_W,;t t
13708 s,@PACKAGE@,$PACKAGE,;t t
13709 s,@VERSION@,$VERSION,;t t
13710 s,@ACLOCAL@,$ACLOCAL,;t t
13711 s,@AUTOCONF@,$AUTOCONF,;t t
13712 s,@AUTOMAKE@,$AUTOMAKE,;t t
13713 s,@AUTOHEADER@,$AUTOHEADER,;t t
13714 s,@MAKEINFO@,$MAKEINFO,;t t
13715 s,@AMTAR@,$AMTAR,;t t
13716 s,@install_sh@,$install_sh,;t t
13717 s,@STRIP@,$STRIP,;t t
13718 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13719 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13721 s,@SET_MAKE@,$SET_MAKE,;t t
13722 s,@am__leading_dot@,$am__leading_dot,;t t
13723 s,@ac_prefix_program@,$ac_prefix_program,;t t
13724 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13725 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13726 s,@MAINT@,$MAINT,;t t
13728 s,@CFLAGS@,$CFLAGS,;t t
13729 s,@LDFLAGS@,$LDFLAGS,;t t
13730 s,@CPPFLAGS@,$CPPFLAGS,;t t
13731 s,@ac_ct_CC@,$ac_ct_CC,;t t
13732 s,@EXEEXT@,$EXEEXT,;t t
13733 s,@OBJEXT@,$OBJEXT,;t t
13734 s,@DEPDIR@,$DEPDIR,;t t
13735 s,@am__include@,$am__include,;t t
13736 s,@am__quote@,$am__quote,;t t
13737 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13738 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13739 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13740 s,@CCDEPMODE@,$CCDEPMODE,;t t
13741 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13742 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13744 s,@EGREP@,$EGREP,;t t
13745 s,@RANLIB@,$RANLIB,;t t
13746 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13747 s,@YACC@,$YACC,;t t
13748 s,@LN_S@,$LN_S,;t t
13749 s,@PERL@,$PERL,;t t
13751 s,@MKTEMP@,$MKTEMP,;t t
13752 s,@SENDMAIL@,$SENDMAIL,;t t
13754 s,@ROFF@,$ROFF,;t t
13755 s,@PS2PDF@,$PS2PDF,;t t
13756 s,@TEXI2DVI@,$TEXI2DVI,;t t
13757 s,@MAKE_TARGETS_IN_VPATH_TRUE@,$MAKE_TARGETS_IN_VPATH_TRUE,;t t
13758 s,@MAKE_TARGETS_IN_VPATH_FALSE@,$MAKE_TARGETS_IN_VPATH_FALSE,;t t
13759 s,@LIBOBJS@,$LIBOBJS,;t t
13760 s,@KRB4@,$KRB4,;t t
13761 s,@includeopt@,$includeopt,;t t
13762 s,@EDITOR@,$EDITOR,;t t
13763 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13764 /@MKTEMP_SH_FUNCTION@/r $MKTEMP_SH_FUNCTION
13765 s,@MKTEMP_SH_FUNCTION@,,;t t
13770 cat >>$CONFIG_STATUS <<\_ACEOF
13771 # Split the substitutions into bite-sized pieces for seds with
13772 # small command number limits, like on Digital OSF/1 and HP-UX.
13773 ac_max_sed_lines=48
13774 ac_sed_frag=1 # Number of current file.
13775 ac_beg=1 # First line for current file.
13776 ac_end=$ac_max_sed_lines # Line after last line for current file.
13779 while $ac_more_lines; do
13780 if test $ac_beg -gt 1; then
13781 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13783 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13785 if test ! -s $tmp/subs.frag; then
13786 ac_more_lines=false
13788 # The purpose of the label and of the branching condition is to
13789 # speed up the sed processing (if there are no `@' at all, there
13790 # is no need to browse any of the substitutions).
13791 # These are the two extra sed commands mentioned above.
13793 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13794 if test -z "$ac_sed_cmds"; then
13795 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13797 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13799 ac_sed_frag=`expr $ac_sed_frag + 1`
13801 ac_end=`expr $ac_end + $ac_max_sed_lines`
13804 if test -z "$ac_sed_cmds"; then
13807 fi # test -n "$CONFIG_FILES"
13810 cat >>$CONFIG_STATUS <<\_ACEOF
13811 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13812 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13814 - | *:- | *:-:* ) # input from stdin
13816 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13817 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13818 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13819 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13820 * ) ac_file_in=$ac_file.in ;;
13823 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13824 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13825 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13826 X"$ac_file" : 'X\(//\)[^/]' \| \
13827 X"$ac_file" : 'X\(//\)$' \| \
13828 X"$ac_file" : 'X\(/\)' \| \
13829 . : '\(.\)' 2>/dev/null ||
13831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13832 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13833 /^X\(\/\/\)$/{ s//\1/; q; }
13834 /^X\(\/\).*/{ s//\1/; q; }
13836 { if $as_mkdir_p; then
13841 while test ! -d "$as_dir"; do
13842 as_dirs="$as_dir $as_dirs"
13843 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13844 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13845 X"$as_dir" : 'X\(//\)[^/]' \| \
13846 X"$as_dir" : 'X\(//\)$' \| \
13847 X"$as_dir" : 'X\(/\)' \| \
13848 . : '\(.\)' 2>/dev/null ||
13850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13851 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13852 /^X\(\/\/\)$/{ s//\1/; q; }
13853 /^X\(\/\).*/{ s//\1/; q; }
13856 test ! -n "$as_dirs" || mkdir $as_dirs
13857 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13858 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13859 { (exit 1); exit 1; }; }; }
13863 if test "$ac_dir" != .; then
13864 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13865 # A "../" for each directory in $ac_dir_suffix.
13866 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13868 ac_dir_suffix= ac_top_builddir=
13872 .) # No --srcdir option. We are building in place.
13874 if test -z "$ac_top_builddir"; then
13877 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13879 [\\/]* | ?:[\\/]* ) # Absolute path.
13880 ac_srcdir=$srcdir$ac_dir_suffix;
13881 ac_top_srcdir=$srcdir ;;
13882 *) # Relative path.
13883 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13884 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13887 .) ac_abs_builddir=$ac_builddir;;
13889 case $ac_builddir in
13890 .) ac_abs_builddir="$ac_dir";;
13891 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
13892 *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
13896 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13898 case ${ac_top_builddir}. in
13899 .) ac_abs_top_builddir="$ac_dir";;
13900 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13901 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
13905 .) ac_abs_srcdir=$ac_srcdir;;
13908 .) ac_abs_srcdir="$ac_dir";;
13909 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13910 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
13914 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13916 case $ac_top_srcdir in
13917 .) ac_abs_top_srcdir="$ac_dir";;
13918 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13919 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
13925 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13926 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13929 if test x"$ac_file" != x-; then
13930 { echo "$as_me:$LINENO: creating $ac_file" >&5
13931 echo "$as_me: creating $ac_file" >&6;}
13934 # Let's still pretend it is `configure' which instantiates (i.e., don't
13935 # use $as_me), people would be surprised to read:
13936 # /* config.h. Generated by config.status. */
13937 if test x"$ac_file" = x-; then
13940 configure_input="$ac_file. "
13942 configure_input=$configure_input"Generated from `echo $ac_file_in |
13943 sed 's,.*/,,'` by configure."
13945 # First look for the input files in the build tree, otherwise in the
13947 ac_file_inputs=`IFS=:
13948 for f in $ac_file_in; do
13950 -) echo $tmp/stdin ;;
13952 # Absolute (can't be DOS-style, as IFS=:)
13953 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13954 echo "$as_me: error: cannot find input file: $f" >&2;}
13955 { (exit 1); exit 1; }; }
13958 if test -f "$f"; then
13961 elif test -f "$srcdir/$f"; then
13966 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13967 echo "$as_me: error: cannot find input file: $f" >&2;}
13968 { (exit 1); exit 1; }; }
13971 done` || { (exit 1); exit 1; }
13973 cat >>$CONFIG_STATUS <<_ACEOF
13977 cat >>$CONFIG_STATUS <<\_ACEOF
13979 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13980 s,@configure_input@,$configure_input,;t t
13981 s,@srcdir@,$ac_srcdir,;t t
13982 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13983 s,@top_srcdir@,$ac_top_srcdir,;t t
13984 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13985 s,@builddir@,$ac_builddir,;t t
13986 s,@abs_builddir@,$ac_abs_builddir,;t t
13987 s,@top_builddir@,$ac_top_builddir,;t t
13988 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13989 s,@INSTALL@,$ac_INSTALL,;t t
13990 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13992 if test x"$ac_file" != x-; then
13993 mv $tmp/out $ac_file
13999 # Run the commands associated with the file.
14001 contrib/check_cvs ) chmod +x contrib/check_cvs ;;
14002 contrib/clmerge ) chmod +x contrib/clmerge ;;
14003 contrib/cln_hist ) chmod +x contrib/cln_hist ;;
14004 contrib/commit_prep ) chmod +x contrib/commit_prep ;;
14005 contrib/cvs_acls ) chmod +x contrib/cvs_acls ;;
14006 contrib/log ) chmod +x contrib/log ;;
14007 contrib/log_accum ) chmod +x contrib/log_accum ;;
14008 contrib/mfpipe ) chmod +x contrib/mfpipe ;;
14009 contrib/pvcs2rcs ) chmod +x contrib/pvcs2rcs ;;
14010 contrib/rcs2log ) chmod +x contrib/rcs2log ;;
14011 contrib/rcslock ) chmod +x contrib/rcslock ;;
14012 contrib/sccs2rcs ) chmod +x contrib/sccs2rcs ;;
14013 doc/mkman ) chmod +x doc/mkman ;;
14014 src/cvsbug ) chmod +x src/cvsbug ;;
14015 windows-NT/fix-msvc-mak ) chmod +x windows-NT/fix-msvc-mak ;;
14019 cat >>$CONFIG_STATUS <<\_ACEOF
14022 # CONFIG_HEADER section.
14025 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14026 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14028 # ac_d sets the value in "#define NAME VALUE" lines.
14029 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14030 ac_dB='[ ].*$,\1#\2'
14033 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14034 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14035 ac_uB='$,\1#\2define\3'
14039 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
14040 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14042 - | *:- | *:-:* ) # input from stdin
14044 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14045 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14046 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14047 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14048 * ) ac_file_in=$ac_file.in ;;
14051 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
14052 echo "$as_me: creating $ac_file" >&6;}
14054 # First look for the input files in the build tree, otherwise in the
14056 ac_file_inputs=`IFS=:
14057 for f in $ac_file_in; do
14059 -) echo $tmp/stdin ;;
14061 # Absolute (can't be DOS-style, as IFS=:)
14062 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14063 echo "$as_me: error: cannot find input file: $f" >&2;}
14064 { (exit 1); exit 1; }; }
14065 # Do quote $f, to prevent DOS paths from being IFS'd.
14068 if test -f "$f"; then
14071 elif test -f "$srcdir/$f"; then
14076 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14077 echo "$as_me: error: cannot find input file: $f" >&2;}
14078 { (exit 1); exit 1; }; }
14081 done` || { (exit 1); exit 1; }
14082 # Remove the trailing spaces.
14083 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14087 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14088 # `conftest.undefs', that substitutes the proper values into
14089 # config.h.in to produce config.h. The first handles `#define'
14090 # templates, and the second `#undef' templates.
14091 # And first: Protect against being on the right side of a sed subst in
14092 # config.status. Protect against being in an unquoted here document
14093 # in config.status.
14094 rm -f conftest.defines conftest.undefs
14095 # Using a here document instead of a string reduces the quoting nightmare.
14096 # Putting comments in sed scripts is not portable.
14098 # `end' is used to avoid that the second main sed command (meant for
14099 # 0-ary CPP macros) applies to n-ary macro definitions.
14100 # See the Autoconf documentation for `clear'.
14101 cat >confdef2sed.sed <<\_ACEOF
14106 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14108 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14111 # If some macros were called several times there might be several times
14112 # the same #defines, which is useless. Nevertheless, we may not want to
14113 # sort them, since we want the *last* AC-DEFINE to be honored.
14114 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14115 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14116 rm -f confdef2sed.sed
14118 # This sed command replaces #undef with comments. This is necessary, for
14119 # example, in the case of _POSIX_SOURCE, which is predefined and required
14120 # on some systems where configure will not decide to define it.
14121 cat >>conftest.undefs <<\_ACEOF
14122 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14125 # Break up conftest.defines because some shells have a limit on the size
14126 # of here documents, and old seds have small limits too (100 cmds).
14127 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14128 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14129 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14130 echo ' :' >>$CONFIG_STATUS
14131 rm -f conftest.tail
14132 while grep . conftest.defines >/dev/null
14134 # Write a limited-size here document to $tmp/defines.sed.
14135 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14136 # Speed up: don't consider the non `#define' lines.
14137 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14138 # Work around the forget-to-reset-the-flag bug.
14139 echo 't clr' >>$CONFIG_STATUS
14140 echo ': clr' >>$CONFIG_STATUS
14141 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
14143 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14145 mv $tmp/out $tmp/in
14147 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
14148 rm -f conftest.defines
14149 mv conftest.tail conftest.defines
14151 rm -f conftest.defines
14152 echo ' fi # grep' >>$CONFIG_STATUS
14153 echo >>$CONFIG_STATUS
14155 # Break up conftest.undefs because some shells have a limit on the size
14156 # of here documents, and old seds have small limits too (100 cmds).
14157 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14158 rm -f conftest.tail
14159 while grep . conftest.undefs >/dev/null
14161 # Write a limited-size here document to $tmp/undefs.sed.
14162 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14163 # Speed up: don't consider the non `#undef'
14164 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14165 # Work around the forget-to-reset-the-flag bug.
14166 echo 't clr' >>$CONFIG_STATUS
14167 echo ': clr' >>$CONFIG_STATUS
14168 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14170 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14172 mv $tmp/out $tmp/in
14174 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14175 rm -f conftest.undefs
14176 mv conftest.tail conftest.undefs
14178 rm -f conftest.undefs
14180 cat >>$CONFIG_STATUS <<\_ACEOF
14181 # Let's still pretend it is `configure' which instantiates (i.e., don't
14182 # use $as_me), people would be surprised to read:
14183 # /* config.h. Generated by config.status. */
14184 if test x"$ac_file" = x-; then
14185 echo "/* Generated by configure. */" >$tmp/config.h
14187 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14189 cat $tmp/in >>$tmp/config.h
14191 if test x"$ac_file" != x-; then
14192 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
14193 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14194 echo "$as_me: $ac_file is unchanged" >&6;}
14196 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14197 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14198 X"$ac_file" : 'X\(//\)[^/]' \| \
14199 X"$ac_file" : 'X\(//\)$' \| \
14200 X"$ac_file" : 'X\(/\)' \| \
14201 . : '\(.\)' 2>/dev/null ||
14203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14204 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14205 /^X\(\/\/\)$/{ s//\1/; q; }
14206 /^X\(\/\).*/{ s//\1/; q; }
14208 { if $as_mkdir_p; then
14213 while test ! -d "$as_dir"; do
14214 as_dirs="$as_dir $as_dirs"
14215 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14216 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14217 X"$as_dir" : 'X\(//\)[^/]' \| \
14218 X"$as_dir" : 'X\(//\)$' \| \
14219 X"$as_dir" : 'X\(/\)' \| \
14220 . : '\(.\)' 2>/dev/null ||
14222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14224 /^X\(\/\/\)$/{ s//\1/; q; }
14225 /^X\(\/\).*/{ s//\1/; q; }
14228 test ! -n "$as_dirs" || mkdir $as_dirs
14229 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14230 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14231 { (exit 1); exit 1; }; }; }
14234 mv $tmp/config.h $ac_file
14238 rm -f $tmp/config.h
14240 # Compute $ac_file's index in $config_headers.
14242 for _am_header in $config_headers :; do
14243 case $_am_header in
14244 $ac_file | $ac_file:* )
14247 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14250 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14251 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14252 X$ac_file : 'X\(//\)[^/]' \| \
14253 X$ac_file : 'X\(//\)$' \| \
14254 X$ac_file : 'X\(/\)' \| \
14255 . : '\(.\)' 2>/dev/null ||
14257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14259 /^X\(\/\/\)$/{ s//\1/; q; }
14260 /^X\(\/\).*/{ s//\1/; q; }
14261 s/.*/./; q'`/stamp-h$_am_stamp_count
14264 cat >>$CONFIG_STATUS <<\_ACEOF
14267 # CONFIG_LINKS section.
14270 for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
14271 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
14272 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
14274 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
14275 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
14277 if test ! -r $srcdir/$ac_source; then
14278 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
14279 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
14280 { (exit 1); exit 1; }; }
14284 # Make relative symlinks.
14285 ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
14286 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14287 X"$ac_dest" : 'X\(//\)[^/]' \| \
14288 X"$ac_dest" : 'X\(//\)$' \| \
14289 X"$ac_dest" : 'X\(/\)' \| \
14290 . : '\(.\)' 2>/dev/null ||
14292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14293 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14294 /^X\(\/\/\)$/{ s//\1/; q; }
14295 /^X\(\/\).*/{ s//\1/; q; }
14297 { if $as_mkdir_p; then
14298 mkdir -p "$ac_dest_dir"
14300 as_dir="$ac_dest_dir"
14302 while test ! -d "$as_dir"; do
14303 as_dirs="$as_dir $as_dirs"
14304 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14306 X"$as_dir" : 'X\(//\)[^/]' \| \
14307 X"$as_dir" : 'X\(//\)$' \| \
14308 X"$as_dir" : 'X\(/\)' \| \
14309 . : '\(.\)' 2>/dev/null ||
14311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14312 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14313 /^X\(\/\/\)$/{ s//\1/; q; }
14314 /^X\(\/\).*/{ s//\1/; q; }
14317 test ! -n "$as_dirs" || mkdir $as_dirs
14318 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
14319 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
14320 { (exit 1); exit 1; }; }; }
14324 if test "$ac_dest_dir" != .; then
14325 ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
14326 # A "../" for each directory in $ac_dir_suffix.
14327 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14329 ac_dir_suffix= ac_top_builddir=
14333 .) # No --srcdir option. We are building in place.
14335 if test -z "$ac_top_builddir"; then
14338 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14340 [\\/]* | ?:[\\/]* ) # Absolute path.
14341 ac_srcdir=$srcdir$ac_dir_suffix;
14342 ac_top_srcdir=$srcdir ;;
14343 *) # Relative path.
14344 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14345 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14347 case "$ac_dest_dir" in
14348 .) ac_abs_builddir=$ac_builddir;;
14350 case $ac_builddir in
14351 .) ac_abs_builddir="$ac_dest_dir";;
14352 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
14353 *) ac_abs_builddir="$ac_dest_dir"/$ac_builddir;;
14356 case "$ac_dest_dir" in
14357 .) ac_abs_top_builddir=${ac_top_builddir}.;;
14359 case ${ac_top_builddir}. in
14360 .) ac_abs_top_builddir="$ac_dest_dir";;
14361 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14362 *) ac_abs_top_builddir="$ac_dest_dir"/${ac_top_builddir}.;;
14365 case "$ac_dest_dir" in
14366 .) ac_abs_srcdir=$ac_srcdir;;
14369 .) ac_abs_srcdir="$ac_dest_dir";;
14370 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14371 *) ac_abs_srcdir="$ac_dest_dir"/$ac_srcdir;;
14374 case "$ac_dest_dir" in
14375 .) ac_abs_top_srcdir=$ac_top_srcdir;;
14377 case $ac_top_srcdir in
14378 .) ac_abs_top_srcdir="$ac_dest_dir";;
14379 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14380 *) ac_abs_top_srcdir="$ac_dest_dir"/$ac_top_srcdir;;
14386 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
14387 *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
14390 # Try a symlink, then a hard link, then a copy.
14391 ln -s $ac_rel_source $ac_dest 2>/dev/null ||
14392 ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
14393 cp -p $srcdir/$ac_source $ac_dest ||
14394 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
14395 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
14396 { (exit 1); exit 1; }; }
14399 cat >>$CONFIG_STATUS <<\_ACEOF
14402 # CONFIG_COMMANDS section.
14404 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
14405 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
14406 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
14407 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
14408 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14409 X"$ac_dest" : 'X\(//\)[^/]' \| \
14410 X"$ac_dest" : 'X\(//\)$' \| \
14411 X"$ac_dest" : 'X\(/\)' \| \
14412 . : '\(.\)' 2>/dev/null ||
14414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14415 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14416 /^X\(\/\/\)$/{ s//\1/; q; }
14417 /^X\(\/\).*/{ s//\1/; q; }
14419 { if $as_mkdir_p; then
14424 while test ! -d "$as_dir"; do
14425 as_dirs="$as_dir $as_dirs"
14426 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14427 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14428 X"$as_dir" : 'X\(//\)[^/]' \| \
14429 X"$as_dir" : 'X\(//\)$' \| \
14430 X"$as_dir" : 'X\(/\)' \| \
14431 . : '\(.\)' 2>/dev/null ||
14433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14434 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14435 /^X\(\/\/\)$/{ s//\1/; q; }
14436 /^X\(\/\).*/{ s//\1/; q; }
14439 test ! -n "$as_dirs" || mkdir $as_dirs
14440 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14441 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14442 { (exit 1); exit 1; }; }; }
14446 if test "$ac_dir" != .; then
14447 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14448 # A "../" for each directory in $ac_dir_suffix.
14449 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14451 ac_dir_suffix= ac_top_builddir=
14455 .) # No --srcdir option. We are building in place.
14457 if test -z "$ac_top_builddir"; then
14460 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14462 [\\/]* | ?:[\\/]* ) # Absolute path.
14463 ac_srcdir=$srcdir$ac_dir_suffix;
14464 ac_top_srcdir=$srcdir ;;
14465 *) # Relative path.
14466 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14467 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14470 .) ac_abs_builddir=$ac_builddir;;
14472 case $ac_builddir in
14473 .) ac_abs_builddir="$ac_dir";;
14474 [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
14475 *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
14479 .) ac_abs_top_builddir=${ac_top_builddir}.;;
14481 case ${ac_top_builddir}. in
14482 .) ac_abs_top_builddir="$ac_dir";;
14483 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14484 *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
14488 .) ac_abs_srcdir=$ac_srcdir;;
14491 .) ac_abs_srcdir="$ac_dir";;
14492 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14493 *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
14497 .) ac_abs_top_srcdir=$ac_top_srcdir;;
14499 case $ac_top_srcdir in
14500 .) ac_abs_top_srcdir="$ac_dir";;
14501 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14502 *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
14507 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14508 echo "$as_me: executing $ac_dest commands" >&6;}
14510 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14511 # Strip MF so we end up with the name of the file.
14512 mf=`echo "$mf" | sed -e 's/:.*$//'`
14513 # Check whether this is an Automake generated Makefile or not.
14514 # We used to match only the files named `Makefile.in', but
14515 # some people rename them; so instead we look at the file content.
14516 # Grep'ing the first line is not enough: some people post-process
14517 # each Makefile.in and add a new line on top of each file to say so.
14518 # So let's grep whole file.
14519 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
14520 dirpart=`(dirname "$mf") 2>/dev/null ||
14521 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14522 X"$mf" : 'X\(//\)[^/]' \| \
14523 X"$mf" : 'X\(//\)$' \| \
14524 X"$mf" : 'X\(/\)' \| \
14525 . : '\(.\)' 2>/dev/null ||
14527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14528 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14529 /^X\(\/\/\)$/{ s//\1/; q; }
14530 /^X\(\/\).*/{ s//\1/; q; }
14535 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
14536 # Extract the definition of DEP_FILES from the Makefile without
14538 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
14539 test -z "$DEPDIR" && continue
14540 # When using ansi2knr, U may be empty or an underscore; expand it
14541 U=`sed -n -e '/^U = / s///p' < "$mf"`
14542 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
14543 # We invoke sed twice because it is the simplest approach to
14544 # changing $(DEPDIR) to its actual value in the expansion.
14545 for file in `sed -n -e '
14546 /^DEP_FILES = .*\\\\$/ {
14555 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
14556 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14557 # Make sure the directory exists.
14558 test -f "$dirpart/$file" && continue
14559 fdir=`(dirname "$file") 2>/dev/null ||
14560 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14561 X"$file" : 'X\(//\)[^/]' \| \
14562 X"$file" : 'X\(//\)$' \| \
14563 X"$file" : '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 $dirpart/$fdir
14574 as_dir=$dirpart/$fdir
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 $dirpart/$fdir" >&5
14593 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14594 { (exit 1); exit 1; }; }; }
14596 # echo "creating $dirpart/$file"
14597 echo '# dummy' > "$dirpart/$file"
14605 cat >>$CONFIG_STATUS <<\_ACEOF
14607 { (exit 0); exit 0; }
14609 chmod +x $CONFIG_STATUS
14610 ac_clean_files=$ac_clean_files_save
14613 # configure is writing to config.log, and then calls config.status.
14614 # config.status does its own redirection, appending to config.log.
14615 # Unfortunately, on DOS this fails, as config.log is still kept open
14616 # by configure, so config.status won't be able to write to it; its
14617 # output is simply discarded. So we exec the FD to /dev/null,
14618 # effectively closing config.log, so it can be properly (re)opened and
14619 # appended to by config.status. When coming back to configure, we
14620 # need to make the FD available again.
14621 if test "$no_create" != yes; then
14623 ac_config_status_args=
14624 test "$silent" = yes &&
14625 ac_config_status_args="$ac_config_status_args --quiet"
14627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14630 # would make configure fail if this is the last instruction.
14631 $ac_cs_success || { (exit 1); exit 1; }
14637 # Report the state of this version of CVS if this is from dev.