2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Concurrent Versions System (CVS) 1.11.22.1.
5 # Report bugs to <bug-cvs@nongnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Concurrent Versions System (CVS)'
576 PACKAGE_TARNAME='cvs'
577 PACKAGE_VERSION='1.11.22.1'
578 PACKAGE_STRING='Concurrent Versions System (CVS) 1.11.22.1'
579 PACKAGE_BUGREPORT='bug-cvs@nongnu.org'
581 ac_unique_file="src/cvs.h"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
628 program_transform_name
670 INSTALL_STRIP_PROGRAM
680 MAINTAINER_MODE_FALSE
713 MAKE_TARGETS_IN_VPATH_TRUE
714 MAKE_TARGETS_IN_VPATH_FALSE
722 ac_subst_files='MKTEMP_SH_FUNCTION'
723 ac_precious_vars='build_alias
737 # Initialize some variables set by options.
739 ac_init_version=false
740 # The variables have the same names as the options, with
741 # dashes changed to underlines.
749 program_transform_name=s,x,x,
757 # Installation directory options.
758 # These are left unexpanded so users can "make install exec_prefix=/foo"
759 # and all the variables that are supposed to be based on exec_prefix
760 # by default will actually change.
761 # Use braces instead of parens because sh, perl, etc. also accept them.
762 # (The list follows the same order as the GNU Coding Standards.)
763 bindir='${exec_prefix}/bin'
764 sbindir='${exec_prefix}/sbin'
765 libexecdir='${exec_prefix}/libexec'
766 datarootdir='${prefix}/share'
767 datadir='${datarootdir}'
768 sysconfdir='${prefix}/etc'
769 sharedstatedir='${prefix}/com'
770 localstatedir='${prefix}/var'
771 includedir='${prefix}/include'
772 oldincludedir='/usr/include'
773 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
774 infodir='${datarootdir}/info'
779 libdir='${exec_prefix}/lib'
780 localedir='${datarootdir}/locale'
781 mandir='${datarootdir}/man'
787 # If the previous option needs an argument, assign it.
788 if test -n "$ac_prev"; then
789 eval $ac_prev=\$ac_option
795 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 # Accept the important Cygnus configure options, so we can diagnose typos.
801 case $ac_dashdash$ac_option in
805 -bindir | --bindir | --bindi | --bind | --bin | --bi)
807 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
810 -build | --build | --buil | --bui | --bu)
811 ac_prev=build_alias ;;
812 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
813 build_alias=$ac_optarg ;;
815 -cache-file | --cache-file | --cache-fil | --cache-fi \
816 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
817 ac_prev=cache_file ;;
818 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
819 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
820 cache_file=$ac_optarg ;;
823 cache_file=config.cache ;;
825 -datadir | --datadir | --datadi | --datad)
827 -datadir=* | --datadir=* | --datadi=* | --datad=*)
828 datadir=$ac_optarg ;;
830 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
831 | --dataroo | --dataro | --datar)
832 ac_prev=datarootdir ;;
833 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
834 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
835 datarootdir=$ac_optarg ;;
837 -disable-* | --disable-*)
838 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
841 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
842 { (exit 1); exit 1; }; }
843 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
844 eval enable_$ac_feature=no ;;
846 -docdir | --docdir | --docdi | --doc | --do)
848 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
851 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
853 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
856 -enable-* | --enable-*)
857 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
860 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
861 { (exit 1); exit 1; }; }
862 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
863 eval enable_$ac_feature=\$ac_optarg ;;
865 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
866 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
867 | --exec | --exe | --ex)
868 ac_prev=exec_prefix ;;
869 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
870 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
871 | --exec=* | --exe=* | --ex=*)
872 exec_prefix=$ac_optarg ;;
874 -gas | --gas | --ga | --g)
875 # Obsolete; use --with-gas.
878 -help | --help | --hel | --he | -h)
880 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
881 ac_init_help=recursive ;;
882 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
883 ac_init_help=short ;;
885 -host | --host | --hos | --ho)
886 ac_prev=host_alias ;;
887 -host=* | --host=* | --hos=* | --ho=*)
888 host_alias=$ac_optarg ;;
890 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
892 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
894 htmldir=$ac_optarg ;;
896 -includedir | --includedir | --includedi | --included | --include \
897 | --includ | --inclu | --incl | --inc)
898 ac_prev=includedir ;;
899 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
900 | --includ=* | --inclu=* | --incl=* | --inc=*)
901 includedir=$ac_optarg ;;
903 -infodir | --infodir | --infodi | --infod | --info | --inf)
905 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
906 infodir=$ac_optarg ;;
908 -libdir | --libdir | --libdi | --libd)
910 -libdir=* | --libdir=* | --libdi=* | --libd=*)
913 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
914 | --libexe | --libex | --libe)
915 ac_prev=libexecdir ;;
916 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
917 | --libexe=* | --libex=* | --libe=*)
918 libexecdir=$ac_optarg ;;
920 -localedir | --localedir | --localedi | --localed | --locale)
922 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
923 localedir=$ac_optarg ;;
925 -localstatedir | --localstatedir | --localstatedi | --localstated \
926 | --localstate | --localstat | --localsta | --localst | --locals)
927 ac_prev=localstatedir ;;
928 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
929 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
930 localstatedir=$ac_optarg ;;
932 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
934 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
938 # Obsolete; use --without-fp.
941 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
942 | --no-cr | --no-c | -n)
945 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
946 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
949 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
950 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
951 | --oldin | --oldi | --old | --ol | --o)
952 ac_prev=oldincludedir ;;
953 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
954 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
955 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
956 oldincludedir=$ac_optarg ;;
958 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
960 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
963 -program-prefix | --program-prefix | --program-prefi | --program-pref \
964 | --program-pre | --program-pr | --program-p)
965 ac_prev=program_prefix ;;
966 -program-prefix=* | --program-prefix=* | --program-prefi=* \
967 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
968 program_prefix=$ac_optarg ;;
970 -program-suffix | --program-suffix | --program-suffi | --program-suff \
971 | --program-suf | --program-su | --program-s)
972 ac_prev=program_suffix ;;
973 -program-suffix=* | --program-suffix=* | --program-suffi=* \
974 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
975 program_suffix=$ac_optarg ;;
977 -program-transform-name | --program-transform-name \
978 | --program-transform-nam | --program-transform-na \
979 | --program-transform-n | --program-transform- \
980 | --program-transform | --program-transfor \
981 | --program-transfo | --program-transf \
982 | --program-trans | --program-tran \
983 | --progr-tra | --program-tr | --program-t)
984 ac_prev=program_transform_name ;;
985 -program-transform-name=* | --program-transform-name=* \
986 | --program-transform-nam=* | --program-transform-na=* \
987 | --program-transform-n=* | --program-transform-=* \
988 | --program-transform=* | --program-transfor=* \
989 | --program-transfo=* | --program-transf=* \
990 | --program-trans=* | --program-tran=* \
991 | --progr-tra=* | --program-tr=* | --program-t=*)
992 program_transform_name=$ac_optarg ;;
994 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
996 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
999 -psdir | --psdir | --psdi | --psd | --ps)
1001 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1005 | -silent | --silent | --silen | --sile | --sil)
1008 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1010 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1012 sbindir=$ac_optarg ;;
1014 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1015 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1016 | --sharedst | --shareds | --shared | --share | --shar \
1018 ac_prev=sharedstatedir ;;
1019 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1020 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1021 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1023 sharedstatedir=$ac_optarg ;;
1025 -site | --site | --sit)
1027 -site=* | --site=* | --sit=*)
1030 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1032 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1033 srcdir=$ac_optarg ;;
1035 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1036 | --syscon | --sysco | --sysc | --sys | --sy)
1037 ac_prev=sysconfdir ;;
1038 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1039 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1040 sysconfdir=$ac_optarg ;;
1042 -target | --target | --targe | --targ | --tar | --ta | --t)
1043 ac_prev=target_alias ;;
1044 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1045 target_alias=$ac_optarg ;;
1047 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1050 -version | --version | --versio | --versi | --vers | -V)
1051 ac_init_version=: ;;
1054 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1057 { echo "$as_me: error: invalid package name: $ac_package" >&2
1058 { (exit 1); exit 1; }; }
1059 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1060 eval with_$ac_package=\$ac_optarg ;;
1062 -without-* | --without-*)
1063 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066 { echo "$as_me: error: invalid package name: $ac_package" >&2
1067 { (exit 1); exit 1; }; }
1068 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1069 eval with_$ac_package=no ;;
1072 # Obsolete; use --with-x.
1075 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1076 | --x-incl | --x-inc | --x-in | --x-i)
1077 ac_prev=x_includes ;;
1078 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1079 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1080 x_includes=$ac_optarg ;;
1082 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1083 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1084 ac_prev=x_libraries ;;
1085 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1086 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1087 x_libraries=$ac_optarg ;;
1089 -*) { echo "$as_me: error: unrecognized option: $ac_option
1090 Try \`$0 --help' for more information." >&2
1091 { (exit 1); exit 1; }; }
1095 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1098 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1099 { (exit 1); exit 1; }; }
1100 eval $ac_envvar=\$ac_optarg
1101 export $ac_envvar ;;
1104 # FIXME: should be removed in autoconf 3.0.
1105 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1107 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1114 if test -n "$ac_prev"; then
1115 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1116 { echo "$as_me: error: missing argument to $ac_option" >&2
1117 { (exit 1); exit 1; }; }
1120 # Be sure to have absolute directory names.
1121 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1122 datadir sysconfdir sharedstatedir localstatedir includedir \
1123 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1124 libdir localedir mandir
1126 eval ac_val=\$$ac_var
1128 [\\/$]* | ?:[\\/]* ) continue;;
1129 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1131 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1132 { (exit 1); exit 1; }; }
1135 # There might be people who depend on the old broken behavior: `$host'
1136 # used to hold the argument of --host etc.
1137 # FIXME: To remove some day.
1140 target=$target_alias
1142 # FIXME: To remove some day.
1143 if test "x$host_alias" != x; then
1144 if test "x$build_alias" = x; then
1145 cross_compiling=maybe
1146 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1147 If a cross compiler is detected then cross compile mode will be used." >&2
1148 elif test "x$build_alias" != "x$host_alias"; then
1154 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1156 test "$silent" = yes && exec 6>/dev/null
1159 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1160 ac_ls_di=`ls -di .` &&
1161 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1162 { echo "$as_me: error: Working directory cannot be determined" >&2
1163 { (exit 1); exit 1; }; }
1164 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1165 { echo "$as_me: error: pwd does not report name of working directory" >&2
1166 { (exit 1); exit 1; }; }
1169 # Find the source files, if location was not specified.
1170 if test -z "$srcdir"; then
1171 ac_srcdir_defaulted=yes
1172 # Try the directory containing this script, then the parent directory.
1173 ac_confdir=`$as_dirname -- "$0" ||
1174 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1175 X"$0" : 'X\(//\)[^/]' \| \
1176 X"$0" : 'X\(//\)$' \| \
1177 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1197 if test ! -r "$srcdir/$ac_unique_file"; then
1201 ac_srcdir_defaulted=no
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1205 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1206 { (exit 1); exit 1; }; }
1208 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1210 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1211 { (exit 1); exit 1; }; }
1213 # When building in place, set srcdir=.
1214 if test "$ac_abs_confdir" = "$ac_pwd"; then
1217 # Remove unnecessary trailing slashes from srcdir.
1218 # Double slashes in file names in object file debugging info
1219 # mess up M-x gdb in Emacs.
1221 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1223 for ac_var in $ac_precious_vars; do
1224 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1225 eval ac_env_${ac_var}_value=\$${ac_var}
1226 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1227 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1231 # Report the --help message.
1233 if test "$ac_init_help" = "long"; then
1234 # Omit some internal or obsolete options to make the list less imposing.
1235 # This message is too long to be a string in the A/UX 3.1 sh.
1237 \`configure' configures Concurrent Versions System (CVS) 1.11.22.1 to adapt to many kinds of systems.
1239 Usage: $0 [OPTION]... [VAR=VALUE]...
1241 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1242 VAR=VALUE. See below for descriptions of some of the useful variables.
1244 Defaults for the options are specified in brackets.
1247 -h, --help display this help and exit
1248 --help=short display options specific to this package
1249 --help=recursive display the short help of all the included packages
1250 -V, --version display version information and exit
1251 -q, --quiet, --silent do not print \`checking...' messages
1252 --cache-file=FILE cache test results in FILE [disabled]
1253 -C, --config-cache alias for \`--cache-file=config.cache'
1254 -n, --no-create do not create output files
1255 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1257 Installation directories:
1258 --prefix=PREFIX install architecture-independent files in PREFIX
1259 [$ac_default_prefix]
1260 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1263 By default, \`make install' will install all the files in
1264 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1265 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1266 for instance \`--prefix=\$HOME'.
1268 For better control, use the options below.
1270 Fine tuning of the installation directories:
1271 --bindir=DIR user executables [EPREFIX/bin]
1272 --sbindir=DIR system admin executables [EPREFIX/sbin]
1273 --libexecdir=DIR program executables [EPREFIX/libexec]
1274 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1275 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1276 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1277 --libdir=DIR object code libraries [EPREFIX/lib]
1278 --includedir=DIR C header files [PREFIX/include]
1279 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1280 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1281 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1282 --infodir=DIR info documentation [DATAROOTDIR/info]
1283 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1284 --mandir=DIR man documentation [DATAROOTDIR/man]
1285 --docdir=DIR documentation root [DATAROOTDIR/doc/cvs]
1286 --htmldir=DIR html documentation [DOCDIR]
1287 --dvidir=DIR dvi documentation [DOCDIR]
1288 --pdfdir=DIR pdf documentation [DOCDIR]
1289 --psdir=DIR ps documentation [DOCDIR]
1295 --program-prefix=PREFIX prepend PREFIX to installed program names
1296 --program-suffix=SUFFIX append SUFFIX to installed program names
1297 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1301 if test -n "$ac_init_help"; then
1302 case $ac_init_help in
1303 short | recursive ) echo "Configuration of Concurrent Versions System (CVS) 1.11.22.1:";;
1308 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1309 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1310 --enable-maintainer-mode enable make rules and dependencies not useful
1311 (and sometimes confusing) to the casual installer
1312 --disable-dependency-tracking speeds up one-time build
1313 --enable-dependency-tracking do not reject slow dependency extractors
1314 --enable-cvs-ndbm Use the NDBM library distributed with CVS rather
1315 than attempting to use a system NDBM library.
1316 Disabling this may not work. (default)
1317 --disable-mmap Don't mmap RCS files
1318 --enable-client Include code for running as a remote client
1320 --enable-password-authenticated-client
1321 Enable pserver as a remote access method in the CVS
1323 --enable-server Include code for running as a server (default)
1324 --enable-server-flow-control
1325 If you are working with a large remote repository
1326 and a 'cvs checkout' is swamping your network and
1327 memory, define these to enable flow control. You may
1328 optionally pass a low water mark in bytes and a high
1329 water mark in bytes, separated by commas. (default
1331 --enable-case-sensitivity
1332 Force CVS to expect a case sensitive file system.
1333 Enabling this on a case insensitive system should
1334 have little effect on the server or client
1335 operation, though client users may ocassionally be
1336 suprised that the CVS server appears to be case
1337 sensitive. Disabling this for a case sensitive
1338 server disables server support for case insensitive
1339 clients, which can confuse all users of case
1340 insensitive clients contacting the server. Disabling
1341 this for a case sensitive client will cause the
1342 client to ask servers to behave case insensitively,
1343 which could cause confusion for users, but also
1344 probably no real harm. (default autoselects based on
1345 the case sensitivity of the file system containing
1346 the current working directory)
1347 --enable-encryption Enable encryption support (disabled by default)
1348 --enable-force-editor When committing or importing files, you must enter a
1349 log message. Normally, you can do this either via
1350 the -m flag on the command line, the -F flag on the
1351 command line, or an editor will be started for you.
1352 If you like to use logging templates (the rcsinfo
1353 file within the $CVSROOT/CVSROOT directory), you
1354 might want to force people to use the editor even if
1355 they specify a message with -m or -F.
1356 --enable-force-editor will cause the -m or -F
1357 message to be appended to the temp file when the
1358 editor is started. (disabled by default)
1359 --enable-rootcommit Allow the root user to commit files (disabled by
1363 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1364 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1365 --with-krb4 Kerberos 4 directory (default /usr/kerberos)
1366 --with-gssapi GSSAPI directory (default autoselects)
1367 --with-editor The default text editor CVS should use for log
1368 messages (default autoselects)
1369 --with-ssh The default remote shell CVS will use for :extssh:
1370 transport (default autodetects)
1371 --with-rsh The default remote shell CVS will use for :ext:
1372 transport (default autodetects)
1373 --with-tmpdir The temporary directory CVS should use as a default
1374 (default autoselects)
1375 --with-umask Set the umask CVS will use by default in the
1376 repository (default 002)
1377 --with-cvs-admin-group=GROUP
1378 The CVS admin command is restricted to the members
1379 of this group. If this group does not exist, all
1380 users are allowed to run CVS admin. To disable the
1381 CVS admin command for all users, create an empty
1382 group by specifying the --with-cvs-admin-group=
1383 option. To disable access control for CVS admin, run
1384 configure with the --without-cvs-admin-group option.
1385 (default 'cvsadmin')
1387 Some influential environment variables:
1388 CC C compiler command
1389 CFLAGS C compiler flags
1390 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1391 nonstandard directory <lib dir>
1392 LIBS libraries to pass to the linker, e.g. -l<library>
1393 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1394 you have headers in a nonstandard directory <include dir>
1396 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1397 the first program found out of: `bison -y', `byacc', `yacc'.
1398 YFLAGS The list of arguments that will be passed by default to $YACC.
1399 This script will default YFLAGS to the empty string to avoid a
1400 default value of `-d' given by some make applications.
1401 EDITOR The text editor CVS will use by default for log messages.
1403 Use these variables to override the choices made by `configure' or to help
1404 it to find libraries and programs with nonstandard names/locations.
1406 Report bugs to <bug-cvs@nongnu.org>.
1411 if test "$ac_init_help" = "recursive"; then
1412 # If there are subdirs, report their specific --help.
1413 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1414 test -d "$ac_dir" || continue
1418 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1421 # A ".." for each directory in $ac_dir_suffix.
1422 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1423 case $ac_top_builddir_sub in
1424 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1425 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1428 ac_abs_top_builddir=$ac_pwd
1429 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1430 # for backward compatibility:
1431 ac_top_builddir=$ac_top_build_prefix
1434 .) # We are building in place.
1436 ac_top_srcdir=$ac_top_builddir_sub
1437 ac_abs_top_srcdir=$ac_pwd ;;
1438 [\\/]* | ?:[\\/]* ) # Absolute name.
1439 ac_srcdir=$srcdir$ac_dir_suffix;
1440 ac_top_srcdir=$srcdir
1441 ac_abs_top_srcdir=$srcdir ;;
1443 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1444 ac_top_srcdir=$ac_top_build_prefix$srcdir
1445 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1447 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1449 cd "$ac_dir" || { ac_status=$?; continue; }
1450 # Check for guested configure.
1451 if test -f "$ac_srcdir/configure.gnu"; then
1453 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1454 elif test -f "$ac_srcdir/configure"; then
1456 $SHELL "$ac_srcdir/configure" --help=recursive
1458 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1460 cd "$ac_pwd" || { ac_status=$?; break; }
1464 test -n "$ac_init_help" && exit $ac_status
1465 if $ac_init_version; then
1467 Concurrent Versions System (CVS) configure 1.11.22.1
1468 generated by GNU Autoconf 2.61
1470 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1471 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1472 This configure script is free software; the Free Software Foundation
1473 gives unlimited permission to copy, distribute and modify it.
1477 cat >config.log <<_ACEOF
1478 This file contains any messages produced by compilers while
1479 running configure, to aid debugging if configure makes a mistake.
1481 It was created by Concurrent Versions System (CVS) $as_me 1.11.22.1, which was
1482 generated by GNU Autoconf 2.61. Invocation command line was
1494 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1495 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1496 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1497 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1498 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1500 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1501 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1503 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1504 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1505 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1506 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1507 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1508 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1509 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1517 test -z "$as_dir" && as_dir=.
1518 echo "PATH: $as_dir"
1534 # Keep a trace of the command line.
1535 # Strip out --no-create and --no-recursion so they do not pile up.
1536 # Strip out --silent because we don't want to record it for future runs.
1537 # Also quote any args containing shell meta-characters.
1538 # Make two passes to allow for proper duplicate-argument suppression.
1542 ac_must_keep_next=false
1548 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1549 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1550 | -silent | --silent | --silen | --sile | --sil)
1553 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1556 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1558 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1559 if test $ac_must_keep_next = true; then
1560 ac_must_keep_next=false # Got value, back to normal.
1563 *=* | --config-cache | -C | -disable-* | --disable-* \
1564 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1565 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1566 | -with-* | --with-* | -without-* | --without-* | --x)
1567 case "$ac_configure_args0 " in
1568 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1571 -* ) ac_must_keep_next=true ;;
1574 ac_configure_args="$ac_configure_args '$ac_arg'"
1579 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1580 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1582 # When interrupted or exit'd, cleanup temporary files, and complete
1583 # config.log. We remove comments because anyway the quotes in there
1584 # would cause problems or look ugly.
1585 # WARNING: Use '\'' to represent an apostrophe within the trap.
1586 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1587 trap 'exit_status=$?
1588 # Save into config.log some information that might help in debugging.
1593 ## ---------------- ##
1594 ## Cache variables. ##
1595 ## ---------------- ##
1598 # The following way of writing the cache mishandles newlines in values,
1600 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1601 eval ac_val=\$$ac_var
1605 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1606 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1609 _ | IFS | as_nl) ;; #(
1610 *) $as_unset $ac_var ;;
1615 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1616 *${as_nl}ac_space=\ *)
1618 "s/'\''/'\''\\\\'\'''\''/g;
1619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1630 ## ----------------- ##
1631 ## Output variables. ##
1632 ## ----------------- ##
1635 for ac_var in $ac_subst_vars
1637 eval ac_val=\$$ac_var
1639 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1641 echo "$ac_var='\''$ac_val'\''"
1645 if test -n "$ac_subst_files"; then
1647 ## ------------------- ##
1648 ## File substitutions. ##
1649 ## ------------------- ##
1652 for ac_var in $ac_subst_files
1654 eval ac_val=\$$ac_var
1656 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1658 echo "$ac_var='\''$ac_val'\''"
1663 if test -s confdefs.h; then
1673 test "$ac_signal" != 0 &&
1674 echo "$as_me: caught signal $ac_signal"
1675 echo "$as_me: exit $exit_status"
1677 rm -f core *.core core.conftest.* &&
1678 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1681 for ac_signal in 1 2 13 15; do
1682 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1686 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1687 rm -f -r conftest* confdefs.h
1689 # Predefined preprocessor variables.
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_NAME "$PACKAGE_NAME"
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1701 cat >>confdefs.h <<_ACEOF
1702 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1706 cat >>confdefs.h <<_ACEOF
1707 #define PACKAGE_STRING "$PACKAGE_STRING"
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1716 # Let the site file select an alternate cache file if it wants to.
1717 # Prefer explicitly selected file to automatically selected ones.
1718 if test -n "$CONFIG_SITE"; then
1719 set x "$CONFIG_SITE"
1720 elif test "x$prefix" != xNONE; then
1721 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1723 set x "$ac_default_prefix/share/config.site" \
1724 "$ac_default_prefix/etc/config.site"
1729 if test -r "$ac_site_file"; then
1730 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1731 echo "$as_me: loading site script $ac_site_file" >&6;}
1732 sed 's/^/| /' "$ac_site_file" >&5
1737 if test -r "$cache_file"; then
1738 # Some versions of bash will fail to source /dev/null (special
1739 # files actually), so we avoid doing that.
1740 if test -f "$cache_file"; then
1741 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1742 echo "$as_me: loading cache $cache_file" >&6;}
1744 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1745 *) . "./$cache_file";;
1749 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1750 echo "$as_me: creating cache $cache_file" >&6;}
1754 ac_header_list="$ac_header_list utime.h"
1755 # Check that the precious variables saved in the cache have kept the same
1757 ac_cache_corrupted=false
1758 for ac_var in $ac_precious_vars; do
1759 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1760 eval ac_new_set=\$ac_env_${ac_var}_set
1761 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1762 eval ac_new_val=\$ac_env_${ac_var}_value
1763 case $ac_old_set,$ac_new_set in
1765 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1766 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1767 ac_cache_corrupted=: ;;
1769 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1770 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1771 ac_cache_corrupted=: ;;
1774 if test "x$ac_old_val" != "x$ac_new_val"; then
1775 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1776 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1777 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1778 echo "$as_me: former value: $ac_old_val" >&2;}
1779 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1780 echo "$as_me: current value: $ac_new_val" >&2;}
1781 ac_cache_corrupted=:
1784 # Pass precious variables to config.status.
1785 if test "$ac_new_set" = set; then
1787 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1788 *) ac_arg=$ac_var=$ac_new_val ;;
1790 case " $ac_configure_args " in
1791 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1792 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1796 if $ac_cache_corrupted; then
1797 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1798 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1799 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1800 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1801 { (exit 1); exit 1; }; }
1829 ac_cpp='$CPP $CPPFLAGS'
1830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1836 am__api_version='1.10'
1839 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1840 if test -f "$ac_dir/install-sh"; then
1842 ac_install_sh="$ac_aux_dir/install-sh -c"
1844 elif test -f "$ac_dir/install.sh"; then
1846 ac_install_sh="$ac_aux_dir/install.sh -c"
1848 elif test -f "$ac_dir/shtool"; then
1850 ac_install_sh="$ac_aux_dir/shtool install -c"
1854 if test -z "$ac_aux_dir"; then
1855 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1856 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1857 { (exit 1); exit 1; }; }
1860 # These three variables are undocumented and unsupported,
1861 # and are intended to be withdrawn in a future Autoconf release.
1862 # They can cause serious problems if a builder's source tree is in a directory
1863 # whose full name contains unusual characters.
1864 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1865 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1866 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1869 # Find a good install program. We prefer a C program (faster),
1870 # so one script is as good as another. But avoid the broken or
1871 # incompatible versions:
1872 # SysV /etc/install, /usr/sbin/install
1873 # SunOS /usr/etc/install
1874 # IRIX /sbin/install
1876 # AmigaOS /C/install, which installs bootblocks on floppy discs
1877 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1878 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1879 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1880 # OS/2's system install, which has a completely different semantic
1881 # ./install, which can be erroneously created by make from ./install.sh.
1882 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1883 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1884 if test -z "$INSTALL"; then
1885 if test "${ac_cv_path_install+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 test -z "$as_dir" && as_dir=.
1893 # Account for people who put trailing slashes in PATH elements.
1895 ./ | .// | /cC/* | \
1896 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1897 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1900 # OSF1 and SCO ODT 3.0 have their own names for install.
1901 # Don't use installbsd from OSF since it installs stuff as root
1903 for ac_prog in ginstall scoinst install; do
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1906 if test $ac_prog = install &&
1907 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1908 # AIX install. It has an incompatible calling convention.
1910 elif test $ac_prog = install &&
1911 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1912 # program-specific install script used by HP pwplus--don't use.
1915 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1928 if test "${ac_cv_path_install+set}" = set; then
1929 INSTALL=$ac_cv_path_install
1931 # As a last resort, use the slow shell script. Don't cache a
1932 # value for INSTALL within a source directory, because that will
1933 # break other packages using the cache if that directory is
1934 # removed, or if the value is a relative name.
1935 INSTALL=$ac_install_sh
1938 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1939 echo "${ECHO_T}$INSTALL" >&6; }
1941 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1942 # It thinks the first close brace ends the variable substitution.
1943 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1945 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1947 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1949 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1950 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1953 echo timestamp > conftest.file
1954 # Do `set' in a subshell so we don't clobber the current shell's
1955 # arguments. Must try -L first in case configure is actually a
1956 # symlink; some systems play weird games with the mod time of symlinks
1957 # (eg FreeBSD returns the mod time of the symlink's containing
1960 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1961 if test "$*" = "X"; then
1963 set X `ls -t $srcdir/configure conftest.file`
1966 if test "$*" != "X $srcdir/configure conftest.file" \
1967 && test "$*" != "X conftest.file $srcdir/configure"; then
1969 # If neither matched, then we have a broken ls. This can happen
1970 # if, for instance, CONFIG_SHELL is bash and it inherits a
1971 # broken ls alias from the environment. This has actually
1972 # happened. Such a system could not be considered "sane".
1973 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1974 alias in your environment" >&5
1975 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1976 alias in your environment" >&2;}
1977 { (exit 1); exit 1; }; }
1980 test "$2" = conftest.file
1986 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1987 Check your system clock" >&5
1988 echo "$as_me: error: newly created file is older than distributed files!
1989 Check your system clock" >&2;}
1990 { (exit 1); exit 1; }; }
1992 { echo "$as_me:$LINENO: result: yes" >&5
1993 echo "${ECHO_T}yes" >&6; }
1994 test "$program_prefix" != NONE &&
1995 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1996 # Use a double $ so make ignores it.
1997 test "$program_suffix" != NONE &&
1998 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1999 # Double any \ or $. echo might interpret backslashes.
2000 # By default was `s,x,x', remove it if useless.
2001 cat <<\_ACEOF >conftest.sed
2002 s/[\\$]/&&/g;s/;s,x,x,$//
2004 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2007 # expand $ac_aux_dir to an absolute path
2008 am_aux_dir=`cd $ac_aux_dir && pwd`
2010 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2011 # Use eval to expand $SHELL
2012 if eval "$MISSING --run true"; then
2013 am_missing_run="$MISSING --run "
2016 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2017 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2020 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2021 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2022 if test -z "$MKDIR_P"; then
2023 if test "${ac_cv_path_mkdir+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2030 test -z "$as_dir" && as_dir=.
2031 for ac_prog in mkdir gmkdir; do
2032 for ac_exec_ext in '' $ac_executable_extensions; do
2033 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2034 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2035 'mkdir (GNU coreutils) '* | \
2036 'mkdir (coreutils) '* | \
2037 'mkdir (fileutils) '4.1*)
2038 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2048 if test "${ac_cv_path_mkdir+set}" = set; then
2049 MKDIR_P="$ac_cv_path_mkdir -p"
2051 # As a last resort, use the slow shell script. Don't cache a
2052 # value for MKDIR_P within a source directory, because that will
2053 # break other packages using the cache if that directory is
2054 # removed, or if the value is a relative name.
2055 test -d ./--version && rmdir ./--version
2056 MKDIR_P="$ac_install_sh -d"
2059 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2060 echo "${ECHO_T}$MKDIR_P" >&6; }
2064 [\\/$]* | ?:[\\/]*) ;;
2065 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2068 for ac_prog in gawk mawk nawk awk
2070 # Extract the first word of "$ac_prog", so it can be a program name with args.
2071 set dummy $ac_prog; ac_word=$2
2072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2074 if test "${ac_cv_prog_AWK+set}" = set; then
2075 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 if test -n "$AWK"; then
2078 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 test -z "$as_dir" && as_dir=.
2085 for ac_exec_ext in '' $ac_executable_extensions; do
2086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2087 ac_cv_prog_AWK="$ac_prog"
2088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 if test -n "$AWK"; then
2099 { echo "$as_me:$LINENO: result: $AWK" >&5
2100 echo "${ECHO_T}$AWK" >&6; }
2102 { echo "$as_me:$LINENO: result: no" >&5
2103 echo "${ECHO_T}no" >&6; }
2107 test -n "$AWK" && break
2110 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2111 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2112 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2113 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 cat >conftest.make <<\_ACEOF
2119 @echo '@@@%%%=$(MAKE)=@@@%%%'
2121 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2122 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2124 eval ac_cv_prog_make_${ac_make}_set=yes;;
2126 eval ac_cv_prog_make_${ac_make}_set=no;;
2130 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2131 { echo "$as_me:$LINENO: result: yes" >&5
2132 echo "${ECHO_T}yes" >&6; }
2135 { echo "$as_me:$LINENO: result: no" >&5
2136 echo "${ECHO_T}no" >&6; }
2137 SET_MAKE="MAKE=${MAKE-make}"
2140 rm -rf .tst 2>/dev/null
2141 mkdir .tst 2>/dev/null
2142 if test -d .tst; then
2147 rmdir .tst 2>/dev/null
2149 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2150 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2151 # is not polluted with repeated "-I."
2152 am__isrc=' -I$(srcdir)'
2153 # test to see if srcdir already configured
2154 if test -f $srcdir/config.status; then
2155 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2156 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2157 { (exit 1); exit 1; }; }
2161 # test whether we have cygpath
2162 if test -z "$CYGPATH_W"; then
2163 if (cygpath --version) >/dev/null 2>/dev/null; then
2164 CYGPATH_W='cygpath -w'
2171 # Define the identity of the package.
2176 # Some tools Automake needs.
2178 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2181 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2184 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2187 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2190 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2192 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2194 # Installed binaries are usually stripped using `strip' when the user
2195 # run `make install-strip'. However `strip' might not be the right
2196 # tool to use in cross-compilation environments, therefore Automake
2197 # will honor the `STRIP' environment variable to overrule this program.
2198 if test "$cross_compiling" != no; then
2199 if test -n "$ac_tool_prefix"; then
2200 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2201 set dummy ${ac_tool_prefix}strip; ac_word=$2
2202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2204 if test "${ac_cv_prog_STRIP+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2207 if test -n "$STRIP"; then
2208 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2217 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 STRIP=$ac_cv_prog_STRIP
2228 if test -n "$STRIP"; then
2229 { echo "$as_me:$LINENO: result: $STRIP" >&5
2230 echo "${ECHO_T}$STRIP" >&6; }
2232 { echo "$as_me:$LINENO: result: no" >&5
2233 echo "${ECHO_T}no" >&6; }
2238 if test -z "$ac_cv_prog_STRIP"; then
2240 # Extract the first word of "strip", so it can be a program name with args.
2241 set dummy strip; ac_word=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 if test -n "$ac_ct_STRIP"; then
2248 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_ac_ct_STRIP="strip"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2268 if test -n "$ac_ct_STRIP"; then
2269 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2270 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2276 if test "x$ac_ct_STRIP" = x; then
2279 case $cross_compiling:$ac_tool_warned in
2281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2282 whose name does not start with the host triplet. If you think this
2283 configuration is useful to you, please write to autoconf@gnu.org." >&5
2284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2285 whose name does not start with the host triplet. If you think this
2286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2287 ac_tool_warned=yes ;;
2292 STRIP="$ac_cv_prog_STRIP"
2296 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2298 # We need awk for the "check" target. The system "awk" is bad on
2300 # Always define AMTAR for backward compatibility.
2302 AMTAR=${AMTAR-"${am_missing_run}tar"}
2304 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2312 if test "x$prefix" = xNONE; then
2313 echo $ECHO_N "checking for prefix by $ECHO_C" >&6
2314 # Extract the first word of "cvs", so it can be a program name with args.
2315 set dummy cvs; ac_word=$2
2316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2318 if test "${ac_cv_path_ac_prefix_program+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 case $ac_prefix_program in
2323 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir=.
2331 for ac_exec_ext in '' $ac_executable_extensions; do
2332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2333 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
2334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 ac_prefix_program=$ac_cv_path_ac_prefix_program
2345 if test -n "$ac_prefix_program"; then
2346 { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
2347 echo "${ECHO_T}$ac_prefix_program" >&6; }
2349 { echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6; }
2354 if test -n "$ac_prefix_program"; then
2355 prefix=`$as_dirname -- "$ac_prefix_program" ||
2356 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2357 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
2358 X"$ac_prefix_program" : 'X\(//\)$' \| \
2359 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
2360 echo X"$ac_prefix_program" |
2361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2378 prefix=`$as_dirname -- "$prefix" ||
2379 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2380 X"$prefix" : 'X\(//\)[^/]' \| \
2381 X"$prefix" : 'X\(//\)$' \| \
2382 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
2384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2404 ac_config_headers="$ac_config_headers config.h"
2406 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2407 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2408 # Check whether --enable-maintainer-mode was given.
2409 if test "${enable_maintainer_mode+set}" = set; then
2410 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2412 USE_MAINTAINER_MODE=no
2415 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2416 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2417 if test $USE_MAINTAINER_MODE = yes; then
2418 MAINTAINER_MODE_TRUE=
2419 MAINTAINER_MODE_FALSE='#'
2421 MAINTAINER_MODE_TRUE='#'
2422 MAINTAINER_MODE_FALSE=
2425 MAINT=$MAINTAINER_MODE_TRUE
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2434 if test -n "$ac_tool_prefix"; then
2435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2436 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2439 if test "${ac_cv_prog_CC+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 if test -n "$CC"; then
2443 ac_cv_prog_CC="$CC" # Let the user override the test.
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir=.
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2452 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 if test -n "$CC"; then
2464 { echo "$as_me:$LINENO: result: $CC" >&5
2465 echo "${ECHO_T}$CC" >&6; }
2467 { echo "$as_me:$LINENO: result: no" >&5
2468 echo "${ECHO_T}no" >&6; }
2473 if test -z "$ac_cv_prog_CC"; then
2475 # Extract the first word of "gcc", so it can be a program name with args.
2476 set dummy gcc; ac_word=$2
2477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2480 echo $ECHO_N "(cached) $ECHO_C" >&6
2482 if test -n "$ac_ct_CC"; then
2483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir=.
2490 for ac_exec_ext in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492 ac_cv_prog_ac_ct_CC="gcc"
2493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2503 if test -n "$ac_ct_CC"; then
2504 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2505 echo "${ECHO_T}$ac_ct_CC" >&6; }
2507 { echo "$as_me:$LINENO: result: no" >&5
2508 echo "${ECHO_T}no" >&6; }
2511 if test "x$ac_ct_CC" = x; then
2514 case $cross_compiling:$ac_tool_warned in
2516 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2517 whose name does not start with the host triplet. If you think this
2518 configuration is useful to you, please write to autoconf@gnu.org." >&5
2519 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2520 whose name does not start with the host triplet. If you think this
2521 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2522 ac_tool_warned=yes ;;
2530 if test -z "$CC"; then
2531 if test -n "$ac_tool_prefix"; then
2532 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2533 set dummy ${ac_tool_prefix}cc; ac_word=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2539 if test -n "$CC"; then
2540 ac_cv_prog_CC="$CC" # Let the user override the test.
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_CC="${ac_tool_prefix}cc"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 if test -n "$CC"; then
2561 { echo "$as_me:$LINENO: result: $CC" >&5
2562 echo "${ECHO_T}$CC" >&6; }
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2571 if test -z "$CC"; then
2572 # Extract the first word of "cc", so it can be a program name with args.
2573 set dummy cc; ac_word=$2
2574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2576 if test "${ac_cv_prog_CC+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 if test -n "$CC"; then
2580 ac_cv_prog_CC="$CC" # Let the user override the test.
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir=.
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2590 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2591 ac_prog_rejected=yes
2595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 if test $ac_prog_rejected = yes; then
2603 # We found a bogon in the path, so make sure we never use it.
2604 set dummy $ac_cv_prog_CC
2606 if test $# != 0; then
2607 # We chose a different compiler from the bogus one.
2608 # However, it has the same basename, so the bogon will be chosen
2609 # first if we set CC to just the basename; use the full file name.
2611 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2617 if test -n "$CC"; then
2618 { echo "$as_me:$LINENO: result: $CC" >&5
2619 echo "${ECHO_T}$CC" >&6; }
2621 { echo "$as_me:$LINENO: result: no" >&5
2622 echo "${ECHO_T}no" >&6; }
2627 if test -z "$CC"; then
2628 if test -n "$ac_tool_prefix"; then
2629 for ac_prog in cl.exe
2631 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2632 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2635 if test "${ac_cv_prog_CC+set}" = set; then
2636 echo $ECHO_N "(cached) $ECHO_C" >&6
2638 if test -n "$CC"; then
2639 ac_cv_prog_CC="$CC" # Let the user override the test.
2641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir=.
2646 for ac_exec_ext in '' $ac_executable_extensions; do
2647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2648 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 if test -n "$CC"; then
2660 { echo "$as_me:$LINENO: result: $CC" >&5
2661 echo "${ECHO_T}$CC" >&6; }
2663 { echo "$as_me:$LINENO: result: no" >&5
2664 echo "${ECHO_T}no" >&6; }
2668 test -n "$CC" && break
2671 if test -z "$CC"; then
2673 for ac_prog in cl.exe
2675 # Extract the first word of "$ac_prog", so it can be a program name with args.
2676 set dummy $ac_prog; ac_word=$2
2677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 if test -n "$ac_ct_CC"; then
2683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir=.
2690 for ac_exec_ext in '' $ac_executable_extensions; do
2691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2692 ac_cv_prog_ac_ct_CC="$ac_prog"
2693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2703 if test -n "$ac_ct_CC"; then
2704 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2705 echo "${ECHO_T}$ac_ct_CC" >&6; }
2707 { echo "$as_me:$LINENO: result: no" >&5
2708 echo "${ECHO_T}no" >&6; }
2712 test -n "$ac_ct_CC" && break
2715 if test "x$ac_ct_CC" = x; then
2718 case $cross_compiling:$ac_tool_warned in
2720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2721 whose name does not start with the host triplet. If you think this
2722 configuration is useful to you, please write to autoconf@gnu.org." >&5
2723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2724 whose name does not start with the host triplet. If you think this
2725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2726 ac_tool_warned=yes ;;
2735 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2736 See \`config.log' for more details." >&5
2737 echo "$as_me: error: no acceptable C compiler found in \$PATH
2738 See \`config.log' for more details." >&2;}
2739 { (exit 1); exit 1; }; }
2741 # Provide some information about the compiler.
2742 echo "$as_me:$LINENO: checking for C compiler version" >&5
2743 ac_compiler=`set X $ac_compile; echo $2`
2744 { (ac_try="$ac_compiler --version >&5"
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750 (eval "$ac_compiler --version >&5") 2>&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }
2754 { (ac_try="$ac_compiler -v >&5"
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2760 (eval "$ac_compiler -v >&5") 2>&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }
2764 { (ac_try="$ac_compiler -V >&5"
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2770 (eval "$ac_compiler -V >&5") 2>&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }
2775 cat >conftest.$ac_ext <<_ACEOF
2778 cat confdefs.h >>conftest.$ac_ext
2779 cat >>conftest.$ac_ext <<_ACEOF
2780 /* end confdefs.h. */
2790 ac_clean_files_save=$ac_clean_files
2791 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2792 # Try to create an executable without -o first, disregard a.out.
2793 # It will help us diagnose broken compilers, and finding out an intuition
2795 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2796 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2797 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2799 # List of possible output files, starting from the most likely.
2800 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2801 # only as a last resort. b.out is created by i960 compilers.
2802 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2804 # The IRIX 6 linker writes into existing files which may not be
2805 # executable, retaining their permissions. Remove them first so a
2806 # subsequent execution test works.
2808 for ac_file in $ac_files
2811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2812 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2817 if { (ac_try="$ac_link_default"
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_link_default") 2>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; then
2827 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2828 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2829 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2830 # so that the user can short-circuit this test for compilers unknown to
2832 for ac_file in $ac_files ''
2834 test -f "$ac_file" || continue
2836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2839 # We found the default executable, but exeext='' is most
2843 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2845 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2847 # We set ac_cv_exeext here because the later test for it is not
2848 # safe: cross compilers may not add the suffix if given an `-o'
2849 # argument, so we may need to know it at that point already.
2850 # Even if this section looks crufty: it has the advantage of
2857 test "$ac_cv_exeext" = no && ac_cv_exeext=
2863 { echo "$as_me:$LINENO: result: $ac_file" >&5
2864 echo "${ECHO_T}$ac_file" >&6; }
2865 if test -z "$ac_file"; then
2866 echo "$as_me: failed program was:" >&5
2867 sed 's/^/| /' conftest.$ac_ext >&5
2869 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2870 See \`config.log' for more details." >&5
2871 echo "$as_me: error: C compiler cannot create executables
2872 See \`config.log' for more details." >&2;}
2873 { (exit 77); exit 77; }; }
2876 ac_exeext=$ac_cv_exeext
2878 # Check that the compiler produces executables we can run. If not, either
2879 # the compiler is broken, or we cross compile.
2880 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2881 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2882 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2883 # If not cross compiling, check that we can run a simple program.
2884 if test "$cross_compiling" != yes; then
2885 if { ac_try='./$ac_file'
2886 { (case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2891 (eval "$ac_try") 2>&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; }; then
2897 if test "$cross_compiling" = maybe; then
2900 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2901 If you meant to cross compile, use \`--host'.
2902 See \`config.log' for more details." >&5
2903 echo "$as_me: error: cannot run C compiled programs.
2904 If you meant to cross compile, use \`--host'.
2905 See \`config.log' for more details." >&2;}
2906 { (exit 1); exit 1; }; }
2910 { echo "$as_me:$LINENO: result: yes" >&5
2911 echo "${ECHO_T}yes" >&6; }
2913 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2914 ac_clean_files=$ac_clean_files_save
2915 # Check that the compiler produces executables we can run. If not, either
2916 # the compiler is broken, or we cross compile.
2917 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2918 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2919 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2920 echo "${ECHO_T}$cross_compiling" >&6; }
2922 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2923 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2924 if { (ac_try="$ac_link"
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_link") 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; then
2934 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2935 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2936 # work properly (i.e., refer to `conftest.exe'), while it won't with
2938 for ac_file in conftest.exe conftest conftest.*; do
2939 test -f "$ac_file" || continue
2941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2942 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2948 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2949 See \`config.log' for more details." >&5
2950 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2951 See \`config.log' for more details." >&2;}
2952 { (exit 1); exit 1; }; }
2955 rm -f conftest$ac_cv_exeext
2956 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2957 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2959 rm -f conftest.$ac_ext
2960 EXEEXT=$ac_cv_exeext
2962 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2963 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2964 if test "${ac_cv_objext+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 cat >conftest.$ac_ext <<_ACEOF
2970 cat confdefs.h >>conftest.$ac_ext
2971 cat >>conftest.$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2982 rm -f conftest.o conftest.obj
2983 if { (ac_try="$ac_compile"
2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986 *) ac_try_echo=$ac_try;;
2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2989 (eval "$ac_compile") 2>&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; then
2993 for ac_file in conftest.o conftest.obj conftest.*; do
2994 test -f "$ac_file" || continue;
2996 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2997 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3002 echo "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.$ac_ext >&5
3005 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3006 See \`config.log' for more details." >&5
3007 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3008 See \`config.log' for more details." >&2;}
3009 { (exit 1); exit 1; }; }
3012 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3014 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3015 echo "${ECHO_T}$ac_cv_objext" >&6; }
3016 OBJEXT=$ac_cv_objext
3018 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3019 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3020 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 cat >conftest.$ac_ext <<_ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3041 rm -f conftest.$ac_objext
3042 if { (ac_try="$ac_compile"
3044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3045 *) ac_try_echo=$ac_try;;
3047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3048 (eval "$ac_compile") 2>conftest.er1
3050 grep -v '^ *+' conftest.er1 >conftest.err
3052 cat conftest.err >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } && {
3055 test -z "$ac_c_werror_flag" ||
3056 test ! -s conftest.err
3057 } && test -s conftest.$ac_objext; then
3060 echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3067 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3070 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3071 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3072 GCC=`test $ac_compiler_gnu = yes && echo yes`
3073 ac_test_CFLAGS=${CFLAGS+set}
3074 ac_save_CFLAGS=$CFLAGS
3075 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3076 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3077 if test "${ac_cv_prog_cc_g+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 ac_save_c_werror_flag=$ac_c_werror_flag
3081 ac_c_werror_flag=yes
3084 cat >conftest.$ac_ext <<_ACEOF
3087 cat confdefs.h >>conftest.$ac_ext
3088 cat >>conftest.$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3099 rm -f conftest.$ac_objext
3100 if { (ac_try="$ac_compile"
3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3106 (eval "$ac_compile") 2>conftest.er1
3108 grep -v '^ *+' conftest.er1 >conftest.err
3110 cat conftest.err >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); } && {
3113 test -z "$ac_c_werror_flag" ||
3114 test ! -s conftest.err
3115 } && test -s conftest.$ac_objext; then
3118 echo "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.$ac_ext >&5
3122 cat >conftest.$ac_ext <<_ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3137 rm -f conftest.$ac_objext
3138 if { (ac_try="$ac_compile"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3144 (eval "$ac_compile") 2>conftest.er1
3146 grep -v '^ *+' conftest.er1 >conftest.err
3148 cat conftest.err >&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); } && {
3151 test -z "$ac_c_werror_flag" ||
3152 test ! -s conftest.err
3153 } && test -s conftest.$ac_objext; then
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3159 ac_c_werror_flag=$ac_save_c_werror_flag
3161 cat >conftest.$ac_ext <<_ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h. */
3176 rm -f conftest.$ac_objext
3177 if { (ac_try="$ac_compile"
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3183 (eval "$ac_compile") 2>conftest.er1
3185 grep -v '^ *+' conftest.er1 >conftest.err
3187 cat conftest.err >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } && {
3190 test -z "$ac_c_werror_flag" ||
3191 test ! -s conftest.err
3192 } && test -s conftest.$ac_objext; then
3195 echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 ac_c_werror_flag=$ac_save_c_werror_flag
3210 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3211 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3212 if test "$ac_test_CFLAGS" = set; then
3213 CFLAGS=$ac_save_CFLAGS
3214 elif test $ac_cv_prog_cc_g = yes; then
3215 if test "$GCC" = yes; then
3221 if test "$GCC" = yes; then
3227 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3228 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3229 if test "${ac_cv_prog_cc_c89+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 ac_cv_prog_cc_c89=no
3234 cat >conftest.$ac_ext <<_ACEOF
3237 cat confdefs.h >>conftest.$ac_ext
3238 cat >>conftest.$ac_ext <<_ACEOF
3239 /* end confdefs.h. */
3242 #include <sys/types.h>
3243 #include <sys/stat.h>
3244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3245 struct buf { int x; };
3246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3247 static char *e (p, i)
3253 static char *f (char * (*g) (char **, int), char **p, ...)
3258 s = g (p, va_arg (v,int));
3263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3264 function prototypes and stuff, but not '\xHH' hex character constants.
3265 These don't provoke an error unfortunately, instead are silently treated
3266 as 'x'. The following induces an error, until -std is added to get
3267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3268 array size at least. It's necessary to write '\x00'==0 to get something
3269 that's true only with -std. */
3270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3272 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3273 inside strings and character constants. */
3275 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3277 int test (int i, double x);
3278 struct s1 {int (*f) (int a);};
3279 struct s2 {int (*f) (double a);};
3280 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3286 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3291 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3292 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3294 CC="$ac_save_CC $ac_arg"
3295 rm -f conftest.$ac_objext
3296 if { (ac_try="$ac_compile"
3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3302 (eval "$ac_compile") 2>conftest.er1
3304 grep -v '^ *+' conftest.er1 >conftest.err
3306 cat conftest.err >&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); } && {
3309 test -z "$ac_c_werror_flag" ||
3310 test ! -s conftest.err
3311 } && test -s conftest.$ac_objext; then
3312 ac_cv_prog_cc_c89=$ac_arg
3314 echo "$as_me: failed program was:" >&5
3315 sed 's/^/| /' conftest.$ac_ext >&5
3320 rm -f core conftest.err conftest.$ac_objext
3321 test "x$ac_cv_prog_cc_c89" != "xno" && break
3323 rm -f conftest.$ac_ext
3328 case "x$ac_cv_prog_cc_c89" in
3330 { echo "$as_me:$LINENO: result: none needed" >&5
3331 echo "${ECHO_T}none needed" >&6; } ;;
3333 { echo "$as_me:$LINENO: result: unsupported" >&5
3334 echo "${ECHO_T}unsupported" >&6; } ;;
3336 CC="$CC $ac_cv_prog_cc_c89"
3337 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3338 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3343 ac_cpp='$CPP $CPPFLAGS'
3344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3347 DEPDIR="${am__leading_dot}deps"
3349 ac_config_commands="$ac_config_commands depfiles"
3352 am_make=${MAKE-make}
3353 cat > confinc << 'END'
3358 # If we don't find an include directive, just comment out the code.
3359 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3360 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3364 # First try GNU make style include.
3365 echo "include confinc" > confmf
3366 # We grep out `Entering directory' and `Leaving directory'
3367 # messages which can occur if `w' ends up in MAKEFLAGS.
3368 # In particular we don't look at `^make:' because GNU make might
3369 # be invoked under some other name (usually "gmake"), in which
3370 # case it prints its new name instead of `make'.
3371 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3376 # Now try BSD make style include.
3377 if test "$am__include" = "#"; then
3378 echo '.include "confinc"' > confmf
3379 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3380 am__include=.include
3387 { echo "$as_me:$LINENO: result: $_am_result" >&5
3388 echo "${ECHO_T}$_am_result" >&6; }
3389 rm -f confinc confmf
3391 # Check whether --enable-dependency-tracking was given.
3392 if test "${enable_dependency_tracking+set}" = set; then
3393 enableval=$enable_dependency_tracking;
3396 if test "x$enable_dependency_tracking" != xno; then
3397 am_depcomp="$ac_aux_dir/depcomp"
3400 if test "x$enable_dependency_tracking" != xno; then
3410 depcc="$CC" am_compiler_list=
3412 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3413 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3414 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3418 # We make a subdir and do the tests there. Otherwise we can end up
3419 # making bogus files that we don't know about and never remove. For
3420 # instance it was reported that on HP-UX the gcc test will end up
3421 # making a dummy file named `D' -- because `-MD' means `put the output
3424 # Copy depcomp to subdir because otherwise we won't find it if we're
3425 # using a relative directory.
3426 cp "$am_depcomp" conftest.dir
3428 # We will build objects and dependencies in a subdirectory because
3429 # it helps to detect inapplicable dependency modes. For instance
3430 # both Tru64's cc and ICC support -MD to output dependencies as a
3431 # side effect of compilation, but ICC will put the dependencies in
3432 # the current directory while Tru64 will put them in the object
3436 am_cv_CC_dependencies_compiler_type=none
3437 if test "$am_compiler_list" = ""; then
3438 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3440 for depmode in $am_compiler_list; do
3441 # Setup a source with many dependencies, because some compilers
3442 # like to wrap large dependency lists on column 80 (with \), and
3443 # we should not choose a depcomp mode which is confused by this.
3445 # We need to recreate these files for each test, as the compiler may
3446 # overwrite some of them when testing with obscure command lines.
3447 # This happens at least with the AIX C compiler.
3449 for i in 1 2 3 4 5 6; do
3450 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3451 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3452 # Solaris 8's {/usr,}/bin/sh.
3453 touch sub/conftst$i.h
3455 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3459 # after this tag, mechanisms are not by side-effect, so they'll
3460 # only be used when explicitly requested
3461 if test "x$enable_dependency_tracking" = xyes; then
3469 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3470 # mode. It turns out that the SunPro C++ compiler does not properly
3471 # handle `-M -o', and we need to detect this.
3472 if depmode=$depmode \
3473 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3474 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3475 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3476 >/dev/null 2>conftest.err &&
3477 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3478 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3479 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3480 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3481 # icc doesn't choke on unknown options, it will just issue warnings
3482 # or remarks (even with -Werror). So we grep stderr for any message
3483 # that says an option was ignored or not supported.
3484 # When given -MP, icc 7.0 and 7.1 complain thusly:
3485 # icc: Command line warning: ignoring option '-M'; no argument required
3486 # The diagnosis changed in icc 8.0:
3487 # icc: Command line remark: option '-MP' not supported
3488 if (grep 'ignoring option' conftest.err ||
3489 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3490 am_cv_CC_dependencies_compiler_type=$depmode
3499 am_cv_CC_dependencies_compiler_type=none
3503 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3504 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3505 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3508 test "x$enable_dependency_tracking" != xno \
3509 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3511 am__fastdepCC_FALSE='#'
3513 am__fastdepCC_TRUE='#'
3514 am__fastdepCC_FALSE=
3518 if test "x$CC" != xcc; then
3519 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3520 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3522 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3523 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3525 set dummy $CC; ac_cc=`echo $2 |
3526 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3527 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3528 echo $ECHO_N "(cached) $ECHO_C" >&6
3530 cat >conftest.$ac_ext <<_ACEOF
3533 cat confdefs.h >>conftest.$ac_ext
3534 cat >>conftest.$ac_ext <<_ACEOF
3535 /* end confdefs.h. */
3545 # Make sure it works both with $CC and with simple cc.
3546 # We do the test twice because some compilers refuse to overwrite an
3547 # existing .o file with -o, though they will create one.
3548 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3550 if { (case "(($ac_try" in
3551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552 *) ac_try_echo=$ac_try;;
3554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3555 (eval "$ac_try") 2>&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } &&
3559 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561 *) ac_try_echo=$ac_try;;
3563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3564 (eval "$ac_try") 2>&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); };
3569 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3570 if test "x$CC" != xcc; then
3571 # Test first that cc exists at all.
3572 if { ac_try='cc -c conftest.$ac_ext >&5'
3573 { (case "(($ac_try" in
3574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3578 (eval "$ac_try") 2>&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); }; }; then
3582 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3584 if { (case "(($ac_try" in
3585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3586 *) ac_try_echo=$ac_try;;
3588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3589 (eval "$ac_try") 2>&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } &&
3593 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595 *) ac_try_echo=$ac_try;;
3597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3598 (eval "$ac_try") 2>&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); };
3606 # cc exists but doesn't like -o.
3607 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3612 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3614 rm -f core conftest*
3617 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3618 { echo "$as_me:$LINENO: result: yes" >&5
3619 echo "${ECHO_T}yes" >&6; }
3621 { echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6; }
3624 cat >>confdefs.h <<\_ACEOF
3625 #define NO_MINUS_C_MINUS_O 1
3630 # FIXME: we rely on the cache variable name because
3631 # there is no other way.
3633 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3634 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3635 # Losing compiler, so override with the script.
3636 # FIXME: It is wrong to rewrite CC.
3637 # But if we don't then we get into trouble of one sort or another.
3638 # A longer-term fix would be to have automake use am__CC in this case,
3639 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3640 CC="$am_aux_dir/compile $CC"
3647 ac_cpp='$CPP $CPPFLAGS'
3648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3651 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3652 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3653 # On Suns, sometimes $CPP names a directory.
3654 if test -n "$CPP" && test -d "$CPP"; then
3657 if test -z "$CPP"; then
3658 if test "${ac_cv_prog_CPP+set}" = set; then
3659 echo $ECHO_N "(cached) $ECHO_C" >&6
3661 # Double quotes because CPP needs to be expanded
3662 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3665 for ac_c_preproc_warn_flag in '' yes
3667 # Use a header file that comes with gcc, so configuring glibc
3668 # with a fresh cross-compiler works.
3669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3670 # <limits.h> exists even on freestanding compilers.
3671 # On the NeXT, cc -E runs the code through the compiler's parser,
3672 # not just through cpp. "Syntax error" is here to catch this case.
3673 cat >conftest.$ac_ext <<_ACEOF
3676 cat confdefs.h >>conftest.$ac_ext
3677 cat >>conftest.$ac_ext <<_ACEOF
3678 /* end confdefs.h. */
3680 # include <limits.h>
3682 # include <assert.h>
3686 if { (ac_try="$ac_cpp conftest.$ac_ext"
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3694 grep -v '^ *+' conftest.er1 >conftest.err
3696 cat conftest.err >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); } >/dev/null && {
3699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3700 test ! -s conftest.err
3704 echo "$as_me: failed program was:" >&5
3705 sed 's/^/| /' conftest.$ac_ext >&5
3707 # Broken: fails on valid input.
3711 rm -f conftest.err conftest.$ac_ext
3713 # OK, works on sane cases. Now check whether nonexistent headers
3714 # can be detected and how.
3715 cat >conftest.$ac_ext <<_ACEOF
3718 cat confdefs.h >>conftest.$ac_ext
3719 cat >>conftest.$ac_ext <<_ACEOF
3720 /* end confdefs.h. */
3721 #include <ac_nonexistent.h>
3723 if { (ac_try="$ac_cpp conftest.$ac_ext"
3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726 *) ac_try_echo=$ac_try;;
3728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3731 grep -v '^ *+' conftest.er1 >conftest.err
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } >/dev/null && {
3736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3737 test ! -s conftest.err
3739 # Broken: success on invalid input.
3742 echo "$as_me: failed program was:" >&5
3743 sed 's/^/| /' conftest.$ac_ext >&5
3745 # Passes both tests.
3750 rm -f conftest.err conftest.$ac_ext
3753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3754 rm -f conftest.err conftest.$ac_ext
3755 if $ac_preproc_ok; then
3767 { echo "$as_me:$LINENO: result: $CPP" >&5
3768 echo "${ECHO_T}$CPP" >&6; }
3770 for ac_c_preproc_warn_flag in '' yes
3772 # Use a header file that comes with gcc, so configuring glibc
3773 # with a fresh cross-compiler works.
3774 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3775 # <limits.h> exists even on freestanding compilers.
3776 # On the NeXT, cc -E runs the code through the compiler's parser,
3777 # not just through cpp. "Syntax error" is here to catch this case.
3778 cat >conftest.$ac_ext <<_ACEOF
3781 cat confdefs.h >>conftest.$ac_ext
3782 cat >>conftest.$ac_ext <<_ACEOF
3783 /* end confdefs.h. */
3785 # include <limits.h>
3787 # include <assert.h>
3791 if { (ac_try="$ac_cpp conftest.$ac_ext"
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3799 grep -v '^ *+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null && {
3804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3805 test ! -s conftest.err
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3812 # Broken: fails on valid input.
3816 rm -f conftest.err conftest.$ac_ext
3818 # OK, works on sane cases. Now check whether nonexistent headers
3819 # can be detected and how.
3820 cat >conftest.$ac_ext <<_ACEOF
3823 cat confdefs.h >>conftest.$ac_ext
3824 cat >>conftest.$ac_ext <<_ACEOF
3825 /* end confdefs.h. */
3826 #include <ac_nonexistent.h>
3828 if { (ac_try="$ac_cpp conftest.$ac_ext"
3830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3831 *) ac_try_echo=$ac_try;;
3833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3836 grep -v '^ *+' conftest.er1 >conftest.err
3838 cat conftest.err >&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } >/dev/null && {
3841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3842 test ! -s conftest.err
3844 # Broken: success on invalid input.
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.$ac_ext >&5
3850 # Passes both tests.
3855 rm -f conftest.err conftest.$ac_ext
3858 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3859 rm -f conftest.err conftest.$ac_ext
3860 if $ac_preproc_ok; then
3863 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3864 See \`config.log' for more details." >&5
3865 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3866 See \`config.log' for more details." >&2;}
3867 { (exit 1); exit 1; }; }
3871 ac_cpp='$CPP $CPPFLAGS'
3872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3877 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3878 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3879 if test "${ac_cv_path_GREP+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 # Extract the first word of "grep ggrep" to use in msg output
3883 if test -z "$GREP"; then
3884 set dummy grep ggrep; ac_prog_name=$2
3885 if test "${ac_cv_path_GREP+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 ac_path_GREP_found=false
3889 # Loop through the user's path and test for each of PROGNAME-LIST
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3894 test -z "$as_dir" && as_dir=.
3895 for ac_prog in grep ggrep; do
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3898 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3899 # Check for GNU ac_path_GREP and select it if it is found.
3900 # Check for GNU $ac_path_GREP
3901 case `"$ac_path_GREP" --version 2>&1` in
3903 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3906 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3909 cat "conftest.in" "conftest.in" >"conftest.tmp"
3910 mv "conftest.tmp" "conftest.in"
3911 cp "conftest.in" "conftest.nl"
3912 echo 'GREP' >> "conftest.nl"
3913 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3914 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3915 ac_count=`expr $ac_count + 1`
3916 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3917 # Best one so far, save it but keep looking for a better one
3918 ac_cv_path_GREP="$ac_path_GREP"
3919 ac_path_GREP_max=$ac_count
3921 # 10*(2^10) chars as input seems more than enough
3922 test $ac_count -gt 10 && break
3924 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3928 $ac_path_GREP_found && break 3
3938 GREP="$ac_cv_path_GREP"
3939 if test -z "$GREP"; then
3940 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3941 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3942 { (exit 1); exit 1; }; }
3946 ac_cv_path_GREP=$GREP
3951 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3952 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3953 GREP="$ac_cv_path_GREP"
3956 { echo "$as_me:$LINENO: checking for egrep" >&5
3957 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3958 if test "${ac_cv_path_EGREP+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3962 then ac_cv_path_EGREP="$GREP -E"
3964 # Extract the first word of "egrep" to use in msg output
3965 if test -z "$EGREP"; then
3966 set dummy egrep; ac_prog_name=$2
3967 if test "${ac_cv_path_EGREP+set}" = set; then
3968 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 ac_path_EGREP_found=false
3971 # Loop through the user's path and test for each of PROGNAME-LIST
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3976 test -z "$as_dir" && as_dir=.
3977 for ac_prog in egrep; do
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3980 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3981 # Check for GNU ac_path_EGREP and select it if it is found.
3982 # Check for GNU $ac_path_EGREP
3983 case `"$ac_path_EGREP" --version 2>&1` in
3985 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3988 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3991 cat "conftest.in" "conftest.in" >"conftest.tmp"
3992 mv "conftest.tmp" "conftest.in"
3993 cp "conftest.in" "conftest.nl"
3994 echo 'EGREP' >> "conftest.nl"
3995 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3996 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3997 ac_count=`expr $ac_count + 1`
3998 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3999 # Best one so far, save it but keep looking for a better one
4000 ac_cv_path_EGREP="$ac_path_EGREP"
4001 ac_path_EGREP_max=$ac_count
4003 # 10*(2^10) chars as input seems more than enough
4004 test $ac_count -gt 10 && break
4006 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4010 $ac_path_EGREP_found && break 3
4020 EGREP="$ac_cv_path_EGREP"
4021 if test -z "$EGREP"; then
4022 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4023 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4024 { (exit 1); exit 1; }; }
4028 ac_cv_path_EGREP=$EGREP
4034 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4035 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4036 EGREP="$ac_cv_path_EGREP"
4040 { echo "$as_me:$LINENO: checking for AIX" >&5
4041 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
4042 cat >conftest.$ac_ext <<_ACEOF
4045 cat confdefs.h >>conftest.$ac_ext
4046 cat >>conftest.$ac_ext <<_ACEOF
4047 /* end confdefs.h. */
4053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4054 $EGREP "yes" >/dev/null 2>&1; then
4055 { echo "$as_me:$LINENO: result: yes" >&5
4056 echo "${ECHO_T}yes" >&6; }
4057 cat >>confdefs.h <<\_ACEOF
4058 #define _ALL_SOURCE 1
4062 { echo "$as_me:$LINENO: result: no" >&5
4063 echo "${ECHO_T}no" >&6; }
4068 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4069 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4070 if test "${ac_cv_header_stdc+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 cat >conftest.$ac_ext <<_ACEOF
4076 cat confdefs.h >>conftest.$ac_ext
4077 cat >>conftest.$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4092 rm -f conftest.$ac_objext
4093 if { (ac_try="$ac_compile"
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4099 (eval "$ac_compile") 2>conftest.er1
4101 grep -v '^ *+' conftest.er1 >conftest.err
4103 cat conftest.err >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } && {
4106 test -z "$ac_c_werror_flag" ||
4107 test ! -s conftest.err
4108 } && test -s conftest.$ac_objext; then
4109 ac_cv_header_stdc=yes
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 ac_cv_header_stdc=no
4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4119 if test $ac_cv_header_stdc = yes; then
4120 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4121 cat >conftest.$ac_ext <<_ACEOF
4124 cat confdefs.h >>conftest.$ac_ext
4125 cat >>conftest.$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4131 $EGREP "memchr" >/dev/null 2>&1; then
4134 ac_cv_header_stdc=no
4140 if test $ac_cv_header_stdc = yes; then
4141 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4142 cat >conftest.$ac_ext <<_ACEOF
4145 cat confdefs.h >>conftest.$ac_ext
4146 cat >>conftest.$ac_ext <<_ACEOF
4147 /* end confdefs.h. */
4151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4152 $EGREP "free" >/dev/null 2>&1; then
4155 ac_cv_header_stdc=no
4161 if test $ac_cv_header_stdc = yes; then
4162 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4163 if test "$cross_compiling" = yes; then
4166 cat >conftest.$ac_ext <<_ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4174 #if ((' ' & 0x0FF) == 0x020)
4175 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4176 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4178 # define ISLOWER(c) \
4179 (('a' <= (c) && (c) <= 'i') \
4180 || ('j' <= (c) && (c) <= 'r') \
4181 || ('s' <= (c) && (c) <= 'z'))
4182 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4185 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4190 for (i = 0; i < 256; i++)
4191 if (XOR (islower (i), ISLOWER (i))
4192 || toupper (i) != TOUPPER (i))
4197 rm -f conftest$ac_exeext
4198 if { (ac_try="$ac_link"
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_link") 2>&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4208 { (case "(($ac_try" in
4209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4213 (eval "$ac_try") 2>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; }; then
4219 echo "$as_me: program exited with status $ac_status" >&5
4220 echo "$as_me: failed program was:" >&5
4221 sed 's/^/| /' conftest.$ac_ext >&5
4224 ac_cv_header_stdc=no
4226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4232 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4233 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4234 if test $ac_cv_header_stdc = yes; then
4236 cat >>confdefs.h <<\_ACEOF
4237 #define STDC_HEADERS 1
4242 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4252 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4253 inttypes.h stdint.h unistd.h
4255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4261 cat >conftest.$ac_ext <<_ACEOF
4264 cat confdefs.h >>conftest.$ac_ext
4265 cat >>conftest.$ac_ext <<_ACEOF
4266 /* end confdefs.h. */
4267 $ac_includes_default
4269 #include <$ac_header>
4271 rm -f conftest.$ac_objext
4272 if { (ac_try="$ac_compile"
4274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4275 *) ac_try_echo=$ac_try;;
4277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4278 (eval "$ac_compile") 2>conftest.er1
4280 grep -v '^ *+' conftest.er1 >conftest.err
4282 cat conftest.err >&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); } && {
4285 test -z "$ac_c_werror_flag" ||
4286 test ! -s conftest.err
4287 } && test -s conftest.$ac_objext; then
4288 eval "$as_ac_Header=yes"
4290 echo "$as_me: failed program was:" >&5
4291 sed 's/^/| /' conftest.$ac_ext >&5
4293 eval "$as_ac_Header=no"
4296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298 ac_res=`eval echo '${'$as_ac_Header'}'`
4299 { echo "$as_me:$LINENO: result: $ac_res" >&5
4300 echo "${ECHO_T}$ac_res" >&6; }
4301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4302 cat >>confdefs.h <<_ACEOF
4303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4311 if test "${ac_cv_header_minix_config_h+set}" = set; then
4312 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4313 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4314 if test "${ac_cv_header_minix_config_h+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4317 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4318 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4320 # Is the header compilable?
4321 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4322 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4323 cat >conftest.$ac_ext <<_ACEOF
4326 cat confdefs.h >>conftest.$ac_ext
4327 cat >>conftest.$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4329 $ac_includes_default
4330 #include <minix/config.h>
4332 rm -f conftest.$ac_objext
4333 if { (ac_try="$ac_compile"
4335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4336 *) ac_try_echo=$ac_try;;
4338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4339 (eval "$ac_compile") 2>conftest.er1
4341 grep -v '^ *+' conftest.er1 >conftest.err
4343 cat conftest.err >&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); } && {
4346 test -z "$ac_c_werror_flag" ||
4347 test ! -s conftest.err
4348 } && test -s conftest.$ac_objext; then
4349 ac_header_compiler=yes
4351 echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4354 ac_header_compiler=no
4357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4358 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4359 echo "${ECHO_T}$ac_header_compiler" >&6; }
4361 # Is the header present?
4362 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4363 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4364 cat >conftest.$ac_ext <<_ACEOF
4367 cat confdefs.h >>conftest.$ac_ext
4368 cat >>conftest.$ac_ext <<_ACEOF
4369 /* end confdefs.h. */
4370 #include <minix/config.h>
4372 if { (ac_try="$ac_cpp conftest.$ac_ext"
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4380 grep -v '^ *+' conftest.er1 >conftest.err
4382 cat conftest.err >&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } >/dev/null && {
4385 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4386 test ! -s conftest.err
4388 ac_header_preproc=yes
4390 echo "$as_me: failed program was:" >&5
4391 sed 's/^/| /' conftest.$ac_ext >&5
4393 ac_header_preproc=no
4396 rm -f conftest.err conftest.$ac_ext
4397 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4398 echo "${ECHO_T}$ac_header_preproc" >&6; }
4400 # So? What about this header?
4401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4403 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4404 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4405 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4406 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4407 ac_header_preproc=yes
4410 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4411 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4412 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4413 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4414 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4415 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4416 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4417 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4418 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4419 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4420 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4421 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4423 ## --------------------------------- ##
4424 ## Report this to bug-cvs@nongnu.org ##
4425 ## --------------------------------- ##
4427 ) | sed "s/^/$as_me: WARNING: /" >&2
4430 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4431 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4432 if test "${ac_cv_header_minix_config_h+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 ac_cv_header_minix_config_h=$ac_header_preproc
4437 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4438 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4441 if test $ac_cv_header_minix_config_h = yes; then
4448 if test "$MINIX" = yes; then
4450 cat >>confdefs.h <<\_ACEOF
4451 #define _POSIX_SOURCE 1
4455 cat >>confdefs.h <<\_ACEOF
4456 #define _POSIX_1_SOURCE 2
4460 cat >>confdefs.h <<\_ACEOF
4467 # Find the posix library needed on INTERACTIVE UNIX (ISC)
4468 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
4469 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
4470 if test "${ac_cv_search_strerror+set}" = set; then
4471 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 ac_func_search_save_LIBS=$LIBS
4474 cat >conftest.$ac_ext <<_ACEOF
4477 cat confdefs.h >>conftest.$ac_ext
4478 cat >>conftest.$ac_ext <<_ACEOF
4479 /* end confdefs.h. */
4481 /* Override any GCC internal prototype to avoid an error.
4482 Use char because int might match the return type of a GCC
4483 builtin and then its argument prototype would still apply. */
4496 for ac_lib in '' cposix; do
4497 if test -z "$ac_lib"; then
4498 ac_res="none required"
4501 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4503 rm -f conftest.$ac_objext conftest$ac_exeext
4504 if { (ac_try="$ac_link"
4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4510 (eval "$ac_link") 2>conftest.er1
4512 grep -v '^ *+' conftest.er1 >conftest.err
4514 cat conftest.err >&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); } && {
4517 test -z "$ac_c_werror_flag" ||
4518 test ! -s conftest.err
4519 } && test -s conftest$ac_exeext &&
4520 $as_test_x conftest$ac_exeext; then
4521 ac_cv_search_strerror=$ac_res
4523 echo "$as_me: failed program was:" >&5
4524 sed 's/^/| /' conftest.$ac_ext >&5
4529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4531 if test "${ac_cv_search_strerror+set}" = set; then
4535 if test "${ac_cv_search_strerror+set}" = set; then
4538 ac_cv_search_strerror=no
4541 LIBS=$ac_func_search_save_LIBS
4543 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4544 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
4545 ac_res=$ac_cv_search_strerror
4546 if test "$ac_res" != no; then
4547 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4553 if test -n "$ac_tool_prefix"; then
4554 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4555 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4558 if test "${ac_cv_prog_RANLIB+set}" = set; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 if test -n "$RANLIB"; then
4562 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 test -z "$as_dir" && as_dir=.
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4571 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 RANLIB=$ac_cv_prog_RANLIB
4582 if test -n "$RANLIB"; then
4583 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4584 echo "${ECHO_T}$RANLIB" >&6; }
4586 { echo "$as_me:$LINENO: result: no" >&5
4587 echo "${ECHO_T}no" >&6; }
4592 if test -z "$ac_cv_prog_RANLIB"; then
4593 ac_ct_RANLIB=$RANLIB
4594 # Extract the first word of "ranlib", so it can be a program name with args.
4595 set dummy ranlib; ac_word=$2
4596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4598 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 if test -n "$ac_ct_RANLIB"; then
4602 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608 test -z "$as_dir" && as_dir=.
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4611 ac_cv_prog_ac_ct_RANLIB="ranlib"
4612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4622 if test -n "$ac_ct_RANLIB"; then
4623 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4624 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4626 { echo "$as_me:$LINENO: result: no" >&5
4627 echo "${ECHO_T}no" >&6; }
4630 if test "x$ac_ct_RANLIB" = x; then
4633 case $cross_compiling:$ac_tool_warned in
4635 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4636 whose name does not start with the host triplet. If you think this
4637 configuration is useful to you, please write to autoconf@gnu.org." >&5
4638 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4639 whose name does not start with the host triplet. If you think this
4640 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4641 ac_tool_warned=yes ;;
4643 RANLIB=$ac_ct_RANLIB
4646 RANLIB="$ac_cv_prog_RANLIB"
4649 for ac_prog in 'bison -y' byacc
4651 # Extract the first word of "$ac_prog", so it can be a program name with args.
4652 set dummy $ac_prog; ac_word=$2
4653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4655 if test "${ac_cv_prog_YACC+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 if test -n "$YACC"; then
4659 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_YACC="$ac_prog"
4669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 YACC=$ac_cv_prog_YACC
4679 if test -n "$YACC"; then
4680 { echo "$as_me:$LINENO: result: $YACC" >&5
4681 echo "${ECHO_T}$YACC" >&6; }
4683 { echo "$as_me:$LINENO: result: no" >&5
4684 echo "${ECHO_T}no" >&6; }
4688 test -n "$YACC" && break
4690 test -n "$YACC" || YACC="yacc"
4692 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4693 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4695 if test "$LN_S" = "ln -s"; then
4696 { echo "$as_me:$LINENO: result: yes" >&5
4697 echo "${ECHO_T}yes" >&6; }
4699 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4700 echo "${ECHO_T}no, using $LN_S" >&6; }
4705 # Extract the first word of "perl", so it can be a program name with args.
4706 set dummy perl; ac_word=$2
4707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4709 if test "${ac_cv_path_PERL+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4714 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4721 test -z "$as_dir" && as_dir=.
4722 for ac_exec_ext in '' $ac_executable_extensions; do
4723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4724 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4732 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
4736 PERL=$ac_cv_path_PERL
4737 if test -n "$PERL"; then
4738 { echo "$as_me:$LINENO: result: $PERL" >&5
4739 echo "${ECHO_T}$PERL" >&6; }
4741 { echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6; }
4746 # Extract the first word of "csh", so it can be a program name with args.
4747 set dummy csh; ac_word=$2
4748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4750 if test "${ac_cv_path_CSH+set}" = set; then
4751 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 ac_cv_path_CSH="$CSH" # Let the user override the test with a path.
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4762 test -z "$as_dir" && as_dir=.
4763 for ac_exec_ext in '' $ac_executable_extensions; do
4764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4765 ac_cv_path_CSH="$as_dir/$ac_word$ac_exec_ext"
4766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 test -z "$ac_cv_path_CSH" && ac_cv_path_CSH="no"
4778 if test -n "$CSH"; then
4779 { echo "$as_me:$LINENO: result: $CSH" >&5
4780 echo "${ECHO_T}$CSH" >&6; }
4782 { echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6; }
4787 # for contrib/rcs2log.sh & src/cvsbug.in.
4788 # Extract the first word of "mktemp", so it can be a program name with args.
4789 set dummy mktemp; ac_word=$2
4790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4792 if test "${ac_cv_path_MKTEMP+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir=.
4805 for ac_exec_ext in '' $ac_executable_extensions; do
4806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4807 ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
4808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4815 test -z "$ac_cv_path_MKTEMP" && ac_cv_path_MKTEMP="mktemp"
4819 MKTEMP=$ac_cv_path_MKTEMP
4820 if test -n "$MKTEMP"; then
4821 { echo "$as_me:$LINENO: result: $MKTEMP" >&5
4822 echo "${ECHO_T}$MKTEMP" >&6; }
4824 { echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6; }
4829 if test x"$MKTEMP" = xmktemp; then
4830 MKTEMP_SH_FUNCTION=$srcdir/mktemp.sh
4832 MKTEMP_SH_FUNCTION=/dev/null
4836 # Extract the first word of "sendmail", so it can be a program name with args.
4837 set dummy sendmail; ac_word=$2
4838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4840 if test "${ac_cv_path_SENDMAIL+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849 as_dummy="$PATH:/usr/sbin:/usr/lib"
4850 for as_dir in $as_dummy
4853 test -z "$as_dir" && as_dir=.
4854 for ac_exec_ext in '' $ac_executable_extensions; do
4855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4856 ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
4857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4864 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL="no"
4868 SENDMAIL=$ac_cv_path_SENDMAIL
4869 if test -n "$SENDMAIL"; then
4870 { echo "$as_me:$LINENO: result: $SENDMAIL" >&5
4871 echo "${ECHO_T}$SENDMAIL" >&6; }
4873 { echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6; }
4879 # Extract the first word of "pr", so it can be a program name with args.
4880 set dummy pr; ac_word=$2
4881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4883 if test "${ac_cv_path_PR+set}" = set; then
4884 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 ac_cv_path_PR="$PR" # Let the user override the test with a path.
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4898 ac_cv_path_PR="$as_dir/$ac_word$ac_exec_ext"
4899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 test -z "$ac_cv_path_PR" && ac_cv_path_PR="no"
4911 if test -n "$PR"; then
4912 { echo "$as_me:$LINENO: result: $PR" >&5
4913 echo "${ECHO_T}$PR" >&6; }
4915 { echo "$as_me:$LINENO: result: no" >&5
4916 echo "${ECHO_T}no" >&6; }
4920 if test x"$PR" != xno; then
4922 cat >>confdefs.h <<_ACEOF
4923 #define PR_PROGRAM "$PR"
4928 missing_dir=`cd $ac_aux_dir && pwd`
4929 glocs="$PATH:/usr/local/bin:/usr/contrib/bin:/usr/gnu/bin:/local/bin:/local/gnu/bin:/gnu/bin"
4930 for ac_prog in groff roff
4932 # Extract the first word of "$ac_prog", so it can be a program name with args.
4933 set dummy $ac_prog; ac_word=$2
4934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4936 if test "${ac_cv_path_ROFF+set}" = set; then
4937 echo $ECHO_N "(cached) $ECHO_C" >&6
4941 ac_cv_path_ROFF="$ROFF" # Let the user override the test with a path.
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945 for as_dir in $glocs
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4951 ac_cv_path_ROFF="$as_dir/$ac_word$ac_exec_ext"
4952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 ROFF=$ac_cv_path_ROFF
4963 if test -n "$ROFF"; then
4964 { echo "$as_me:$LINENO: result: $ROFF" >&5
4965 echo "${ECHO_T}$ROFF" >&6; }
4967 { echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6; }
4972 test -n "$ROFF" && break
4974 test -n "$ROFF" || ROFF="$missing_dir/missing roff"
4976 # Extract the first word of "ps2pdf", so it can be a program name with args.
4977 set dummy ps2pdf; ac_word=$2
4978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4980 if test "${ac_cv_path_PS2PDF+set}" = set; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4985 ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4995 ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
4996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 test -z "$ac_cv_path_PS2PDF" && ac_cv_path_PS2PDF="$missing_dir/missing ps2pdf"
5007 PS2PDF=$ac_cv_path_PS2PDF
5008 if test -n "$PS2PDF"; then
5009 { echo "$as_me:$LINENO: result: $PS2PDF" >&5
5010 echo "${ECHO_T}$PS2PDF" >&6; }
5012 { echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6; }
5017 # Extract the first word of "texi2dvi", so it can be a program name with args.
5018 set dummy texi2dvi; ac_word=$2
5019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5021 if test "${ac_cv_path_TEXI2DVI+set}" = set; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 ac_cv_path_TEXI2DVI="$TEXI2DVI" # Let the user override the test with a path.
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5036 ac_cv_path_TEXI2DVI="$as_dir/$ac_word$ac_exec_ext"
5037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 test -z "$ac_cv_path_TEXI2DVI" && ac_cv_path_TEXI2DVI="$missing_dir/missing texi2dvi"
5048 TEXI2DVI=$ac_cv_path_TEXI2DVI
5049 if test -n "$TEXI2DVI"; then
5050 { echo "$as_me:$LINENO: result: $TEXI2DVI" >&5
5051 echo "${ECHO_T}$TEXI2DVI" >&6; }
5053 { echo "$as_me:$LINENO: result: no" >&5
5054 echo "${ECHO_T}no" >&6; }
5059 { echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5
5060 echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6; }
5061 if test "${ac_cv_sys_interpreter+set}" = set; then
5062 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null 2>&1)
5069 if test $? -ne 69; then
5070 ac_cv_sys_interpreter=yes
5072 ac_cv_sys_interpreter=no
5076 { echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5
5077 echo "${ECHO_T}$ac_cv_sys_interpreter" >&6; }
5078 interpval=$ac_cv_sys_interpreter
5080 if test X"$ac_cv_sys_interpreter" != X"yes" ; then
5081 # silly trick to avoid problems in AC macros...
5082 ac_msg='perl scripts using #! may not be invoked properly'
5083 { echo "$as_me:$LINENO: WARNING: $ac_msg" >&5
5084 echo "$as_me: WARNING: $ac_msg" >&2;}
5087 # BSD's logo is a devil for a reason, hey?
5088 { echo "$as_me:$LINENO: checking for BSD VPATH bug in make" >&5
5089 echo $ECHO_N "checking for BSD VPATH bug in make... $ECHO_C" >&6; }
5090 if test "${ccvs_cv_bsd_make_vpath_bug+set}" = set; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5093 if test ! -d ac_test_dir ; then
5094 { ac_try='mkdir ac_test_dir'
5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); }; }
5101 cat >conftestmake <<EOF
5103 ac_test_target: ac_test_dep
5104 echo BSD VPATH bug present >&2
5105 ac_test_dep: ac_test_dep_dep
5107 touch ac_test_dir/ac_test_dep_dep
5108 touch ac_test_dir/ac_test_dep
5109 touch ac_test_target
5110 # Don't know why, but the following test doesn't work under FreeBSD 4.2
5111 # without this sleep command
5113 if { ac_try='make -f conftestmake 2>&1 >/dev/null |grep ^BSD\ VPATH\ bug\ present\$ >/dev/null'
5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; } ; then
5119 ccvs_cv_bsd_make_vpath_bug=yes
5121 ccvs_cv_bsd_make_vpath_bug=no
5123 { ac_try='rm -rf ac_test_dir ac_test_target conftestmake'
5124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); }; }
5130 { echo "$as_me:$LINENO: result: $ccvs_cv_bsd_make_vpath_bug" >&5
5131 echo "${ECHO_T}$ccvs_cv_bsd_make_vpath_bug" >&6; }
5132 # We also don't need to worry about the bug when $srcdir = $builddir
5134 test $ccvs_cv_bsd_make_vpath_bug = no \
5135 || test $srcdir = .; then
5136 MAKE_TARGETS_IN_VPATH_TRUE=
5137 MAKE_TARGETS_IN_VPATH_FALSE='#'
5139 MAKE_TARGETS_IN_VPATH_TRUE='#'
5140 MAKE_TARGETS_IN_VPATH_FALSE=
5150 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5151 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5152 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5153 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5154 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 cat >conftest.$ac_ext <<_ACEOF
5160 cat confdefs.h >>conftest.$ac_ext
5161 cat >>conftest.$ac_ext <<_ACEOF
5162 /* end confdefs.h. */
5163 #include <sys/types.h>
5175 rm -f conftest.$ac_objext
5176 if { (ac_try="$ac_compile"
5178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5179 *) ac_try_echo=$ac_try;;
5181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5182 (eval "$ac_compile") 2>conftest.er1
5184 grep -v '^ *+' conftest.er1 >conftest.err
5186 cat conftest.err >&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); } && {
5189 test -z "$ac_c_werror_flag" ||
5190 test ! -s conftest.err
5191 } && test -s conftest.$ac_objext; then
5192 eval "$as_ac_Header=yes"
5194 echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 eval "$as_ac_Header=no"
5200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5202 ac_res=`eval echo '${'$as_ac_Header'}'`
5203 { echo "$as_me:$LINENO: result: $ac_res" >&5
5204 echo "${ECHO_T}$ac_res" >&6; }
5205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5206 cat >>confdefs.h <<_ACEOF
5207 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5210 ac_header_dirent=$ac_hdr; break
5214 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5215 if test $ac_header_dirent = dirent.h; then
5216 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5217 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5218 if test "${ac_cv_search_opendir+set}" = set; then
5219 echo $ECHO_N "(cached) $ECHO_C" >&6
5221 ac_func_search_save_LIBS=$LIBS
5222 cat >conftest.$ac_ext <<_ACEOF
5225 cat confdefs.h >>conftest.$ac_ext
5226 cat >>conftest.$ac_ext <<_ACEOF
5227 /* end confdefs.h. */
5229 /* Override any GCC internal prototype to avoid an error.
5230 Use char because int might match the return type of a GCC
5231 builtin and then its argument prototype would still apply. */
5244 for ac_lib in '' dir; do
5245 if test -z "$ac_lib"; then
5246 ac_res="none required"
5249 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5251 rm -f conftest.$ac_objext conftest$ac_exeext
5252 if { (ac_try="$ac_link"
5254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5255 *) ac_try_echo=$ac_try;;
5257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5258 (eval "$ac_link") 2>conftest.er1
5260 grep -v '^ *+' conftest.er1 >conftest.err
5262 cat conftest.err >&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } && {
5265 test -z "$ac_c_werror_flag" ||
5266 test ! -s conftest.err
5267 } && test -s conftest$ac_exeext &&
5268 $as_test_x conftest$ac_exeext; then
5269 ac_cv_search_opendir=$ac_res
5271 echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.$ac_ext >&5
5277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5279 if test "${ac_cv_search_opendir+set}" = set; then
5283 if test "${ac_cv_search_opendir+set}" = set; then
5286 ac_cv_search_opendir=no
5289 LIBS=$ac_func_search_save_LIBS
5291 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5292 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5293 ac_res=$ac_cv_search_opendir
5294 if test "$ac_res" != no; then
5295 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5300 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5301 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5302 if test "${ac_cv_search_opendir+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 ac_func_search_save_LIBS=$LIBS
5306 cat >conftest.$ac_ext <<_ACEOF
5309 cat confdefs.h >>conftest.$ac_ext
5310 cat >>conftest.$ac_ext <<_ACEOF
5311 /* end confdefs.h. */
5313 /* Override any GCC internal prototype to avoid an error.
5314 Use char because int might match the return type of a GCC
5315 builtin and then its argument prototype would still apply. */
5328 for ac_lib in '' x; do
5329 if test -z "$ac_lib"; then
5330 ac_res="none required"
5333 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5335 rm -f conftest.$ac_objext conftest$ac_exeext
5336 if { (ac_try="$ac_link"
5338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5339 *) ac_try_echo=$ac_try;;
5341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5342 (eval "$ac_link") 2>conftest.er1
5344 grep -v '^ *+' conftest.er1 >conftest.err
5346 cat conftest.err >&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } && {
5349 test -z "$ac_c_werror_flag" ||
5350 test ! -s conftest.err
5351 } && test -s conftest$ac_exeext &&
5352 $as_test_x conftest$ac_exeext; then
5353 ac_cv_search_opendir=$ac_res
5355 echo "$as_me: failed program was:" >&5
5356 sed 's/^/| /' conftest.$ac_ext >&5
5361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5363 if test "${ac_cv_search_opendir+set}" = set; then
5367 if test "${ac_cv_search_opendir+set}" = set; then
5370 ac_cv_search_opendir=no
5373 LIBS=$ac_func_search_save_LIBS
5375 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5376 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5377 ac_res=$ac_cv_search_opendir
5378 if test "$ac_res" != no; then
5379 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5385 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5386 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5387 if test "${ac_cv_header_stdc+set}" = set; then
5388 echo $ECHO_N "(cached) $ECHO_C" >&6
5390 cat >conftest.$ac_ext <<_ACEOF
5393 cat confdefs.h >>conftest.$ac_ext
5394 cat >>conftest.$ac_ext <<_ACEOF
5395 /* end confdefs.h. */
5409 rm -f conftest.$ac_objext
5410 if { (ac_try="$ac_compile"
5412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5413 *) ac_try_echo=$ac_try;;
5415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5416 (eval "$ac_compile") 2>conftest.er1
5418 grep -v '^ *+' conftest.er1 >conftest.err
5420 cat conftest.err >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); } && {
5423 test -z "$ac_c_werror_flag" ||
5424 test ! -s conftest.err
5425 } && test -s conftest.$ac_objext; then
5426 ac_cv_header_stdc=yes
5428 echo "$as_me: failed program was:" >&5
5429 sed 's/^/| /' conftest.$ac_ext >&5
5431 ac_cv_header_stdc=no
5434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5436 if test $ac_cv_header_stdc = yes; then
5437 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5438 cat >conftest.$ac_ext <<_ACEOF
5441 cat confdefs.h >>conftest.$ac_ext
5442 cat >>conftest.$ac_ext <<_ACEOF
5443 /* end confdefs.h. */
5447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5448 $EGREP "memchr" >/dev/null 2>&1; then
5451 ac_cv_header_stdc=no
5457 if test $ac_cv_header_stdc = yes; then
5458 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5459 cat >conftest.$ac_ext <<_ACEOF
5462 cat confdefs.h >>conftest.$ac_ext
5463 cat >>conftest.$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5469 $EGREP "free" >/dev/null 2>&1; then
5472 ac_cv_header_stdc=no
5478 if test $ac_cv_header_stdc = yes; then
5479 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5480 if test "$cross_compiling" = yes; then
5483 cat >conftest.$ac_ext <<_ACEOF
5486 cat confdefs.h >>conftest.$ac_ext
5487 cat >>conftest.$ac_ext <<_ACEOF
5488 /* end confdefs.h. */
5491 #if ((' ' & 0x0FF) == 0x020)
5492 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5493 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5495 # define ISLOWER(c) \
5496 (('a' <= (c) && (c) <= 'i') \
5497 || ('j' <= (c) && (c) <= 'r') \
5498 || ('s' <= (c) && (c) <= 'z'))
5499 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5502 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5507 for (i = 0; i < 256; i++)
5508 if (XOR (islower (i), ISLOWER (i))
5509 || toupper (i) != TOUPPER (i))
5514 rm -f conftest$ac_exeext
5515 if { (ac_try="$ac_link"
5517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5518 *) ac_try_echo=$ac_try;;
5520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521 (eval "$ac_link") 2>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5525 { (case "(($ac_try" in
5526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5527 *) ac_try_echo=$ac_try;;
5529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5530 (eval "$ac_try") 2>&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); }; }; then
5536 echo "$as_me: program exited with status $ac_status" >&5
5537 echo "$as_me: failed program was:" >&5
5538 sed 's/^/| /' conftest.$ac_ext >&5
5541 ac_cv_header_stdc=no
5543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5549 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5550 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5551 if test $ac_cv_header_stdc = yes; then
5553 cat >>confdefs.h <<\_ACEOF
5554 #define STDC_HEADERS 1
5559 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5560 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
5561 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 cat >conftest.$ac_ext <<_ACEOF
5567 cat confdefs.h >>conftest.$ac_ext
5568 cat >>conftest.$ac_ext <<_ACEOF
5569 /* end confdefs.h. */
5570 #include <sys/types.h>
5571 #include <sys/wait.h>
5573 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5576 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5584 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5589 rm -f conftest.$ac_objext
5590 if { (ac_try="$ac_compile"
5592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5593 *) ac_try_echo=$ac_try;;
5595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5596 (eval "$ac_compile") 2>conftest.er1
5598 grep -v '^ *+' conftest.er1 >conftest.err
5600 cat conftest.err >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } && {
5603 test -z "$ac_c_werror_flag" ||
5604 test ! -s conftest.err
5605 } && test -s conftest.$ac_objext; then
5606 ac_cv_header_sys_wait_h=yes
5608 echo "$as_me: failed program was:" >&5
5609 sed 's/^/| /' conftest.$ac_ext >&5
5611 ac_cv_header_sys_wait_h=no
5614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5616 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5617 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
5618 if test $ac_cv_header_sys_wait_h = yes; then
5620 cat >>confdefs.h <<\_ACEOF
5621 #define HAVE_SYS_WAIT_H 1
5667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5669 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5671 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 ac_res=`eval echo '${'$as_ac_Header'}'`
5675 { echo "$as_me:$LINENO: result: $ac_res" >&5
5676 echo "${ECHO_T}$ac_res" >&6; }
5678 # Is the header compilable?
5679 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5681 cat >conftest.$ac_ext <<_ACEOF
5684 cat confdefs.h >>conftest.$ac_ext
5685 cat >>conftest.$ac_ext <<_ACEOF
5686 /* end confdefs.h. */
5687 $ac_includes_default
5688 #include <$ac_header>
5690 rm -f conftest.$ac_objext
5691 if { (ac_try="$ac_compile"
5693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5694 *) ac_try_echo=$ac_try;;
5696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5697 (eval "$ac_compile") 2>conftest.er1
5699 grep -v '^ *+' conftest.er1 >conftest.err
5701 cat conftest.err >&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } && {
5704 test -z "$ac_c_werror_flag" ||
5705 test ! -s conftest.err
5706 } && test -s conftest.$ac_objext; then
5707 ac_header_compiler=yes
5709 echo "$as_me: failed program was:" >&5
5710 sed 's/^/| /' conftest.$ac_ext >&5
5712 ac_header_compiler=no
5715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5716 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5717 echo "${ECHO_T}$ac_header_compiler" >&6; }
5719 # Is the header present?
5720 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5722 cat >conftest.$ac_ext <<_ACEOF
5725 cat confdefs.h >>conftest.$ac_ext
5726 cat >>conftest.$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5728 #include <$ac_header>
5730 if { (ac_try="$ac_cpp conftest.$ac_ext"
5732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5733 *) ac_try_echo=$ac_try;;
5735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5738 grep -v '^ *+' conftest.er1 >conftest.err
5740 cat conftest.err >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); } >/dev/null && {
5743 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5744 test ! -s conftest.err
5746 ac_header_preproc=yes
5748 echo "$as_me: failed program was:" >&5
5749 sed 's/^/| /' conftest.$ac_ext >&5
5751 ac_header_preproc=no
5754 rm -f conftest.err conftest.$ac_ext
5755 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5756 echo "${ECHO_T}$ac_header_preproc" >&6; }
5758 # So? What about this header?
5759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5762 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5764 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5765 ac_header_preproc=yes
5768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5769 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5771 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5772 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5773 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5774 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5775 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5778 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5779 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5781 ## --------------------------------- ##
5782 ## Report this to bug-cvs@nongnu.org ##
5783 ## --------------------------------- ##
5785 ) | sed "s/^/$as_me: WARNING: /" >&2
5788 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5790 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5793 eval "$as_ac_Header=\$ac_header_preproc"
5795 ac_res=`eval echo '${'$as_ac_Header'}'`
5796 { echo "$as_me:$LINENO: result: $ac_res" >&5
5797 echo "${ECHO_T}$ac_res" >&6; }
5800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5801 cat >>confdefs.h <<_ACEOF
5802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5809 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5810 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
5811 if test "${ac_cv_header_stat_broken+set}" = set; then
5812 echo $ECHO_N "(cached) $ECHO_C" >&6
5814 cat >conftest.$ac_ext <<_ACEOF
5817 cat confdefs.h >>conftest.$ac_ext
5818 cat >>conftest.$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5820 #include <sys/types.h>
5821 #include <sys/stat.h>
5823 #if defined S_ISBLK && defined S_IFDIR
5824 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5827 #if defined S_ISBLK && defined S_IFCHR
5828 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5831 #if defined S_ISLNK && defined S_IFREG
5832 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5835 #if defined S_ISSOCK && defined S_IFREG
5836 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5840 rm -f conftest.$ac_objext
5841 if { (ac_try="$ac_compile"
5843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5844 *) ac_try_echo=$ac_try;;
5846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5847 (eval "$ac_compile") 2>conftest.er1
5849 grep -v '^ *+' conftest.er1 >conftest.err
5851 cat conftest.err >&5
5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853 (exit $ac_status); } && {
5854 test -z "$ac_c_werror_flag" ||
5855 test ! -s conftest.err
5856 } && test -s conftest.$ac_objext; then
5857 ac_cv_header_stat_broken=no
5859 echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.$ac_ext >&5
5862 ac_cv_header_stat_broken=yes
5865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5867 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
5868 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
5869 if test $ac_cv_header_stat_broken = yes; then
5871 cat >>confdefs.h <<\_ACEOF
5872 #define STAT_MACROS_BROKEN 1
5877 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5878 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5879 if test "${ac_cv_header_time+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 cat >conftest.$ac_ext <<_ACEOF
5885 cat confdefs.h >>conftest.$ac_ext
5886 cat >>conftest.$ac_ext <<_ACEOF
5887 /* end confdefs.h. */
5888 #include <sys/types.h>
5889 #include <sys/time.h>
5895 if ((struct tm *) 0)
5901 rm -f conftest.$ac_objext
5902 if { (ac_try="$ac_compile"
5904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5905 *) ac_try_echo=$ac_try;;
5907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5908 (eval "$ac_compile") 2>conftest.er1
5910 grep -v '^ *+' conftest.er1 >conftest.err
5912 cat conftest.err >&5
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); } && {
5915 test -z "$ac_c_werror_flag" ||
5916 test ! -s conftest.err
5917 } && test -s conftest.$ac_objext; then
5918 ac_cv_header_time=yes
5920 echo "$as_me: failed program was:" >&5
5921 sed 's/^/| /' conftest.$ac_ext >&5
5923 ac_cv_header_time=no
5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5928 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5929 echo "${ECHO_T}$ac_cv_header_time" >&6; }
5930 if test $ac_cv_header_time = yes; then
5932 cat >>confdefs.h <<\_ACEOF
5933 #define TIME_WITH_SYS_TIME 1
5939 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5940 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
5941 if test "${ac_cv_c_const+set}" = set; then
5942 echo $ECHO_N "(cached) $ECHO_C" >&6
5944 cat >conftest.$ac_ext <<_ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5954 /* FIXME: Include the comments suggested by Paul. */
5956 /* Ultrix mips cc rejects this. */
5957 typedef int charset[2];
5959 /* SunOS 4.1.1 cc rejects this. */
5960 char const *const *pcpcc;
5962 /* NEC SVR4.0.2 mips cc rejects this. */
5963 struct point {int x, y;};
5964 static struct point const zero = {0,0};
5965 /* AIX XL C 1.02.0.0 rejects this.
5966 It does not let you subtract one const X* pointer from another in
5967 an arm of an if-expression whose if-part is not a constant
5969 const char *g = "string";
5970 pcpcc = &g + (g ? g-g : 0);
5971 /* HPUX 7.0 cc rejects these. */
5973 ppc = (char**) pcpcc;
5974 pcpcc = (char const *const *) ppc;
5975 { /* SCO 3.2v4 cc rejects this. */
5977 char const *s = 0 ? (char *) 0 : (char const *) 0;
5982 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5984 const int *foo = &x[0];
5987 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5988 typedef const int *iptr;
5992 { /* AIX XL C 1.02.0.0 rejects this saying
5993 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5994 struct s { int j; const int *ap[3]; };
5995 struct s *b; b->j = 5;
5997 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6001 return !cs[0] && !zero.x;
6008 rm -f conftest.$ac_objext
6009 if { (ac_try="$ac_compile"
6011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6012 *) ac_try_echo=$ac_try;;
6014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6015 (eval "$ac_compile") 2>conftest.er1
6017 grep -v '^ *+' conftest.er1 >conftest.err
6019 cat conftest.err >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } && {
6022 test -z "$ac_c_werror_flag" ||
6023 test ! -s conftest.err
6024 } && test -s conftest.$ac_objext; then
6027 echo "$as_me: failed program was:" >&5
6028 sed 's/^/| /' conftest.$ac_ext >&5
6033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6035 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6036 echo "${ECHO_T}$ac_cv_c_const" >&6; }
6037 if test $ac_cv_c_const = no; then
6039 cat >>confdefs.h <<\_ACEOF
6045 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
6046 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
6047 if test "${ac_cv_type_uid_t+set}" = set; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 cat >conftest.$ac_ext <<_ACEOF
6053 cat confdefs.h >>conftest.$ac_ext
6054 cat >>conftest.$ac_ext <<_ACEOF
6055 /* end confdefs.h. */
6056 #include <sys/types.h>
6059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6060 $EGREP "uid_t" >/dev/null 2>&1; then
6061 ac_cv_type_uid_t=yes
6068 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
6069 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
6070 if test $ac_cv_type_uid_t = no; then
6072 cat >>confdefs.h <<\_ACEOF
6077 cat >>confdefs.h <<\_ACEOF
6083 { echo "$as_me:$LINENO: checking for mode_t" >&5
6084 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
6085 if test "${ac_cv_type_mode_t+set}" = set; then
6086 echo $ECHO_N "(cached) $ECHO_C" >&6
6088 cat >conftest.$ac_ext <<_ACEOF
6091 cat confdefs.h >>conftest.$ac_ext
6092 cat >>conftest.$ac_ext <<_ACEOF
6093 /* end confdefs.h. */
6094 $ac_includes_default
6095 typedef mode_t ac__type_new_;
6099 if ((ac__type_new_ *) 0)
6101 if (sizeof (ac__type_new_))
6107 rm -f conftest.$ac_objext
6108 if { (ac_try="$ac_compile"
6110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6111 *) ac_try_echo=$ac_try;;
6113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6114 (eval "$ac_compile") 2>conftest.er1
6116 grep -v '^ *+' conftest.er1 >conftest.err
6118 cat conftest.err >&5
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); } && {
6121 test -z "$ac_c_werror_flag" ||
6122 test ! -s conftest.err
6123 } && test -s conftest.$ac_objext; then
6124 ac_cv_type_mode_t=yes
6126 echo "$as_me: failed program was:" >&5
6127 sed 's/^/| /' conftest.$ac_ext >&5
6129 ac_cv_type_mode_t=no
6132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6134 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
6135 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
6136 if test $ac_cv_type_mode_t = yes; then
6140 cat >>confdefs.h <<_ACEOF
6146 { echo "$as_me:$LINENO: checking for pid_t" >&5
6147 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
6148 if test "${ac_cv_type_pid_t+set}" = set; then
6149 echo $ECHO_N "(cached) $ECHO_C" >&6
6151 cat >conftest.$ac_ext <<_ACEOF
6154 cat confdefs.h >>conftest.$ac_ext
6155 cat >>conftest.$ac_ext <<_ACEOF
6156 /* end confdefs.h. */
6157 $ac_includes_default
6158 typedef pid_t ac__type_new_;
6162 if ((ac__type_new_ *) 0)
6164 if (sizeof (ac__type_new_))
6170 rm -f conftest.$ac_objext
6171 if { (ac_try="$ac_compile"
6173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6174 *) ac_try_echo=$ac_try;;
6176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6177 (eval "$ac_compile") 2>conftest.er1
6179 grep -v '^ *+' conftest.er1 >conftest.err
6181 cat conftest.err >&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); } && {
6184 test -z "$ac_c_werror_flag" ||
6185 test ! -s conftest.err
6186 } && test -s conftest.$ac_objext; then
6187 ac_cv_type_pid_t=yes
6189 echo "$as_me: failed program was:" >&5
6190 sed 's/^/| /' conftest.$ac_ext >&5
6195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6197 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6198 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
6199 if test $ac_cv_type_pid_t = yes; then
6203 cat >>confdefs.h <<_ACEOF
6209 { echo "$as_me:$LINENO: checking for size_t" >&5
6210 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
6211 if test "${ac_cv_type_size_t+set}" = set; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6214 cat >conftest.$ac_ext <<_ACEOF
6217 cat confdefs.h >>conftest.$ac_ext
6218 cat >>conftest.$ac_ext <<_ACEOF
6219 /* end confdefs.h. */
6220 $ac_includes_default
6221 typedef size_t ac__type_new_;
6225 if ((ac__type_new_ *) 0)
6227 if (sizeof (ac__type_new_))
6233 rm -f conftest.$ac_objext
6234 if { (ac_try="$ac_compile"
6236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6237 *) ac_try_echo=$ac_try;;
6239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6240 (eval "$ac_compile") 2>conftest.er1
6242 grep -v '^ *+' conftest.er1 >conftest.err
6244 cat conftest.err >&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); } && {
6247 test -z "$ac_c_werror_flag" ||
6248 test ! -s conftest.err
6249 } && test -s conftest.$ac_objext; then
6250 ac_cv_type_size_t=yes
6252 echo "$as_me: failed program was:" >&5
6253 sed 's/^/| /' conftest.$ac_ext >&5
6255 ac_cv_type_size_t=no
6258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6260 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6261 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
6262 if test $ac_cv_type_size_t = yes; then
6266 cat >>confdefs.h <<_ACEOF
6267 #define size_t unsigned int
6272 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6273 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
6274 if test "${ac_cv_type_signal+set}" = set; then
6275 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 cat >conftest.$ac_ext <<_ACEOF
6280 cat confdefs.h >>conftest.$ac_ext
6281 cat >>conftest.$ac_ext <<_ACEOF
6282 /* end confdefs.h. */
6283 #include <sys/types.h>
6289 return *(signal (0, 0)) (0) == 1;
6294 rm -f conftest.$ac_objext
6295 if { (ac_try="$ac_compile"
6297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6298 *) ac_try_echo=$ac_try;;
6300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 test -z "$ac_c_werror_flag" ||
6309 test ! -s conftest.err
6310 } && test -s conftest.$ac_objext; then
6311 ac_cv_type_signal=int
6313 echo "$as_me: failed program was:" >&5
6314 sed 's/^/| /' conftest.$ac_ext >&5
6316 ac_cv_type_signal=void
6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6321 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6322 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
6324 cat >>confdefs.h <<_ACEOF
6325 #define RETSIGTYPE $ac_cv_type_signal
6330 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6331 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6332 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 cat >conftest.$ac_ext <<_ACEOF
6338 cat confdefs.h >>conftest.$ac_ext
6339 cat >>conftest.$ac_ext <<_ACEOF
6340 /* end confdefs.h. */
6341 $ac_includes_default
6345 static struct stat ac_aggr;
6346 if (ac_aggr.st_blksize)
6352 rm -f conftest.$ac_objext
6353 if { (ac_try="$ac_compile"
6355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6356 *) ac_try_echo=$ac_try;;
6358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6359 (eval "$ac_compile") 2>conftest.er1
6361 grep -v '^ *+' conftest.er1 >conftest.err
6363 cat conftest.err >&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); } && {
6366 test -z "$ac_c_werror_flag" ||
6367 test ! -s conftest.err
6368 } && test -s conftest.$ac_objext; then
6369 ac_cv_member_struct_stat_st_blksize=yes
6371 echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6374 cat >conftest.$ac_ext <<_ACEOF
6377 cat confdefs.h >>conftest.$ac_ext
6378 cat >>conftest.$ac_ext <<_ACEOF
6379 /* end confdefs.h. */
6380 $ac_includes_default
6384 static struct stat ac_aggr;
6385 if (sizeof ac_aggr.st_blksize)
6391 rm -f conftest.$ac_objext
6392 if { (ac_try="$ac_compile"
6394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6395 *) ac_try_echo=$ac_try;;
6397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6398 (eval "$ac_compile") 2>conftest.er1
6400 grep -v '^ *+' conftest.er1 >conftest.err
6402 cat conftest.err >&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); } && {
6405 test -z "$ac_c_werror_flag" ||
6406 test ! -s conftest.err
6407 } && test -s conftest.$ac_objext; then
6408 ac_cv_member_struct_stat_st_blksize=yes
6410 echo "$as_me: failed program was:" >&5
6411 sed 's/^/| /' conftest.$ac_ext >&5
6413 ac_cv_member_struct_stat_st_blksize=no
6416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6421 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6422 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6423 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6425 cat >>confdefs.h <<_ACEOF
6426 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6432 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6433 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6434 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6435 echo $ECHO_N "(cached) $ECHO_C" >&6
6437 cat >conftest.$ac_ext <<_ACEOF
6440 cat confdefs.h >>conftest.$ac_ext
6441 cat >>conftest.$ac_ext <<_ACEOF
6442 /* end confdefs.h. */
6443 $ac_includes_default
6447 static struct stat ac_aggr;
6448 if (ac_aggr.st_rdev)
6454 rm -f conftest.$ac_objext
6455 if { (ac_try="$ac_compile"
6457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6458 *) ac_try_echo=$ac_try;;
6460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6461 (eval "$ac_compile") 2>conftest.er1
6463 grep -v '^ *+' conftest.er1 >conftest.err
6465 cat conftest.err >&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); } && {
6468 test -z "$ac_c_werror_flag" ||
6469 test ! -s conftest.err
6470 } && test -s conftest.$ac_objext; then
6471 ac_cv_member_struct_stat_st_rdev=yes
6473 echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.$ac_ext >&5
6476 cat >conftest.$ac_ext <<_ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6482 $ac_includes_default
6486 static struct stat ac_aggr;
6487 if (sizeof ac_aggr.st_rdev)
6493 rm -f conftest.$ac_objext
6494 if { (ac_try="$ac_compile"
6496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6497 *) ac_try_echo=$ac_try;;
6499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6500 (eval "$ac_compile") 2>conftest.er1
6502 grep -v '^ *+' conftest.er1 >conftest.err
6504 cat conftest.err >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } && {
6507 test -z "$ac_c_werror_flag" ||
6508 test ! -s conftest.err
6509 } && test -s conftest.$ac_objext; then
6510 ac_cv_member_struct_stat_st_rdev=yes
6512 echo "$as_me: failed program was:" >&5
6513 sed 's/^/| /' conftest.$ac_ext >&5
6515 ac_cv_member_struct_stat_st_rdev=no
6518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6523 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6524 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6525 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6527 cat >>confdefs.h <<_ACEOF
6528 #define HAVE_STRUCT_STAT_ST_RDEV 1
6560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6561 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6563 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6564 echo $ECHO_N "(cached) $ECHO_C" >&6
6566 cat >conftest.$ac_ext <<_ACEOF
6569 cat confdefs.h >>conftest.$ac_ext
6570 cat >>conftest.$ac_ext <<_ACEOF
6571 /* end confdefs.h. */
6572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6574 #define $ac_func innocuous_$ac_func
6576 /* System header to define __stub macros and hopefully few prototypes,
6577 which can conflict with char $ac_func (); below.
6578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6579 <limits.h> exists even on freestanding compilers. */
6582 # include <limits.h>
6584 # include <assert.h>
6589 /* Override any GCC internal prototype to avoid an error.
6590 Use char because int might match the return type of a GCC
6591 builtin and then its argument prototype would still apply. */
6596 /* The GNU C library defines this for functions which it implements
6597 to always fail with ENOSYS. Some functions are actually named
6598 something starting with __ and the normal name is an alias. */
6599 #if defined __stub_$ac_func || defined __stub___$ac_func
6611 rm -f conftest.$ac_objext conftest$ac_exeext
6612 if { (ac_try="$ac_link"
6614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6615 *) ac_try_echo=$ac_try;;
6617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6618 (eval "$ac_link") 2>conftest.er1
6620 grep -v '^ *+' conftest.er1 >conftest.err
6622 cat conftest.err >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); } && {
6625 test -z "$ac_c_werror_flag" ||
6626 test ! -s conftest.err
6627 } && test -s conftest$ac_exeext &&
6628 $as_test_x conftest$ac_exeext; then
6629 eval "$as_ac_var=yes"
6631 echo "$as_me: failed program was:" >&5
6632 sed 's/^/| /' conftest.$ac_ext >&5
6634 eval "$as_ac_var=no"
6637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6638 conftest$ac_exeext conftest.$ac_ext
6640 ac_res=`eval echo '${'$as_ac_var'}'`
6641 { echo "$as_me:$LINENO: result: $ac_res" >&5
6642 echo "${ECHO_T}$ac_res" >&6; }
6643 if test `eval echo '${'$as_ac_var'}'` = yes; then
6644 cat >>confdefs.h <<_ACEOF
6645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6649 case " $LIBOBJS " in
6650 *" $ac_func.$ac_objext "* ) ;;
6651 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
6664 for ac_header in stdint.h
6666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6667 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 ac_res=`eval echo '${'$as_ac_Header'}'`
6674 { echo "$as_me:$LINENO: result: $ac_res" >&5
6675 echo "${ECHO_T}$ac_res" >&6; }
6677 # Is the header compilable?
6678 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6680 cat >conftest.$ac_ext <<_ACEOF
6683 cat confdefs.h >>conftest.$ac_ext
6684 cat >>conftest.$ac_ext <<_ACEOF
6685 /* end confdefs.h. */
6686 $ac_includes_default
6687 #include <$ac_header>
6689 rm -f conftest.$ac_objext
6690 if { (ac_try="$ac_compile"
6692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6693 *) ac_try_echo=$ac_try;;
6695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6696 (eval "$ac_compile") 2>conftest.er1
6698 grep -v '^ *+' conftest.er1 >conftest.err
6700 cat conftest.err >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } && {
6703 test -z "$ac_c_werror_flag" ||
6704 test ! -s conftest.err
6705 } && test -s conftest.$ac_objext; then
6706 ac_header_compiler=yes
6708 echo "$as_me: failed program was:" >&5
6709 sed 's/^/| /' conftest.$ac_ext >&5
6711 ac_header_compiler=no
6714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6715 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6716 echo "${ECHO_T}$ac_header_compiler" >&6; }
6718 # Is the header present?
6719 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6721 cat >conftest.$ac_ext <<_ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h. */
6727 #include <$ac_header>
6729 if { (ac_try="$ac_cpp conftest.$ac_ext"
6731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6732 *) ac_try_echo=$ac_try;;
6734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6737 grep -v '^ *+' conftest.er1 >conftest.err
6739 cat conftest.err >&5
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); } >/dev/null && {
6742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6743 test ! -s conftest.err
6745 ac_header_preproc=yes
6747 echo "$as_me: failed program was:" >&5
6748 sed 's/^/| /' conftest.$ac_ext >&5
6750 ac_header_preproc=no
6753 rm -f conftest.err conftest.$ac_ext
6754 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6755 echo "${ECHO_T}$ac_header_preproc" >&6; }
6757 # So? What about this header?
6758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6764 ac_header_preproc=yes
6767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6780 ## --------------------------------- ##
6781 ## Report this to bug-cvs@nongnu.org ##
6782 ## --------------------------------- ##
6784 ) | sed "s/^/$as_me: WARNING: /" >&2
6787 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6790 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 eval "$as_ac_Header=\$ac_header_preproc"
6794 ac_res=`eval echo '${'$as_ac_Header'}'`
6795 { echo "$as_me:$LINENO: result: $ac_res" >&5
6796 echo "${ECHO_T}$ac_res" >&6; }
6799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6800 cat >>confdefs.h <<_ACEOF
6801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6808 { echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
6809 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; }
6811 cat >conftest.$ac_ext <<_ACEOF
6814 cat confdefs.h >>conftest.$ac_ext
6815 cat >>conftest.$ac_ext <<_ACEOF
6816 /* end confdefs.h. */
6827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6828 $EGREP "Found it" >/dev/null 2>&1; then
6833 if test -z "$result"; then
6834 if test "$cross_compiling" = yes; then
6835 # Depending upon the size, compute the lo and hi bounds.
6836 cat >conftest.$ac_ext <<_ACEOF
6839 cat confdefs.h >>conftest.$ac_ext
6840 cat >>conftest.$ac_ext <<_ACEOF
6841 /* end confdefs.h. */
6846 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
6853 rm -f conftest.$ac_objext
6854 if { (ac_try="$ac_compile"
6856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6857 *) ac_try_echo=$ac_try;;
6859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6860 (eval "$ac_compile") 2>conftest.er1
6862 grep -v '^ *+' conftest.er1 >conftest.err
6864 cat conftest.err >&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); } && {
6867 test -z "$ac_c_werror_flag" ||
6868 test ! -s conftest.err
6869 } && test -s conftest.$ac_objext; then
6872 cat >conftest.$ac_ext <<_ACEOF
6875 cat confdefs.h >>conftest.$ac_ext
6876 cat >>conftest.$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6882 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
6889 rm -f conftest.$ac_objext
6890 if { (ac_try="$ac_compile"
6892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6893 *) ac_try_echo=$ac_try;;
6895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6896 (eval "$ac_compile") 2>conftest.er1
6898 grep -v '^ *+' conftest.er1 >conftest.err
6900 cat conftest.err >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } && {
6903 test -z "$ac_c_werror_flag" ||
6904 test ! -s conftest.err
6905 } && test -s conftest.$ac_objext; then
6906 ac_hi=$ac_mid; break
6908 echo "$as_me: failed program was:" >&5
6909 sed 's/^/| /' conftest.$ac_ext >&5
6911 ac_lo=`expr $ac_mid + 1`
6912 if test $ac_lo -le $ac_mid; then
6916 ac_mid=`expr 2 '*' $ac_mid + 1`
6919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6925 cat >conftest.$ac_ext <<_ACEOF
6928 cat confdefs.h >>conftest.$ac_ext
6929 cat >>conftest.$ac_ext <<_ACEOF
6930 /* end confdefs.h. */
6935 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
6942 rm -f conftest.$ac_objext
6943 if { (ac_try="$ac_compile"
6945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6946 *) ac_try_echo=$ac_try;;
6948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6949 (eval "$ac_compile") 2>conftest.er1
6951 grep -v '^ *+' conftest.er1 >conftest.err
6953 cat conftest.err >&5
6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955 (exit $ac_status); } && {
6956 test -z "$ac_c_werror_flag" ||
6957 test ! -s conftest.err
6958 } && test -s conftest.$ac_objext; then
6961 cat >conftest.$ac_ext <<_ACEOF
6964 cat confdefs.h >>conftest.$ac_ext
6965 cat >>conftest.$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6971 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
6978 rm -f conftest.$ac_objext
6979 if { (ac_try="$ac_compile"
6981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6982 *) ac_try_echo=$ac_try;;
6984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6985 (eval "$ac_compile") 2>conftest.er1
6987 grep -v '^ *+' conftest.er1 >conftest.err
6989 cat conftest.err >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); } && {
6992 test -z "$ac_c_werror_flag" ||
6993 test ! -s conftest.err
6994 } && test -s conftest.$ac_objext; then
6995 ac_lo=$ac_mid; break
6997 echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.$ac_ext >&5
7000 ac_hi=`expr '(' $ac_mid ')' - 1`
7001 if test $ac_mid -le $ac_hi; then
7005 ac_mid=`expr 2 '*' $ac_mid`
7008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7011 echo "$as_me: failed program was:" >&5
7012 sed 's/^/| /' conftest.$ac_ext >&5
7017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7021 # Binary search between lo and hi bounds.
7022 while test "x$ac_lo" != "x$ac_hi"; do
7023 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7024 cat >conftest.$ac_ext <<_ACEOF
7027 cat confdefs.h >>conftest.$ac_ext
7028 cat >>conftest.$ac_ext <<_ACEOF
7029 /* end confdefs.h. */
7034 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
7041 rm -f conftest.$ac_objext
7042 if { (ac_try="$ac_compile"
7044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7045 *) ac_try_echo=$ac_try;;
7047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7048 (eval "$ac_compile") 2>conftest.er1
7050 grep -v '^ *+' conftest.er1 >conftest.err
7052 cat conftest.err >&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); } && {
7055 test -z "$ac_c_werror_flag" ||
7056 test ! -s conftest.err
7057 } && test -s conftest.$ac_objext; then
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.$ac_ext >&5
7063 ac_lo=`expr '(' $ac_mid ')' + 1`
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7073 cat >conftest.$ac_ext <<_ACEOF
7076 cat confdefs.h >>conftest.$ac_ext
7077 cat >>conftest.$ac_ext <<_ACEOF
7078 /* end confdefs.h. */
7080 static long int longval () { return ~(size_t)0 / 10; }
7081 static unsigned long int ulongval () { return ~(size_t)0 / 10; }
7088 FILE *f = fopen ("conftest.val", "w");
7091 if ((~(size_t)0 / 10) < 0)
7093 long int i = longval ();
7094 if (i != (~(size_t)0 / 10))
7096 fprintf (f, "%ld\n", i);
7100 unsigned long int i = ulongval ();
7101 if (i != (~(size_t)0 / 10))
7103 fprintf (f, "%lu\n", i);
7105 return ferror (f) || fclose (f) != 0;
7111 rm -f conftest$ac_exeext
7112 if { (ac_try="$ac_link"
7114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7115 *) ac_try_echo=$ac_try;;
7117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7118 (eval "$ac_link") 2>&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7122 { (case "(($ac_try" in
7123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7124 *) ac_try_echo=$ac_try;;
7126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7127 (eval "$ac_try") 2>&5
7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130 (exit $ac_status); }; }; then
7131 res_hi=`cat conftest.val`
7133 echo "$as_me: program exited with status $ac_status" >&5
7134 echo "$as_me: failed program was:" >&5
7135 sed 's/^/| /' conftest.$ac_ext >&5
7140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7144 if test "$cross_compiling" = yes; then
7145 # Depending upon the size, compute the lo and hi bounds.
7146 cat >conftest.$ac_ext <<_ACEOF
7149 cat confdefs.h >>conftest.$ac_ext
7150 cat >>conftest.$ac_ext <<_ACEOF
7151 /* end confdefs.h. */
7156 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
7163 rm -f conftest.$ac_objext
7164 if { (ac_try="$ac_compile"
7166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7167 *) ac_try_echo=$ac_try;;
7169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7170 (eval "$ac_compile") 2>conftest.er1
7172 grep -v '^ *+' conftest.er1 >conftest.err
7174 cat conftest.err >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); } && {
7177 test -z "$ac_c_werror_flag" ||
7178 test ! -s conftest.err
7179 } && test -s conftest.$ac_objext; then
7182 cat >conftest.$ac_ext <<_ACEOF
7185 cat confdefs.h >>conftest.$ac_ext
7186 cat >>conftest.$ac_ext <<_ACEOF
7187 /* end confdefs.h. */
7192 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
7199 rm -f conftest.$ac_objext
7200 if { (ac_try="$ac_compile"
7202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7203 *) ac_try_echo=$ac_try;;
7205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7206 (eval "$ac_compile") 2>conftest.er1
7208 grep -v '^ *+' conftest.er1 >conftest.err
7210 cat conftest.err >&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } && {
7213 test -z "$ac_c_werror_flag" ||
7214 test ! -s conftest.err
7215 } && test -s conftest.$ac_objext; then
7216 ac_hi=$ac_mid; break
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.$ac_ext >&5
7221 ac_lo=`expr $ac_mid + 1`
7222 if test $ac_lo -le $ac_mid; then
7226 ac_mid=`expr 2 '*' $ac_mid + 1`
7229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7232 echo "$as_me: failed program was:" >&5
7233 sed 's/^/| /' conftest.$ac_ext >&5
7235 cat >conftest.$ac_ext <<_ACEOF
7238 cat confdefs.h >>conftest.$ac_ext
7239 cat >>conftest.$ac_ext <<_ACEOF
7240 /* end confdefs.h. */
7245 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
7252 rm -f conftest.$ac_objext
7253 if { (ac_try="$ac_compile"
7255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7256 *) ac_try_echo=$ac_try;;
7258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7259 (eval "$ac_compile") 2>conftest.er1
7261 grep -v '^ *+' conftest.er1 >conftest.err
7263 cat conftest.err >&5
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); } && {
7266 test -z "$ac_c_werror_flag" ||
7267 test ! -s conftest.err
7268 } && test -s conftest.$ac_objext; then
7271 cat >conftest.$ac_ext <<_ACEOF
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7281 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
7288 rm -f conftest.$ac_objext
7289 if { (ac_try="$ac_compile"
7291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7292 *) ac_try_echo=$ac_try;;
7294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7295 (eval "$ac_compile") 2>conftest.er1
7297 grep -v '^ *+' conftest.er1 >conftest.err
7299 cat conftest.err >&5
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); } && {
7302 test -z "$ac_c_werror_flag" ||
7303 test ! -s conftest.err
7304 } && test -s conftest.$ac_objext; then
7305 ac_lo=$ac_mid; break
7307 echo "$as_me: failed program was:" >&5
7308 sed 's/^/| /' conftest.$ac_ext >&5
7310 ac_hi=`expr '(' $ac_mid ')' - 1`
7311 if test $ac_mid -le $ac_hi; then
7315 ac_mid=`expr 2 '*' $ac_mid`
7318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7321 echo "$as_me: failed program was:" >&5
7322 sed 's/^/| /' conftest.$ac_ext >&5
7327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7331 # Binary search between lo and hi bounds.
7332 while test "x$ac_lo" != "x$ac_hi"; do
7333 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7334 cat >conftest.$ac_ext <<_ACEOF
7337 cat confdefs.h >>conftest.$ac_ext
7338 cat >>conftest.$ac_ext <<_ACEOF
7339 /* end confdefs.h. */
7344 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
7351 rm -f conftest.$ac_objext
7352 if { (ac_try="$ac_compile"
7354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7355 *) ac_try_echo=$ac_try;;
7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 (eval "$ac_compile") 2>conftest.er1
7360 grep -v '^ *+' conftest.er1 >conftest.err
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } && {
7365 test -z "$ac_c_werror_flag" ||
7366 test ! -s conftest.err
7367 } && test -s conftest.$ac_objext; then
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7373 ac_lo=`expr '(' $ac_mid ')' + 1`
7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7383 cat >conftest.$ac_ext <<_ACEOF
7386 cat confdefs.h >>conftest.$ac_ext
7387 cat >>conftest.$ac_ext <<_ACEOF
7388 /* end confdefs.h. */
7390 static long int longval () { return ~(size_t)0 % 10; }
7391 static unsigned long int ulongval () { return ~(size_t)0 % 10; }
7398 FILE *f = fopen ("conftest.val", "w");
7401 if ((~(size_t)0 % 10) < 0)
7403 long int i = longval ();
7404 if (i != (~(size_t)0 % 10))
7406 fprintf (f, "%ld\n", i);
7410 unsigned long int i = ulongval ();
7411 if (i != (~(size_t)0 % 10))
7413 fprintf (f, "%lu\n", i);
7415 return ferror (f) || fclose (f) != 0;
7421 rm -f conftest$ac_exeext
7422 if { (ac_try="$ac_link"
7424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7425 *) ac_try_echo=$ac_try;;
7427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7428 (eval "$ac_link") 2>&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7432 { (case "(($ac_try" in
7433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7434 *) ac_try_echo=$ac_try;;
7436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7437 (eval "$ac_try") 2>&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); }; }; then
7441 res_lo=`cat conftest.val`
7443 echo "$as_me: program exited with status $ac_status" >&5
7444 echo "$as_me: failed program was:" >&5
7445 sed 's/^/| /' conftest.$ac_ext >&5
7450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7454 if test "$cross_compiling" = yes; then
7455 # Depending upon the size, compute the lo and hi bounds.
7456 cat >conftest.$ac_ext <<_ACEOF
7459 cat confdefs.h >>conftest.$ac_ext
7460 cat >>conftest.$ac_ext <<_ACEOF
7461 /* end confdefs.h. */
7466 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
7473 rm -f conftest.$ac_objext
7474 if { (ac_try="$ac_compile"
7476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7477 *) ac_try_echo=$ac_try;;
7479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7480 (eval "$ac_compile") 2>conftest.er1
7482 grep -v '^ *+' conftest.er1 >conftest.err
7484 cat conftest.err >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); } && {
7487 test -z "$ac_c_werror_flag" ||
7488 test ! -s conftest.err
7489 } && test -s conftest.$ac_objext; then
7492 cat >conftest.$ac_ext <<_ACEOF
7495 cat confdefs.h >>conftest.$ac_ext
7496 cat >>conftest.$ac_ext <<_ACEOF
7497 /* end confdefs.h. */
7502 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7509 rm -f conftest.$ac_objext
7510 if { (ac_try="$ac_compile"
7512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7513 *) ac_try_echo=$ac_try;;
7515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7516 (eval "$ac_compile") 2>conftest.er1
7518 grep -v '^ *+' conftest.er1 >conftest.err
7520 cat conftest.err >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); } && {
7523 test -z "$ac_c_werror_flag" ||
7524 test ! -s conftest.err
7525 } && test -s conftest.$ac_objext; then
7526 ac_hi=$ac_mid; break
7528 echo "$as_me: failed program was:" >&5
7529 sed 's/^/| /' conftest.$ac_ext >&5
7531 ac_lo=`expr $ac_mid + 1`
7532 if test $ac_lo -le $ac_mid; then
7536 ac_mid=`expr 2 '*' $ac_mid + 1`
7539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7545 cat >conftest.$ac_ext <<_ACEOF
7548 cat confdefs.h >>conftest.$ac_ext
7549 cat >>conftest.$ac_ext <<_ACEOF
7550 /* end confdefs.h. */
7555 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
7562 rm -f conftest.$ac_objext
7563 if { (ac_try="$ac_compile"
7565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7566 *) ac_try_echo=$ac_try;;
7568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7569 (eval "$ac_compile") 2>conftest.er1
7571 grep -v '^ *+' conftest.er1 >conftest.err
7573 cat conftest.err >&5
7574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575 (exit $ac_status); } && {
7576 test -z "$ac_c_werror_flag" ||
7577 test ! -s conftest.err
7578 } && test -s conftest.$ac_objext; then
7581 cat >conftest.$ac_ext <<_ACEOF
7584 cat confdefs.h >>conftest.$ac_ext
7585 cat >>conftest.$ac_ext <<_ACEOF
7586 /* end confdefs.h. */
7591 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
7598 rm -f conftest.$ac_objext
7599 if { (ac_try="$ac_compile"
7601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7602 *) ac_try_echo=$ac_try;;
7604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7605 (eval "$ac_compile") 2>conftest.er1
7607 grep -v '^ *+' conftest.er1 >conftest.err
7609 cat conftest.err >&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); } && {
7612 test -z "$ac_c_werror_flag" ||
7613 test ! -s conftest.err
7614 } && test -s conftest.$ac_objext; then
7615 ac_lo=$ac_mid; break
7617 echo "$as_me: failed program was:" >&5
7618 sed 's/^/| /' conftest.$ac_ext >&5
7620 ac_hi=`expr '(' $ac_mid ')' - 1`
7621 if test $ac_mid -le $ac_hi; then
7625 ac_mid=`expr 2 '*' $ac_mid`
7628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7631 echo "$as_me: failed program was:" >&5
7632 sed 's/^/| /' conftest.$ac_ext >&5
7637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7641 # Binary search between lo and hi bounds.
7642 while test "x$ac_lo" != "x$ac_hi"; do
7643 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7644 cat >conftest.$ac_ext <<_ACEOF
7647 cat confdefs.h >>conftest.$ac_ext
7648 cat >>conftest.$ac_ext <<_ACEOF
7649 /* end confdefs.h. */
7654 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7661 rm -f conftest.$ac_objext
7662 if { (ac_try="$ac_compile"
7664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7665 *) ac_try_echo=$ac_try;;
7667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7668 (eval "$ac_compile") 2>conftest.er1
7670 grep -v '^ *+' conftest.er1 >conftest.err
7672 cat conftest.err >&5
7673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 (exit $ac_status); } && {
7675 test -z "$ac_c_werror_flag" ||
7676 test ! -s conftest.err
7677 } && test -s conftest.$ac_objext; then
7680 echo "$as_me: failed program was:" >&5
7681 sed 's/^/| /' conftest.$ac_ext >&5
7683 ac_lo=`expr '(' $ac_mid ')' + 1`
7686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7689 ?*) fits_in_uint=$ac_lo;;
7693 cat >conftest.$ac_ext <<_ACEOF
7696 cat confdefs.h >>conftest.$ac_ext
7697 cat >>conftest.$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7700 static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
7701 static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
7708 FILE *f = fopen ("conftest.val", "w");
7711 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
7713 long int i = longval ();
7714 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
7716 fprintf (f, "%ld\n", i);
7720 unsigned long int i = ulongval ();
7721 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
7723 fprintf (f, "%lu\n", i);
7725 return ferror (f) || fclose (f) != 0;
7731 rm -f conftest$ac_exeext
7732 if { (ac_try="$ac_link"
7734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7738 (eval "$ac_link") 2>&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7742 { (case "(($ac_try" in
7743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7744 *) ac_try_echo=$ac_try;;
7746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7747 (eval "$ac_try") 2>&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }; }; then
7751 fits_in_uint=`cat conftest.val`
7753 echo "$as_me: program exited with status $ac_status" >&5
7754 echo "$as_me: failed program was:" >&5
7755 sed 's/^/| /' conftest.$ac_ext >&5
7760 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7764 if test "$fits_in_uint" = 1; then
7765 cat >conftest.$ac_ext <<_ACEOF
7768 cat confdefs.h >>conftest.$ac_ext
7769 cat >>conftest.$ac_ext <<_ACEOF
7770 /* end confdefs.h. */
7773 extern unsigned long foo;
7783 rm -f conftest.$ac_objext
7784 if { (ac_try="$ac_compile"
7786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7787 *) ac_try_echo=$ac_try;;
7789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7790 (eval "$ac_compile") 2>conftest.er1
7792 grep -v '^ *+' conftest.er1 >conftest.err
7794 cat conftest.err >&5
7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); } && {
7797 test -z "$ac_c_werror_flag" ||
7798 test ! -s conftest.err
7799 } && test -s conftest.$ac_objext; then
7802 echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.$ac_ext >&5
7808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7810 if test -z "$result"; then
7811 if test "$fits_in_uint" = 1; then
7812 result="$res_hi$res_lo"U
7814 result="$res_hi$res_lo"UL
7820 { echo "$as_me:$LINENO: result: $result" >&5
7821 echo "${ECHO_T}$result" >&6; }
7822 if test "$result" != yes; then
7824 cat >>confdefs.h <<_ACEOF
7825 #define SIZE_MAX $result
7830 { echo "$as_me:$LINENO: checking for inline" >&5
7831 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7832 if test "${ac_cv_c_inline+set}" = set; then
7833 echo $ECHO_N "(cached) $ECHO_C" >&6
7836 for ac_kw in inline __inline__ __inline; do
7837 cat >conftest.$ac_ext <<_ACEOF
7840 cat confdefs.h >>conftest.$ac_ext
7841 cat >>conftest.$ac_ext <<_ACEOF
7842 /* end confdefs.h. */
7845 static $ac_kw foo_t static_foo () {return 0; }
7846 $ac_kw foo_t foo () {return 0; }
7850 rm -f conftest.$ac_objext
7851 if { (ac_try="$ac_compile"
7853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7854 *) ac_try_echo=$ac_try;;
7856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7857 (eval "$ac_compile") 2>conftest.er1
7859 grep -v '^ *+' conftest.er1 >conftest.err
7861 cat conftest.err >&5
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); } && {
7864 test -z "$ac_c_werror_flag" ||
7865 test ! -s conftest.err
7866 } && test -s conftest.$ac_objext; then
7867 ac_cv_c_inline=$ac_kw
7869 echo "$as_me: failed program was:" >&5
7870 sed 's/^/| /' conftest.$ac_ext >&5
7875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7876 test "$ac_cv_c_inline" != no && break
7880 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7881 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7884 case $ac_cv_c_inline in
7887 case $ac_cv_c_inline in
7889 *) ac_val=$ac_cv_c_inline;;
7891 cat >>confdefs.h <<_ACEOF
7893 #define inline $ac_val
7903 for ac_header in stdint.h
7905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7907 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7910 echo $ECHO_N "(cached) $ECHO_C" >&6
7912 ac_res=`eval echo '${'$as_ac_Header'}'`
7913 { echo "$as_me:$LINENO: result: $ac_res" >&5
7914 echo "${ECHO_T}$ac_res" >&6; }
7916 # Is the header compilable?
7917 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7918 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7919 cat >conftest.$ac_ext <<_ACEOF
7922 cat confdefs.h >>conftest.$ac_ext
7923 cat >>conftest.$ac_ext <<_ACEOF
7924 /* end confdefs.h. */
7925 $ac_includes_default
7926 #include <$ac_header>
7928 rm -f conftest.$ac_objext
7929 if { (ac_try="$ac_compile"
7931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7932 *) ac_try_echo=$ac_try;;
7934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7935 (eval "$ac_compile") 2>conftest.er1
7937 grep -v '^ *+' conftest.er1 >conftest.err
7939 cat conftest.err >&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); } && {
7942 test -z "$ac_c_werror_flag" ||
7943 test ! -s conftest.err
7944 } && test -s conftest.$ac_objext; then
7945 ac_header_compiler=yes
7947 echo "$as_me: failed program was:" >&5
7948 sed 's/^/| /' conftest.$ac_ext >&5
7950 ac_header_compiler=no
7953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7954 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7955 echo "${ECHO_T}$ac_header_compiler" >&6; }
7957 # Is the header present?
7958 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7960 cat >conftest.$ac_ext <<_ACEOF
7963 cat confdefs.h >>conftest.$ac_ext
7964 cat >>conftest.$ac_ext <<_ACEOF
7965 /* end confdefs.h. */
7966 #include <$ac_header>
7968 if { (ac_try="$ac_cpp conftest.$ac_ext"
7970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7971 *) ac_try_echo=$ac_try;;
7973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7974 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7976 grep -v '^ *+' conftest.er1 >conftest.err
7978 cat conftest.err >&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); } >/dev/null && {
7981 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7982 test ! -s conftest.err
7984 ac_header_preproc=yes
7986 echo "$as_me: failed program was:" >&5
7987 sed 's/^/| /' conftest.$ac_ext >&5
7989 ac_header_preproc=no
7992 rm -f conftest.err conftest.$ac_ext
7993 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7994 echo "${ECHO_T}$ac_header_preproc" >&6; }
7996 # So? What about this header?
7997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8003 ac_header_preproc=yes
8006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8019 ## --------------------------------- ##
8020 ## Report this to bug-cvs@nongnu.org ##
8021 ## --------------------------------- ##
8023 ) | sed "s/^/$as_me: WARNING: /" >&2
8026 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8031 eval "$as_ac_Header=\$ac_header_preproc"
8033 ac_res=`eval echo '${'$as_ac_Header'}'`
8034 { echo "$as_me:$LINENO: result: $ac_res" >&5
8035 echo "${ECHO_T}$ac_res" >&6; }
8038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8039 cat >>confdefs.h <<_ACEOF
8040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8050 cat >>confdefs.h <<\_ACEOF
8051 #define getpass cvs_getpass
8123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8129 cat >conftest.$ac_ext <<_ACEOF
8132 cat confdefs.h >>conftest.$ac_ext
8133 cat >>conftest.$ac_ext <<_ACEOF
8134 /* end confdefs.h. */
8135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8137 #define $ac_func innocuous_$ac_func
8139 /* System header to define __stub macros and hopefully few prototypes,
8140 which can conflict with char $ac_func (); below.
8141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8142 <limits.h> exists even on freestanding compilers. */
8145 # include <limits.h>
8147 # include <assert.h>
8152 /* Override any GCC internal prototype to avoid an error.
8153 Use char because int might match the return type of a GCC
8154 builtin and then its argument prototype would still apply. */
8159 /* The GNU C library defines this for functions which it implements
8160 to always fail with ENOSYS. Some functions are actually named
8161 something starting with __ and the normal name is an alias. */
8162 #if defined __stub_$ac_func || defined __stub___$ac_func
8174 rm -f conftest.$ac_objext conftest$ac_exeext
8175 if { (ac_try="$ac_link"
8177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8178 *) ac_try_echo=$ac_try;;
8180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8181 (eval "$ac_link") 2>conftest.er1
8183 grep -v '^ *+' conftest.er1 >conftest.err
8185 cat conftest.err >&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); } && {
8188 test -z "$ac_c_werror_flag" ||
8189 test ! -s conftest.err
8190 } && test -s conftest$ac_exeext &&
8191 $as_test_x conftest$ac_exeext; then
8192 eval "$as_ac_var=yes"
8194 echo "$as_me: failed program was:" >&5
8195 sed 's/^/| /' conftest.$ac_ext >&5
8197 eval "$as_ac_var=no"
8200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8201 conftest$ac_exeext conftest.$ac_ext
8203 ac_res=`eval echo '${'$as_ac_var'}'`
8204 { echo "$as_me:$LINENO: result: $ac_res" >&5
8205 echo "${ECHO_T}$ac_res" >&6; }
8206 if test `eval echo '${'$as_ac_var'}'` = yes; then
8207 cat >>confdefs.h <<_ACEOF
8208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8214 # we only need one of the following
8224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8225 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8227 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 cat >conftest.$ac_ext <<_ACEOF
8233 cat confdefs.h >>conftest.$ac_ext
8234 cat >>conftest.$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8238 #define $ac_func innocuous_$ac_func
8240 /* System header to define __stub macros and hopefully few prototypes,
8241 which can conflict with char $ac_func (); below.
8242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8243 <limits.h> exists even on freestanding compilers. */
8246 # include <limits.h>
8248 # include <assert.h>
8253 /* Override any GCC internal prototype to avoid an error.
8254 Use char because int might match the return type of a GCC
8255 builtin and then its argument prototype would still apply. */
8260 /* The GNU C library defines this for functions which it implements
8261 to always fail with ENOSYS. Some functions are actually named
8262 something starting with __ and the normal name is an alias. */
8263 #if defined __stub_$ac_func || defined __stub___$ac_func
8275 rm -f conftest.$ac_objext conftest$ac_exeext
8276 if { (ac_try="$ac_link"
8278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8279 *) ac_try_echo=$ac_try;;
8281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8282 (eval "$ac_link") 2>conftest.er1
8284 grep -v '^ *+' conftest.er1 >conftest.err
8286 cat conftest.err >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } && {
8289 test -z "$ac_c_werror_flag" ||
8290 test ! -s conftest.err
8291 } && test -s conftest$ac_exeext &&
8292 $as_test_x conftest$ac_exeext; then
8293 eval "$as_ac_var=yes"
8295 echo "$as_me: failed program was:" >&5
8296 sed 's/^/| /' conftest.$ac_ext >&5
8298 eval "$as_ac_var=no"
8301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8302 conftest$ac_exeext conftest.$ac_ext
8304 ac_res=`eval echo '${'$as_ac_var'}'`
8305 { echo "$as_me:$LINENO: result: $ac_res" >&5
8306 echo "${ECHO_T}$ac_res" >&6; }
8307 if test `eval echo '${'$as_ac_var'}'` = yes; then
8308 cat >>confdefs.h <<_ACEOF
8309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8317 cat >>confdefs.h <<\_ACEOF
8318 #define HAVE_STRCHR 1
8322 cat >>confdefs.h <<\_ACEOF
8323 #define HAVE_MEMCHR 1
8328 cat >>confdefs.h <<\_ACEOF
8329 #define REGEX_MALLOC 1
8333 cat >>confdefs.h <<\_ACEOF
8334 #define _REGEX_RE_COMP 1
8338 for ac_header in vfork.h
8340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8342 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8345 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 ac_res=`eval echo '${'$as_ac_Header'}'`
8348 { echo "$as_me:$LINENO: result: $ac_res" >&5
8349 echo "${ECHO_T}$ac_res" >&6; }
8351 # Is the header compilable?
8352 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8354 cat >conftest.$ac_ext <<_ACEOF
8357 cat confdefs.h >>conftest.$ac_ext
8358 cat >>conftest.$ac_ext <<_ACEOF
8359 /* end confdefs.h. */
8360 $ac_includes_default
8361 #include <$ac_header>
8363 rm -f conftest.$ac_objext
8364 if { (ac_try="$ac_compile"
8366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8367 *) ac_try_echo=$ac_try;;
8369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8370 (eval "$ac_compile") 2>conftest.er1
8372 grep -v '^ *+' conftest.er1 >conftest.err
8374 cat conftest.err >&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); } && {
8377 test -z "$ac_c_werror_flag" ||
8378 test ! -s conftest.err
8379 } && test -s conftest.$ac_objext; then
8380 ac_header_compiler=yes
8382 echo "$as_me: failed program was:" >&5
8383 sed 's/^/| /' conftest.$ac_ext >&5
8385 ac_header_compiler=no
8388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8389 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8390 echo "${ECHO_T}$ac_header_compiler" >&6; }
8392 # Is the header present?
8393 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8395 cat >conftest.$ac_ext <<_ACEOF
8398 cat confdefs.h >>conftest.$ac_ext
8399 cat >>conftest.$ac_ext <<_ACEOF
8400 /* end confdefs.h. */
8401 #include <$ac_header>
8403 if { (ac_try="$ac_cpp conftest.$ac_ext"
8405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8406 *) ac_try_echo=$ac_try;;
8408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8409 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8411 grep -v '^ *+' conftest.er1 >conftest.err
8413 cat conftest.err >&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); } >/dev/null && {
8416 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8417 test ! -s conftest.err
8419 ac_header_preproc=yes
8421 echo "$as_me: failed program was:" >&5
8422 sed 's/^/| /' conftest.$ac_ext >&5
8424 ac_header_preproc=no
8427 rm -f conftest.err conftest.$ac_ext
8428 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8429 echo "${ECHO_T}$ac_header_preproc" >&6; }
8431 # So? What about this header?
8432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8437 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8438 ac_header_preproc=yes
8441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8442 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8444 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8446 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8448 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8454 ## --------------------------------- ##
8455 ## Report this to bug-cvs@nongnu.org ##
8456 ## --------------------------------- ##
8458 ) | sed "s/^/$as_me: WARNING: /" >&2
8461 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 eval "$as_ac_Header=\$ac_header_preproc"
8468 ac_res=`eval echo '${'$as_ac_Header'}'`
8469 { echo "$as_me:$LINENO: result: $ac_res" >&5
8470 echo "${ECHO_T}$ac_res" >&6; }
8473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8474 cat >>confdefs.h <<_ACEOF
8475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8484 for ac_func in fork vfork
8486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8490 echo $ECHO_N "(cached) $ECHO_C" >&6
8492 cat >conftest.$ac_ext <<_ACEOF
8495 cat confdefs.h >>conftest.$ac_ext
8496 cat >>conftest.$ac_ext <<_ACEOF
8497 /* end confdefs.h. */
8498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8500 #define $ac_func innocuous_$ac_func
8502 /* System header to define __stub macros and hopefully few prototypes,
8503 which can conflict with char $ac_func (); below.
8504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8505 <limits.h> exists even on freestanding compilers. */
8508 # include <limits.h>
8510 # include <assert.h>
8515 /* Override any GCC internal prototype to avoid an error.
8516 Use char because int might match the return type of a GCC
8517 builtin and then its argument prototype would still apply. */
8522 /* The GNU C library defines this for functions which it implements
8523 to always fail with ENOSYS. Some functions are actually named
8524 something starting with __ and the normal name is an alias. */
8525 #if defined __stub_$ac_func || defined __stub___$ac_func
8537 rm -f conftest.$ac_objext conftest$ac_exeext
8538 if { (ac_try="$ac_link"
8540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8541 *) ac_try_echo=$ac_try;;
8543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8544 (eval "$ac_link") 2>conftest.er1
8546 grep -v '^ *+' conftest.er1 >conftest.err
8548 cat conftest.err >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } && {
8551 test -z "$ac_c_werror_flag" ||
8552 test ! -s conftest.err
8553 } && test -s conftest$ac_exeext &&
8554 $as_test_x conftest$ac_exeext; then
8555 eval "$as_ac_var=yes"
8557 echo "$as_me: failed program was:" >&5
8558 sed 's/^/| /' conftest.$ac_ext >&5
8560 eval "$as_ac_var=no"
8563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8564 conftest$ac_exeext conftest.$ac_ext
8566 ac_res=`eval echo '${'$as_ac_var'}'`
8567 { echo "$as_me:$LINENO: result: $ac_res" >&5
8568 echo "${ECHO_T}$ac_res" >&6; }
8569 if test `eval echo '${'$as_ac_var'}'` = yes; then
8570 cat >>confdefs.h <<_ACEOF
8571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8577 if test "x$ac_cv_func_fork" = xyes; then
8578 { echo "$as_me:$LINENO: checking for working fork" >&5
8579 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
8580 if test "${ac_cv_func_fork_works+set}" = set; then
8581 echo $ECHO_N "(cached) $ECHO_C" >&6
8583 if test "$cross_compiling" = yes; then
8584 ac_cv_func_fork_works=cross
8586 cat >conftest.$ac_ext <<_ACEOF
8589 cat confdefs.h >>conftest.$ac_ext
8590 cat >>conftest.$ac_ext <<_ACEOF
8591 /* end confdefs.h. */
8592 $ac_includes_default
8597 /* By Ruediger Kuhlmann. */
8604 rm -f conftest$ac_exeext
8605 if { (ac_try="$ac_link"
8607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8608 *) ac_try_echo=$ac_try;;
8610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8611 (eval "$ac_link") 2>&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8615 { (case "(($ac_try" in
8616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8617 *) ac_try_echo=$ac_try;;
8619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8620 (eval "$ac_try") 2>&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); }; }; then
8624 ac_cv_func_fork_works=yes
8626 echo "$as_me: program exited with status $ac_status" >&5
8627 echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.$ac_ext >&5
8631 ac_cv_func_fork_works=no
8633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8638 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
8639 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
8642 ac_cv_func_fork_works=$ac_cv_func_fork
8644 if test "x$ac_cv_func_fork_works" = xcross; then
8646 *-*-amigaos* | *-*-msdosdjgpp*)
8647 # Override, as these systems have only a dummy fork() stub
8648 ac_cv_func_fork_works=no
8651 ac_cv_func_fork_works=yes
8654 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
8655 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
8657 ac_cv_func_vfork_works=$ac_cv_func_vfork
8658 if test "x$ac_cv_func_vfork" = xyes; then
8659 { echo "$as_me:$LINENO: checking for working vfork" >&5
8660 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
8661 if test "${ac_cv_func_vfork_works+set}" = set; then
8662 echo $ECHO_N "(cached) $ECHO_C" >&6
8664 if test "$cross_compiling" = yes; then
8665 ac_cv_func_vfork_works=cross
8667 cat >conftest.$ac_ext <<_ACEOF
8670 cat confdefs.h >>conftest.$ac_ext
8671 cat >>conftest.$ac_ext <<_ACEOF
8672 /* end confdefs.h. */
8673 /* Thanks to Paul Eggert for this test. */
8674 $ac_includes_default
8675 #include <sys/wait.h>
8679 /* On some sparc systems, changes by the child to local and incoming
8680 argument registers are propagated back to the parent. The compiler
8681 is told about this with #include <vfork.h>, but some compilers
8682 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
8683 static variable whose address is put into a register that is
8684 clobbered by the vfork. */
8687 sparc_address_test (int arg)
8689 sparc_address_test (arg) int arg;
8710 pid_t parent = getpid ();
8713 sparc_address_test (0);
8718 /* Here is another test for sparc vfork register problems. This
8719 test uses lots of local variables, at least as many local
8720 variables as main has allocated so far including compiler
8721 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
8722 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
8723 reuse the register of parent for one of the local variables,
8724 since it will think that parent can't possibly be used any more
8725 in this routine. Assigning to the local variable will thus
8726 munge parent in the parent process. */
8728 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
8729 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
8730 /* Convince the compiler that p..p7 are live; otherwise, it might
8731 use the same hardware register for all 8 local variables. */
8732 if (p != p1 || p != p2 || p != p3 || p != p4
8733 || p != p5 || p != p6 || p != p7)
8736 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
8737 from child file descriptors. If the child closes a descriptor
8738 before it execs or exits, this munges the parent's descriptor
8739 as well. Test for this by closing stdout in the child. */
8740 _exit(close(fileno(stdout)) != 0);
8745 while (wait(&status) != child)
8748 /* Was there some problem with vforking? */
8751 /* Did the child fail? (This shouldn't happen.) */
8754 /* Did the vfork/compiler bug occur? */
8755 || parent != getpid()
8757 /* Did the file descriptor bug occur? */
8758 || fstat(fileno(stdout), &st) != 0
8763 rm -f conftest$ac_exeext
8764 if { (ac_try="$ac_link"
8766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8767 *) ac_try_echo=$ac_try;;
8769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8770 (eval "$ac_link") 2>&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8774 { (case "(($ac_try" in
8775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8776 *) ac_try_echo=$ac_try;;
8778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8779 (eval "$ac_try") 2>&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 (exit $ac_status); }; }; then
8783 ac_cv_func_vfork_works=yes
8785 echo "$as_me: program exited with status $ac_status" >&5
8786 echo "$as_me: failed program was:" >&5
8787 sed 's/^/| /' conftest.$ac_ext >&5
8790 ac_cv_func_vfork_works=no
8792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8797 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
8798 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
8801 if test "x$ac_cv_func_fork_works" = xcross; then
8802 ac_cv_func_vfork_works=$ac_cv_func_vfork
8803 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
8804 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
8807 if test "x$ac_cv_func_vfork_works" = xyes; then
8809 cat >>confdefs.h <<\_ACEOF
8810 #define HAVE_WORKING_VFORK 1
8815 cat >>confdefs.h <<\_ACEOF
8820 if test "x$ac_cv_func_fork_works" = xyes; then
8822 cat >>confdefs.h <<\_ACEOF
8823 #define HAVE_WORKING_FORK 1
8828 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8829 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
8830 if test "${ac_cv_func_closedir_void+set}" = set; then
8831 echo $ECHO_N "(cached) $ECHO_C" >&6
8833 if test "$cross_compiling" = yes; then
8834 ac_cv_func_closedir_void=yes
8836 cat >conftest.$ac_ext <<_ACEOF
8839 cat confdefs.h >>conftest.$ac_ext
8840 cat >>conftest.$ac_ext <<_ACEOF
8841 /* end confdefs.h. */
8842 $ac_includes_default
8843 #include <$ac_header_dirent>
8851 return closedir (opendir (".")) != 0;
8856 rm -f conftest$ac_exeext
8857 if { (ac_try="$ac_link"
8859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8860 *) ac_try_echo=$ac_try;;
8862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8863 (eval "$ac_link") 2>&5
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8867 { (case "(($ac_try" in
8868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8869 *) ac_try_echo=$ac_try;;
8871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8872 (eval "$ac_try") 2>&5
8874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875 (exit $ac_status); }; }; then
8876 ac_cv_func_closedir_void=no
8878 echo "$as_me: program exited with status $ac_status" >&5
8879 echo "$as_me: failed program was:" >&5
8880 sed 's/^/| /' conftest.$ac_ext >&5
8883 ac_cv_func_closedir_void=yes
8885 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8890 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8891 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
8892 if test $ac_cv_func_closedir_void = yes; then
8894 cat >>confdefs.h <<\_ACEOF
8895 #define CLOSEDIR_VOID 1
8901 { echo "$as_me:$LINENO: checking for library containing getspnam" >&5
8902 echo $ECHO_N "checking for library containing getspnam... $ECHO_C" >&6; }
8903 if test "${ac_cv_search_getspnam+set}" = set; then
8904 echo $ECHO_N "(cached) $ECHO_C" >&6
8906 ac_func_search_save_LIBS=$LIBS
8907 cat >conftest.$ac_ext <<_ACEOF
8910 cat confdefs.h >>conftest.$ac_ext
8911 cat >>conftest.$ac_ext <<_ACEOF
8912 /* end confdefs.h. */
8914 /* Override any GCC internal prototype to avoid an error.
8915 Use char because int might match the return type of a GCC
8916 builtin and then its argument prototype would still apply. */
8929 for ac_lib in '' sec gen; do
8930 if test -z "$ac_lib"; then
8931 ac_res="none required"
8934 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8936 rm -f conftest.$ac_objext conftest$ac_exeext
8937 if { (ac_try="$ac_link"
8939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8940 *) ac_try_echo=$ac_try;;
8942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8943 (eval "$ac_link") 2>conftest.er1
8945 grep -v '^ *+' conftest.er1 >conftest.err
8947 cat conftest.err >&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); } && {
8950 test -z "$ac_c_werror_flag" ||
8951 test ! -s conftest.err
8952 } && test -s conftest$ac_exeext &&
8953 $as_test_x conftest$ac_exeext; then
8954 ac_cv_search_getspnam=$ac_res
8956 echo "$as_me: failed program was:" >&5
8957 sed 's/^/| /' conftest.$ac_ext >&5
8962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8964 if test "${ac_cv_search_getspnam+set}" = set; then
8968 if test "${ac_cv_search_getspnam+set}" = set; then
8971 ac_cv_search_getspnam=no
8974 LIBS=$ac_func_search_save_LIBS
8976 { echo "$as_me:$LINENO: result: $ac_cv_search_getspnam" >&5
8977 echo "${ECHO_T}$ac_cv_search_getspnam" >&6; }
8978 ac_res=$ac_cv_search_getspnam
8979 if test "$ac_res" != no; then
8980 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8982 cat >>confdefs.h <<\_ACEOF
8983 #define HAVE_GETSPNAM 1
8993 for ac_header in $ac_header_list
8995 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8997 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9000 echo $ECHO_N "(cached) $ECHO_C" >&6
9002 ac_res=`eval echo '${'$as_ac_Header'}'`
9003 { echo "$as_me:$LINENO: result: $ac_res" >&5
9004 echo "${ECHO_T}$ac_res" >&6; }
9006 # Is the header compilable?
9007 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9008 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9009 cat >conftest.$ac_ext <<_ACEOF
9012 cat confdefs.h >>conftest.$ac_ext
9013 cat >>conftest.$ac_ext <<_ACEOF
9014 /* end confdefs.h. */
9015 $ac_includes_default
9016 #include <$ac_header>
9018 rm -f conftest.$ac_objext
9019 if { (ac_try="$ac_compile"
9021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9022 *) ac_try_echo=$ac_try;;
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9025 (eval "$ac_compile") 2>conftest.er1
9027 grep -v '^ *+' conftest.er1 >conftest.err
9029 cat conftest.err >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); } && {
9032 test -z "$ac_c_werror_flag" ||
9033 test ! -s conftest.err
9034 } && test -s conftest.$ac_objext; then
9035 ac_header_compiler=yes
9037 echo "$as_me: failed program was:" >&5
9038 sed 's/^/| /' conftest.$ac_ext >&5
9040 ac_header_compiler=no
9043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9044 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9045 echo "${ECHO_T}$ac_header_compiler" >&6; }
9047 # Is the header present?
9048 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9049 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9050 cat >conftest.$ac_ext <<_ACEOF
9053 cat confdefs.h >>conftest.$ac_ext
9054 cat >>conftest.$ac_ext <<_ACEOF
9055 /* end confdefs.h. */
9056 #include <$ac_header>
9058 if { (ac_try="$ac_cpp conftest.$ac_ext"
9060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9061 *) ac_try_echo=$ac_try;;
9063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9066 grep -v '^ *+' conftest.er1 >conftest.err
9068 cat conftest.err >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); } >/dev/null && {
9071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9072 test ! -s conftest.err
9074 ac_header_preproc=yes
9076 echo "$as_me: failed program was:" >&5
9077 sed 's/^/| /' conftest.$ac_ext >&5
9079 ac_header_preproc=no
9082 rm -f conftest.err conftest.$ac_ext
9083 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9084 echo "${ECHO_T}$ac_header_preproc" >&6; }
9086 # So? What about this header?
9087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9093 ac_header_preproc=yes
9096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9109 ## --------------------------------- ##
9110 ## Report this to bug-cvs@nongnu.org ##
9111 ## --------------------------------- ##
9113 ) | sed "s/^/$as_me: WARNING: /" >&2
9116 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9119 echo $ECHO_N "(cached) $ECHO_C" >&6
9121 eval "$as_ac_Header=\$ac_header_preproc"
9123 ac_res=`eval echo '${'$as_ac_Header'}'`
9124 { echo "$as_me:$LINENO: result: $ac_res" >&5
9125 echo "${ECHO_T}$ac_res" >&6; }
9128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9129 cat >>confdefs.h <<_ACEOF
9130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9145 { echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
9146 echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6; }
9147 if test "${ac_cv_func_utime_null+set}" = set; then
9148 echo $ECHO_N "(cached) $ECHO_C" >&6
9150 rm -f conftest.data; >conftest.data
9151 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
9152 if test "$cross_compiling" = yes; then
9153 ac_cv_func_utime_null=no
9155 cat >conftest.$ac_ext <<_ACEOF
9158 cat confdefs.h >>conftest.$ac_ext
9159 cat >>conftest.$ac_ext <<_ACEOF
9160 /* end confdefs.h. */
9161 $ac_includes_default
9169 return ! (stat ("conftest.data", &s) == 0
9170 && utime ("conftest.data", 0) == 0
9171 && stat ("conftest.data", &t) == 0
9172 && t.st_mtime >= s.st_mtime
9173 && t.st_mtime - s.st_mtime < 120);
9178 rm -f conftest$ac_exeext
9179 if { (ac_try="$ac_link"
9181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9182 *) ac_try_echo=$ac_try;;
9184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9185 (eval "$ac_link") 2>&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9189 { (case "(($ac_try" in
9190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9191 *) ac_try_echo=$ac_try;;
9193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9194 (eval "$ac_try") 2>&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); }; }; then
9198 ac_cv_func_utime_null=yes
9200 echo "$as_me: program exited with status $ac_status" >&5
9201 echo "$as_me: failed program was:" >&5
9202 sed 's/^/| /' conftest.$ac_ext >&5
9205 ac_cv_func_utime_null=no
9207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9212 { echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
9213 echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
9214 if test $ac_cv_func_utime_null = yes; then
9216 cat >>confdefs.h <<\_ACEOF
9217 #define HAVE_UTIME_NULL 1
9223 { echo "$as_me:$LINENO: checking for long file names" >&5
9224 echo $ECHO_N "checking for long file names... $ECHO_C" >&6; }
9225 if test "${ac_cv_sys_long_file_names+set}" = set; then
9226 echo $ECHO_N "(cached) $ECHO_C" >&6
9228 ac_cv_sys_long_file_names=yes
9229 # Test for long file names in all the places we know might matter:
9230 # . the current directory, where building will happen
9231 # $prefix/lib where we will be installing things
9232 # $exec_prefix/lib likewise
9233 # $TMPDIR if set, where it might want to write temporary files
9234 # /tmp where it might want to write temporary files
9237 for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do
9238 # Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib
9239 # in the usual case where exec_prefix is '${prefix}'.
9241 . | /* | ?:[\\/]*) ;; #(
9244 test -w "$ac_dir/." || continue # It is less confusing to not echo anything here.
9245 ac_xdir=$ac_dir/cf$$
9246 (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue
9247 ac_tf1=$ac_xdir/conftest9012345
9248 ac_tf2=$ac_xdir/conftest9012346
9249 touch "$ac_tf1" 2>/dev/null && test -f "$ac_tf1" && test ! -f "$ac_tf2" ||
9250 ac_cv_sys_long_file_names=no
9251 rm -f -r "$ac_xdir" 2>/dev/null
9252 test $ac_cv_sys_long_file_names = no && break
9255 { echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
9256 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6; }
9257 if test $ac_cv_sys_long_file_names = yes; then
9259 cat >>confdefs.h <<\_ACEOF
9260 #define HAVE_LONG_FILE_NAMES 1
9266 { echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5
9267 echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6; }
9268 if test "${ac_cv_func_fnmatch_works+set}" = set; then
9269 echo $ECHO_N "(cached) $ECHO_C" >&6
9271 # Some versions of Solaris, SCO, and the GNU C Library
9272 # have a broken or incompatible fnmatch.
9273 # So we run a test program. If we are cross-compiling, take no chance.
9274 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
9275 if test "$cross_compiling" = yes; then
9276 ac_cv_func_fnmatch_works=cross
9278 cat >conftest.$ac_ext <<_ACEOF
9281 cat confdefs.h >>conftest.$ac_ext
9282 cat >>conftest.$ac_ext <<_ACEOF
9283 /* end confdefs.h. */
9284 #include <fnmatch.h>
9285 # define y(a, b, c) (fnmatch (a, b, c) == 0)
9286 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
9292 (!(y ("a*", "abc", 0)
9293 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
9294 && y ("a\\\\bc", "abc", 0)
9295 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
9296 && y ("*x", ".x", 0)
9297 && n ("*x", ".x", FNM_PERIOD)
9303 rm -f conftest$ac_exeext
9304 if { (ac_try="$ac_link"
9306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9307 *) ac_try_echo=$ac_try;;
9309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9310 (eval "$ac_link") 2>&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9314 { (case "(($ac_try" in
9315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9316 *) ac_try_echo=$ac_try;;
9318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9319 (eval "$ac_try") 2>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; }; then
9323 ac_cv_func_fnmatch_works=yes
9325 echo "$as_me: program exited with status $ac_status" >&5
9326 echo "$as_me: failed program was:" >&5
9327 sed 's/^/| /' conftest.$ac_ext >&5
9330 ac_cv_func_fnmatch_works=no
9332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9337 { echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5
9338 echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6; }
9339 if test $ac_cv_func_fnmatch_works = yes; then
9341 cat >>confdefs.h <<\_ACEOF
9342 #define HAVE_FNMATCH 1
9349 if test "$ac_cv_func_fnmatch_works" = no; then
9350 case " $LIBOBJS " in
9351 *" fnmatch.$ac_objext "* ) ;;
9352 *) LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
9356 ac_config_links="$ac_config_links lib/fnmatch.h:lib/fnmatch.h.in"
9361 # Try to find connect and gethostbyname.
9363 { echo "$as_me:$LINENO: checking for main in -lnsl" >&5
9364 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6; }
9365 if test "${ac_cv_lib_nsl_main+set}" = set; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 ac_check_lib_save_LIBS=$LIBS
9370 cat >conftest.$ac_ext <<_ACEOF
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9386 rm -f conftest.$ac_objext conftest$ac_exeext
9387 if { (ac_try="$ac_link"
9389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9390 *) ac_try_echo=$ac_try;;
9392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9393 (eval "$ac_link") 2>conftest.er1
9395 grep -v '^ *+' conftest.er1 >conftest.err
9397 cat conftest.err >&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); } && {
9400 test -z "$ac_c_werror_flag" ||
9401 test ! -s conftest.err
9402 } && test -s conftest$ac_exeext &&
9403 $as_test_x conftest$ac_exeext; then
9404 ac_cv_lib_nsl_main=yes
9406 echo "$as_me: failed program was:" >&5
9407 sed 's/^/| /' conftest.$ac_ext >&5
9409 ac_cv_lib_nsl_main=no
9412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9413 conftest$ac_exeext conftest.$ac_ext
9414 LIBS=$ac_check_lib_save_LIBS
9416 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
9417 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6; }
9418 if test $ac_cv_lib_nsl_main = yes; then
9419 cat >>confdefs.h <<_ACEOF
9420 #define HAVE_LIBNSL 1
9427 { echo "$as_me:$LINENO: checking for library containing connect" >&5
9428 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
9429 if test "${ac_cv_search_connect+set}" = set; then
9430 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 ac_func_search_save_LIBS=$LIBS
9433 cat >conftest.$ac_ext <<_ACEOF
9436 cat confdefs.h >>conftest.$ac_ext
9437 cat >>conftest.$ac_ext <<_ACEOF
9438 /* end confdefs.h. */
9440 /* Override any GCC internal prototype to avoid an error.
9441 Use char because int might match the return type of a GCC
9442 builtin and then its argument prototype would still apply. */
9455 for ac_lib in '' xnet socket inet; do
9456 if test -z "$ac_lib"; then
9457 ac_res="none required"
9460 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9462 rm -f conftest.$ac_objext conftest$ac_exeext
9463 if { (ac_try="$ac_link"
9465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9466 *) ac_try_echo=$ac_try;;
9468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9469 (eval "$ac_link") 2>conftest.er1
9471 grep -v '^ *+' conftest.er1 >conftest.err
9473 cat conftest.err >&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); } && {
9476 test -z "$ac_c_werror_flag" ||
9477 test ! -s conftest.err
9478 } && test -s conftest$ac_exeext &&
9479 $as_test_x conftest$ac_exeext; then
9480 ac_cv_search_connect=$ac_res
9482 echo "$as_me: failed program was:" >&5
9483 sed 's/^/| /' conftest.$ac_ext >&5
9488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9490 if test "${ac_cv_search_connect+set}" = set; then
9494 if test "${ac_cv_search_connect+set}" = set; then
9497 ac_cv_search_connect=no
9500 LIBS=$ac_func_search_save_LIBS
9502 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
9503 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
9504 ac_res=$ac_cv_search_connect
9505 if test "$ac_res" != no; then
9506 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9508 cat >>confdefs.h <<\_ACEOF
9509 #define HAVE_CONNECT 1
9514 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
9515 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
9516 if test "${ac_cv_search_gethostbyname+set}" = set; then
9517 echo $ECHO_N "(cached) $ECHO_C" >&6
9519 ac_func_search_save_LIBS=$LIBS
9520 cat >conftest.$ac_ext <<_ACEOF
9523 cat confdefs.h >>conftest.$ac_ext
9524 cat >>conftest.$ac_ext <<_ACEOF
9525 /* end confdefs.h. */
9527 /* Override any GCC internal prototype to avoid an error.
9528 Use char because int might match the return type of a GCC
9529 builtin and then its argument prototype would still apply. */
9533 char gethostbyname ();
9537 return gethostbyname ();
9542 for ac_lib in '' netinet; do
9543 if test -z "$ac_lib"; then
9544 ac_res="none required"
9547 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9549 rm -f conftest.$ac_objext conftest$ac_exeext
9550 if { (ac_try="$ac_link"
9552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9553 *) ac_try_echo=$ac_try;;
9555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9556 (eval "$ac_link") 2>conftest.er1
9558 grep -v '^ *+' conftest.er1 >conftest.err
9560 cat conftest.err >&5
9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9562 (exit $ac_status); } && {
9563 test -z "$ac_c_werror_flag" ||
9564 test ! -s conftest.err
9565 } && test -s conftest$ac_exeext &&
9566 $as_test_x conftest$ac_exeext; then
9567 ac_cv_search_gethostbyname=$ac_res
9569 echo "$as_me: failed program was:" >&5
9570 sed 's/^/| /' conftest.$ac_ext >&5
9575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9577 if test "${ac_cv_search_gethostbyname+set}" = set; then
9581 if test "${ac_cv_search_gethostbyname+set}" = set; then
9584 ac_cv_search_gethostbyname=no
9587 LIBS=$ac_func_search_save_LIBS
9589 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
9590 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
9591 ac_res=$ac_cv_search_gethostbyname
9592 if test "$ac_res" != no; then
9593 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
9603 # Check whether --with-krb4 was given.
9604 if test "${with_krb4+set}" = set; then
9605 withval=$with_krb4; KRB4=$with_krb4
9607 { echo "$as_me:$LINENO: checking for KRB4 in $KRB4" >&5
9608 echo $ECHO_N "checking for KRB4 in $KRB4... $ECHO_C" >&6; }
9609 { echo "$as_me:$LINENO: result: " >&5
9610 echo "${ECHO_T}" >&6; }
9614 { echo "$as_me:$LINENO: checking for krb.h" >&5
9615 echo $ECHO_N "checking for krb.h... $ECHO_C" >&6; }
9616 if test "$cross_compiling" != yes && test -r $KRB4/include/krb.h; then
9618 CFLAGS="$CFLAGS -I$KRB4/include"
9619 cat >conftest.$ac_ext <<_ACEOF
9622 cat confdefs.h >>conftest.$ac_ext
9623 cat >>conftest.$ac_ext <<_ACEOF
9624 /* end confdefs.h. */
9634 rm -f conftest.$ac_objext conftest$ac_exeext
9635 if { (ac_try="$ac_link"
9637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9638 *) ac_try_echo=$ac_try;;
9640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9641 (eval "$ac_link") 2>conftest.er1
9643 grep -v '^ *+' conftest.er1 >conftest.err
9645 cat conftest.err >&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); } && {
9648 test -z "$ac_c_werror_flag" ||
9649 test ! -s conftest.err
9650 } && test -s conftest$ac_exeext &&
9651 $as_test_x conftest$ac_exeext; then
9652 krb_h=yes krb_incdir=$KRB4/include
9654 echo "$as_me: failed program was:" >&5
9655 sed 's/^/| /' conftest.$ac_ext >&5
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 { (ac_try="$ac_link"
9676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9677 *) ac_try_echo=$ac_try;;
9679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9680 (eval "$ac_link") 2>conftest.er1
9682 grep -v '^ *+' conftest.er1 >conftest.err
9684 cat conftest.err >&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } && {
9687 test -z "$ac_c_werror_flag" ||
9688 test ! -s conftest.err
9689 } && test -s conftest$ac_exeext &&
9690 $as_test_x conftest$ac_exeext; then
9691 krb_h=yes krb_incdir=
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.$ac_ext >&5
9699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9700 conftest$ac_exeext conftest.$ac_ext
9703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9704 conftest$ac_exeext conftest.$ac_ext
9707 cat >conftest.$ac_ext <<_ACEOF
9710 cat confdefs.h >>conftest.$ac_ext
9711 cat >>conftest.$ac_ext <<_ACEOF
9712 /* end confdefs.h. */
9722 rm -f conftest.$ac_objext conftest$ac_exeext
9723 if { (ac_try="$ac_link"
9725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9726 *) ac_try_echo=$ac_try;;
9728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9729 (eval "$ac_link") 2>conftest.er1
9731 grep -v '^ *+' conftest.er1 >conftest.err
9733 cat conftest.err >&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); } && {
9736 test -z "$ac_c_werror_flag" ||
9737 test ! -s conftest.err
9738 } && test -s conftest$ac_exeext &&
9739 $as_test_x conftest$ac_exeext; then
9740 krb_h=yes krb_incdir=
9742 echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.$ac_ext >&5
9748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9749 conftest$ac_exeext conftest.$ac_ext
9751 if test -z "$krb_h"; then
9752 cat >conftest.$ac_ext <<_ACEOF
9755 cat confdefs.h >>conftest.$ac_ext
9756 cat >>conftest.$ac_ext <<_ACEOF
9757 /* end confdefs.h. */
9767 rm -f conftest.$ac_objext conftest$ac_exeext
9768 if { (ac_try="$ac_link"
9770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9771 *) ac_try_echo=$ac_try;;
9773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9774 (eval "$ac_link") 2>conftest.er1
9776 grep -v '^ *+' conftest.er1 >conftest.err
9778 cat conftest.err >&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 (exit $ac_status); } && {
9781 test -z "$ac_c_werror_flag" ||
9782 test ! -s conftest.err
9783 } && test -s conftest$ac_exeext &&
9784 $as_test_x conftest$ac_exeext; then
9785 krb_h=yes krb_incdir=
9787 echo "$as_me: failed program was:" >&5
9788 sed 's/^/| /' conftest.$ac_ext >&5
9790 if test "$cross_compiling" != yes && test -r $KRB4/include/kerberosIV/krb.h; then
9792 CFLAGS="$CFLAGS -I$KRB4/include/kerberosIV"
9793 cat >conftest.$ac_ext <<_ACEOF
9796 cat confdefs.h >>conftest.$ac_ext
9797 cat >>conftest.$ac_ext <<_ACEOF
9798 /* end confdefs.h. */
9808 rm -f conftest.$ac_objext conftest$ac_exeext
9809 if { (ac_try="$ac_link"
9811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9812 *) ac_try_echo=$ac_try;;
9814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9815 (eval "$ac_link") 2>conftest.er1
9817 grep -v '^ *+' conftest.er1 >conftest.err
9819 cat conftest.err >&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } && {
9822 test -z "$ac_c_werror_flag" ||
9823 test ! -s conftest.err
9824 } && test -s conftest$ac_exeext &&
9825 $as_test_x conftest$ac_exeext; then
9826 krb_h=yes krb_incdir=$KRB4/include/kerberosIV
9828 echo "$as_me: failed program was:" >&5
9829 sed 's/^/| /' conftest.$ac_ext >&5
9834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9835 conftest$ac_exeext conftest.$ac_ext
9840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9841 conftest$ac_exeext conftest.$ac_ext
9843 { echo "$as_me:$LINENO: result: $krb_h" >&5
9844 echo "${ECHO_T}$krb_h" >&6; }
9848 if test -n "$krb_h"; then
9850 if test "$cross_compiling" != yes && test -r $KRB4/lib/libkrb.a; then
9851 hold_ldflags=$LDFLAGS
9852 LDFLAGS="-L${KRB4}/lib $LDFLAGS"
9853 { echo "$as_me:$LINENO: checking for printf in -lkrb" >&5
9854 echo $ECHO_N "checking for printf in -lkrb... $ECHO_C" >&6; }
9855 if test "${ac_cv_lib_krb_printf+set}" = set; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 ac_check_lib_save_LIBS=$LIBS
9860 cat >conftest.$ac_ext <<_ACEOF
9863 cat confdefs.h >>conftest.$ac_ext
9864 cat >>conftest.$ac_ext <<_ACEOF
9865 /* end confdefs.h. */
9867 /* Override any GCC internal prototype to avoid an error.
9868 Use char because int might match the return type of a GCC
9869 builtin and then its argument prototype would still apply. */
9882 rm -f conftest.$ac_objext conftest$ac_exeext
9883 if { (ac_try="$ac_link"
9885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9886 *) ac_try_echo=$ac_try;;
9888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9889 (eval "$ac_link") 2>conftest.er1
9891 grep -v '^ *+' conftest.er1 >conftest.err
9893 cat conftest.err >&5
9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } && {
9896 test -z "$ac_c_werror_flag" ||
9897 test ! -s conftest.err
9898 } && test -s conftest$ac_exeext &&
9899 $as_test_x conftest$ac_exeext; then
9900 ac_cv_lib_krb_printf=yes
9902 echo "$as_me: failed program was:" >&5
9903 sed 's/^/| /' conftest.$ac_ext >&5
9905 ac_cv_lib_krb_printf=no
9908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9909 conftest$ac_exeext conftest.$ac_ext
9910 LIBS=$ac_check_lib_save_LIBS
9912 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_printf" >&5
9913 echo "${ECHO_T}$ac_cv_lib_krb_printf" >&6; }
9914 if test $ac_cv_lib_krb_printf = yes; then
9915 krb_lib=yes krb_libdir=${KRB4}/lib
9917 LDFLAGS=$hold_ldflags
9918 # Using open here instead of printf so we don't
9919 # get confused by the cached value for printf from above.
9920 { echo "$as_me:$LINENO: checking for open in -lkrb" >&5
9921 echo $ECHO_N "checking for open in -lkrb... $ECHO_C" >&6; }
9922 if test "${ac_cv_lib_krb_open+set}" = set; then
9923 echo $ECHO_N "(cached) $ECHO_C" >&6
9925 ac_check_lib_save_LIBS=$LIBS
9927 cat >conftest.$ac_ext <<_ACEOF
9930 cat confdefs.h >>conftest.$ac_ext
9931 cat >>conftest.$ac_ext <<_ACEOF
9932 /* end confdefs.h. */
9934 /* Override any GCC internal prototype to avoid an error.
9935 Use char because int might match the return type of a GCC
9936 builtin and then its argument prototype would still apply. */
9949 rm -f conftest.$ac_objext conftest$ac_exeext
9950 if { (ac_try="$ac_link"
9952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9953 *) ac_try_echo=$ac_try;;
9955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9956 (eval "$ac_link") 2>conftest.er1
9958 grep -v '^ *+' conftest.er1 >conftest.err
9960 cat conftest.err >&5
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); } && {
9963 test -z "$ac_c_werror_flag" ||
9964 test ! -s conftest.err
9965 } && test -s conftest$ac_exeext &&
9966 $as_test_x conftest$ac_exeext; then
9967 ac_cv_lib_krb_open=yes
9969 echo "$as_me: failed program was:" >&5
9970 sed 's/^/| /' conftest.$ac_ext >&5
9972 ac_cv_lib_krb_open=no
9975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9976 conftest$ac_exeext conftest.$ac_ext
9977 LIBS=$ac_check_lib_save_LIBS
9979 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_open" >&5
9980 echo "${ECHO_T}$ac_cv_lib_krb_open" >&6; }
9981 if test $ac_cv_lib_krb_open = yes; then
9982 krb_lib=yes krb_libdir=
9987 LDFLAGS=$hold_ldflags
9989 { echo "$as_me:$LINENO: checking for printf in -lkrb" >&5
9990 echo $ECHO_N "checking for printf in -lkrb... $ECHO_C" >&6; }
9991 if test "${ac_cv_lib_krb_printf+set}" = set; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9994 ac_check_lib_save_LIBS=$LIBS
9996 cat >conftest.$ac_ext <<_ACEOF
9999 cat confdefs.h >>conftest.$ac_ext
10000 cat >>conftest.$ac_ext <<_ACEOF
10001 /* end confdefs.h. */
10003 /* Override any GCC internal prototype to avoid an error.
10004 Use char because int might match the return type of a GCC
10005 builtin and then its argument prototype would still apply. */
10018 rm -f conftest.$ac_objext conftest$ac_exeext
10019 if { (ac_try="$ac_link"
10020 case "(($ac_try" in
10021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10022 *) ac_try_echo=$ac_try;;
10024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10025 (eval "$ac_link") 2>conftest.er1
10027 grep -v '^ *+' conftest.er1 >conftest.err
10029 cat conftest.err >&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); } && {
10032 test -z "$ac_c_werror_flag" ||
10033 test ! -s conftest.err
10034 } && test -s conftest$ac_exeext &&
10035 $as_test_x conftest$ac_exeext; then
10036 ac_cv_lib_krb_printf=yes
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.$ac_ext >&5
10041 ac_cv_lib_krb_printf=no
10044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10045 conftest$ac_exeext conftest.$ac_ext
10046 LIBS=$ac_check_lib_save_LIBS
10048 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_printf" >&5
10049 echo "${ECHO_T}$ac_cv_lib_krb_printf" >&6; }
10050 if test $ac_cv_lib_krb_printf = yes; then
10051 krb_lib=yes krb_libdir=
10054 { echo "$as_me:$LINENO: checking for krb_recvauth" >&5
10055 echo $ECHO_N "checking for krb_recvauth... $ECHO_C" >&6; }
10056 if test "${ac_cv_func_krb_recvauth+set}" = set; then
10057 echo $ECHO_N "(cached) $ECHO_C" >&6
10059 cat >conftest.$ac_ext <<_ACEOF
10062 cat confdefs.h >>conftest.$ac_ext
10063 cat >>conftest.$ac_ext <<_ACEOF
10064 /* end confdefs.h. */
10065 /* Define krb_recvauth to an innocuous variant, in case <limits.h> declares krb_recvauth.
10066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10067 #define krb_recvauth innocuous_krb_recvauth
10069 /* System header to define __stub macros and hopefully few prototypes,
10070 which can conflict with char krb_recvauth (); below.
10071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10072 <limits.h> exists even on freestanding compilers. */
10075 # include <limits.h>
10077 # include <assert.h>
10080 #undef krb_recvauth
10082 /* Override any GCC internal prototype to avoid an error.
10083 Use char because int might match the return type of a GCC
10084 builtin and then its argument prototype would still apply. */
10088 char krb_recvauth ();
10089 /* The GNU C library defines this for functions which it implements
10090 to always fail with ENOSYS. Some functions are actually named
10091 something starting with __ and the normal name is an alias. */
10092 #if defined __stub_krb_recvauth || defined __stub___krb_recvauth
10099 return krb_recvauth ();
10104 rm -f conftest.$ac_objext conftest$ac_exeext
10105 if { (ac_try="$ac_link"
10106 case "(($ac_try" in
10107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10108 *) ac_try_echo=$ac_try;;
10110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10111 (eval "$ac_link") 2>conftest.er1
10113 grep -v '^ *+' conftest.er1 >conftest.err
10115 cat conftest.err >&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); } && {
10118 test -z "$ac_c_werror_flag" ||
10119 test ! -s conftest.err
10120 } && test -s conftest$ac_exeext &&
10121 $as_test_x conftest$ac_exeext; then
10122 ac_cv_func_krb_recvauth=yes
10124 echo "$as_me: failed program was:" >&5
10125 sed 's/^/| /' conftest.$ac_ext >&5
10127 ac_cv_func_krb_recvauth=no
10130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10131 conftest$ac_exeext conftest.$ac_ext
10133 { echo "$as_me:$LINENO: result: $ac_cv_func_krb_recvauth" >&5
10134 echo "${ECHO_T}$ac_cv_func_krb_recvauth" >&6; }
10135 if test $ac_cv_func_krb_recvauth = yes; then
10136 krb_lib=yes krb_libdir=
10140 if test -n "$krb_lib"; then
10142 cat >>confdefs.h <<\_ACEOF
10143 #define HAVE_KERBEROS 1
10146 test -n "${krb_libdir}" && LIBS="${LIBS} -L${krb_libdir}"
10147 # Put -L${krb_libdir} in LDFLAGS temporarily so that it appears before
10148 # -ldes in the command line. Don't do it permanently so that we honor
10149 # the user's setting for LDFLAGS
10150 hold_ldflags=$LDFLAGS
10151 test -n "${krb_libdir}" && LDFLAGS="$LDFLAGS -L${krb_libdir}"
10152 { echo "$as_me:$LINENO: checking for printf in -ldes" >&5
10153 echo $ECHO_N "checking for printf in -ldes... $ECHO_C" >&6; }
10154 if test "${ac_cv_lib_des_printf+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 ac_check_lib_save_LIBS=$LIBS
10159 cat >conftest.$ac_ext <<_ACEOF
10162 cat confdefs.h >>conftest.$ac_ext
10163 cat >>conftest.$ac_ext <<_ACEOF
10164 /* end confdefs.h. */
10166 /* Override any GCC internal prototype to avoid an error.
10167 Use char because int might match the return type of a GCC
10168 builtin and then its argument prototype would still apply. */
10181 rm -f conftest.$ac_objext conftest$ac_exeext
10182 if { (ac_try="$ac_link"
10183 case "(($ac_try" in
10184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10185 *) ac_try_echo=$ac_try;;
10187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10188 (eval "$ac_link") 2>conftest.er1
10190 grep -v '^ *+' conftest.er1 >conftest.err
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } && {
10195 test -z "$ac_c_werror_flag" ||
10196 test ! -s conftest.err
10197 } && test -s conftest$ac_exeext &&
10198 $as_test_x conftest$ac_exeext; then
10199 ac_cv_lib_des_printf=yes
10201 echo "$as_me: failed program was:" >&5
10202 sed 's/^/| /' conftest.$ac_ext >&5
10204 ac_cv_lib_des_printf=no
10207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10208 conftest$ac_exeext conftest.$ac_ext
10209 LIBS=$ac_check_lib_save_LIBS
10211 { echo "$as_me:$LINENO: result: $ac_cv_lib_des_printf" >&5
10212 echo "${ECHO_T}$ac_cv_lib_des_printf" >&6; }
10213 if test $ac_cv_lib_des_printf = yes; then
10214 LIBS="${LIBS} -ldes"
10218 { echo "$as_me:$LINENO: checking for krb_recvauth in -lkrb" >&5
10219 echo $ECHO_N "checking for krb_recvauth in -lkrb... $ECHO_C" >&6; }
10220 if test "${ac_cv_lib_krb_krb_recvauth+set}" = set; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 ac_check_lib_save_LIBS=$LIBS
10225 cat >conftest.$ac_ext <<_ACEOF
10228 cat confdefs.h >>conftest.$ac_ext
10229 cat >>conftest.$ac_ext <<_ACEOF
10230 /* end confdefs.h. */
10232 /* Override any GCC internal prototype to avoid an error.
10233 Use char because int might match the return type of a GCC
10234 builtin and then its argument prototype would still apply. */
10238 char krb_recvauth ();
10242 return krb_recvauth ();
10247 rm -f conftest.$ac_objext conftest$ac_exeext
10248 if { (ac_try="$ac_link"
10249 case "(($ac_try" in
10250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10251 *) ac_try_echo=$ac_try;;
10253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10254 (eval "$ac_link") 2>conftest.er1
10256 grep -v '^ *+' conftest.er1 >conftest.err
10258 cat conftest.err >&5
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); } && {
10261 test -z "$ac_c_werror_flag" ||
10262 test ! -s conftest.err
10263 } && test -s conftest$ac_exeext &&
10264 $as_test_x conftest$ac_exeext; then
10265 ac_cv_lib_krb_krb_recvauth=yes
10267 echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10270 ac_cv_lib_krb_krb_recvauth=no
10273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10274 conftest$ac_exeext conftest.$ac_ext
10275 LIBS=$ac_check_lib_save_LIBS
10277 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_recvauth" >&5
10278 echo "${ECHO_T}$ac_cv_lib_krb_krb_recvauth" >&6; }
10279 if test $ac_cv_lib_krb_krb_recvauth = yes; then
10280 cat >>confdefs.h <<_ACEOF
10281 #define HAVE_LIBKRB 1
10289 { echo "$as_me:$LINENO: checking for krb_recvauth in -lkrb4" >&5
10290 echo $ECHO_N "checking for krb_recvauth in -lkrb4... $ECHO_C" >&6; }
10291 if test "${ac_cv_lib_krb4_krb_recvauth+set}" = set; then
10292 echo $ECHO_N "(cached) $ECHO_C" >&6
10294 ac_check_lib_save_LIBS=$LIBS
10295 LIBS="-lkrb4 $LIBS"
10296 cat >conftest.$ac_ext <<_ACEOF
10299 cat confdefs.h >>conftest.$ac_ext
10300 cat >>conftest.$ac_ext <<_ACEOF
10301 /* end confdefs.h. */
10303 /* Override any GCC internal prototype to avoid an error.
10304 Use char because int might match the return type of a GCC
10305 builtin and then its argument prototype would still apply. */
10309 char krb_recvauth ();
10313 return krb_recvauth ();
10318 rm -f conftest.$ac_objext conftest$ac_exeext
10319 if { (ac_try="$ac_link"
10320 case "(($ac_try" in
10321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10322 *) ac_try_echo=$ac_try;;
10324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10325 (eval "$ac_link") 2>conftest.er1
10327 grep -v '^ *+' conftest.er1 >conftest.err
10329 cat conftest.err >&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); } && {
10332 test -z "$ac_c_werror_flag" ||
10333 test ! -s conftest.err
10334 } && test -s conftest$ac_exeext &&
10335 $as_test_x conftest$ac_exeext; then
10336 ac_cv_lib_krb4_krb_recvauth=yes
10338 echo "$as_me: failed program was:" >&5
10339 sed 's/^/| /' conftest.$ac_ext >&5
10341 ac_cv_lib_krb4_krb_recvauth=no
10344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10345 conftest$ac_exeext conftest.$ac_ext
10346 LIBS=$ac_check_lib_save_LIBS
10348 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_recvauth" >&5
10349 echo "${ECHO_T}$ac_cv_lib_krb4_krb_recvauth" >&6; }
10350 if test $ac_cv_lib_krb4_krb_recvauth = yes; then
10351 cat >>confdefs.h <<_ACEOF
10352 #define HAVE_LIBKRB4 1
10355 LIBS="-lkrb4 $LIBS"
10359 LDFLAGS=$hold_ldflags
10360 if test -n "$krb_incdir"; then
10361 includeopt="${includeopt} -I$krb_incdir"
10366 for ac_func in krb_get_err_text
10368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10369 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10371 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10372 echo $ECHO_N "(cached) $ECHO_C" >&6
10374 cat >conftest.$ac_ext <<_ACEOF
10377 cat confdefs.h >>conftest.$ac_ext
10378 cat >>conftest.$ac_ext <<_ACEOF
10379 /* end confdefs.h. */
10380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10382 #define $ac_func innocuous_$ac_func
10384 /* System header to define __stub macros and hopefully few prototypes,
10385 which can conflict with char $ac_func (); below.
10386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10387 <limits.h> exists even on freestanding compilers. */
10390 # include <limits.h>
10392 # include <assert.h>
10397 /* Override any GCC internal prototype to avoid an error.
10398 Use char because int might match the return type of a GCC
10399 builtin and then its argument prototype would still apply. */
10404 /* The GNU C library defines this for functions which it implements
10405 to always fail with ENOSYS. Some functions are actually named
10406 something starting with __ and the normal name is an alias. */
10407 #if defined __stub_$ac_func || defined __stub___$ac_func
10414 return $ac_func ();
10419 rm -f conftest.$ac_objext conftest$ac_exeext
10420 if { (ac_try="$ac_link"
10421 case "(($ac_try" in
10422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10423 *) ac_try_echo=$ac_try;;
10425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10426 (eval "$ac_link") 2>conftest.er1
10428 grep -v '^ *+' conftest.er1 >conftest.err
10430 cat conftest.err >&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); } && {
10433 test -z "$ac_c_werror_flag" ||
10434 test ! -s conftest.err
10435 } && test -s conftest$ac_exeext &&
10436 $as_test_x conftest$ac_exeext; then
10437 eval "$as_ac_var=yes"
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.$ac_ext >&5
10442 eval "$as_ac_var=no"
10445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10446 conftest$ac_exeext conftest.$ac_ext
10448 ac_res=`eval echo '${'$as_ac_var'}'`
10449 { echo "$as_me:$LINENO: result: $ac_res" >&5
10450 echo "${ECHO_T}$ac_res" >&6; }
10451 if test `eval echo '${'$as_ac_var'}'` = yes; then
10452 cat >>confdefs.h <<_ACEOF
10453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10463 # Use --with-gssapi[=DIR] to enable GSSAPI support.
10465 # defaults to enabled with DIR in default list below
10467 # Search for /SUNHEA/ and read the comments about this default below.
10470 # Check whether --with-gssapi was given.
10471 if test "${with_gssapi+set}" = set; then
10472 withval=$with_gssapi;
10478 # Try to locate a GSSAPI installation if no location was specified, assuming
10479 # GSSAPI was enabled (the default).
10481 if test -n "$acx_gssapi_cv_gssapi"; then
10482 # Granted, this is a slightly ugly way to print this info, but the
10483 # AC_CHECK_HEADER used in the search for a GSSAPI installation makes using
10484 # AC_CACHE_CHECK worse
10485 { echo "$as_me:$LINENO: checking for GSSAPI" >&5
10486 echo $ECHO_N "checking for GSSAPI... $ECHO_C" >&6; }
10488 if test "${acx_gssapi_cv_gssapi+set}" = set; then
10489 echo $ECHO_N "(cached) $ECHO_C" >&6
10492 if test x$with_gssapi = xyes; then
10493 # --with but no location specified
10494 # assume a gssapi.h or gssapi/gssapi.h locates our install.
10496 # This isn't always strictly true. For instance Solaris 7's SUNHEA (header)
10497 # package installs gssapi.h whether or not the necessary libraries are
10498 # installed. I'm still not sure whether to consider this a bug. The long
10499 # way around is to not consider GSSPAI installed unless gss_import_name is
10500 # found, but that brings up a lot of other hassles, like continuing to let
10501 # gcc & ld generate the error messages when the user uses --with-gssapi=dir
10502 # as a debugging aid. The short way around is to disable GSSAPI by default,
10503 # but I think Sun users have been faced with this for awhile and I haven't
10504 # heard many complaints.
10505 acx_gssapi_save_CPPFLAGS=$CPPFLAGS
10506 for acx_gssapi_cv_gssapi in yes /usr/kerberos /usr/cygnus/kerbnet no; do
10507 if test x$acx_gssapi_cv_gssapi = xno; then
10510 if test x$acx_gssapi_cv_gssapi = xyes; then
10511 { echo "$as_me:$LINENO: checking for GSSAPI" >&5
10512 echo $ECHO_N "checking for GSSAPI... $ECHO_C" >&6; }
10513 { echo "$as_me:$LINENO: result: " >&5
10514 echo "${ECHO_T}" >&6; }
10516 CPPFLAGS="$acx_gssapi_save_CPPFLAGS -I$acx_gssapi_cv_gssapi/include"
10517 { echo "$as_me:$LINENO: checking for GSSAPI in $acx_gssapi_cv_gssapi" >&5
10518 echo $ECHO_N "checking for GSSAPI in $acx_gssapi_cv_gssapi... $ECHO_C" >&6; }
10519 { echo "$as_me:$LINENO: result: " >&5
10520 echo "${ECHO_T}" >&6; }
10522 unset ac_cv_header_gssapi_h
10523 unset ac_cv_header_gssapi_gssapi_h
10524 unset ac_cv_header_krb5_h
10528 for ac_header in gssapi.h gssapi/gssapi.h krb5.h
10530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10532 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10537 ac_res=`eval echo '${'$as_ac_Header'}'`
10538 { echo "$as_me:$LINENO: result: $ac_res" >&5
10539 echo "${ECHO_T}$ac_res" >&6; }
10541 # Is the header compilable?
10542 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10543 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10544 cat >conftest.$ac_ext <<_ACEOF
10547 cat confdefs.h >>conftest.$ac_ext
10548 cat >>conftest.$ac_ext <<_ACEOF
10549 /* end confdefs.h. */
10550 $ac_includes_default
10551 #include <$ac_header>
10553 rm -f conftest.$ac_objext
10554 if { (ac_try="$ac_compile"
10555 case "(($ac_try" in
10556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10557 *) ac_try_echo=$ac_try;;
10559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10560 (eval "$ac_compile") 2>conftest.er1
10562 grep -v '^ *+' conftest.er1 >conftest.err
10564 cat conftest.err >&5
10565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10566 (exit $ac_status); } && {
10567 test -z "$ac_c_werror_flag" ||
10568 test ! -s conftest.err
10569 } && test -s conftest.$ac_objext; then
10570 ac_header_compiler=yes
10572 echo "$as_me: failed program was:" >&5
10573 sed 's/^/| /' conftest.$ac_ext >&5
10575 ac_header_compiler=no
10578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10579 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10580 echo "${ECHO_T}$ac_header_compiler" >&6; }
10582 # Is the header present?
10583 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10585 cat >conftest.$ac_ext <<_ACEOF
10588 cat confdefs.h >>conftest.$ac_ext
10589 cat >>conftest.$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10591 #include <$ac_header>
10593 if { (ac_try="$ac_cpp conftest.$ac_ext"
10594 case "(($ac_try" in
10595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10596 *) ac_try_echo=$ac_try;;
10598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10601 grep -v '^ *+' conftest.er1 >conftest.err
10603 cat conftest.err >&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); } >/dev/null && {
10606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10607 test ! -s conftest.err
10609 ac_header_preproc=yes
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.$ac_ext >&5
10614 ac_header_preproc=no
10617 rm -f conftest.err conftest.$ac_ext
10618 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10619 echo "${ECHO_T}$ac_header_preproc" >&6; }
10621 # So? What about this header?
10622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10627 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10628 ac_header_preproc=yes
10631 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10632 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10633 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10634 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10635 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10636 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10637 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10638 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10641 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10642 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10644 ## --------------------------------- ##
10645 ## Report this to bug-cvs@nongnu.org ##
10646 ## --------------------------------- ##
10648 ) | sed "s/^/$as_me: WARNING: /" >&2
10651 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6
10656 eval "$as_ac_Header=\$ac_header_preproc"
10658 ac_res=`eval echo '${'$as_ac_Header'}'`
10659 { echo "$as_me:$LINENO: result: $ac_res" >&5
10660 echo "${ECHO_T}$ac_res" >&6; }
10663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10664 cat >>confdefs.h <<_ACEOF
10665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10672 if (test "$ac_cv_header_gssapi_h" = yes ||
10673 test "$ac_cv_header_gssapi_gssapi_h" = yes) &&
10674 test "$ac_cv_header_krb5_h" = yes; then
10678 CPPFLAGS=$acx_gssapi_save_CPPFLAGS
10680 acx_gssapi_cv_gssapi=$with_gssapi
10682 { echo "$as_me:$LINENO: checking for GSSAPI" >&5
10683 echo $ECHO_N "checking for GSSAPI... $ECHO_C" >&6; }
10686 { echo "$as_me:$LINENO: result: $acx_gssapi_cv_gssapi" >&5
10687 echo "${ECHO_T}$acx_gssapi_cv_gssapi" >&6; }
10690 # Set up GSSAPI includes for later use. We don't bother to check for
10691 # $acx_gssapi_cv_gssapi=no here since that will be caught later.
10693 if test x$acx_gssapi_cv_gssapi = xyes; then
10694 # no special includes necessary
10697 # GSSAPI at $acx_gssapi_cv_gssapi (could be 'no')
10698 GSSAPI_INCLUDES=" -I$acx_gssapi_cv_gssapi/include"
10702 # Get the rest of the information CVS needs to compile with GSSAPI support
10704 if test x$acx_gssapi_cv_gssapi != xno; then
10705 # define HAVE_GSSAPI and set up the includes
10707 cat >>confdefs.h <<\_ACEOF
10708 #define HAVE_GSSAPI
10711 includeopt=$includeopt$GSSAPI_INCLUDES
10713 # locate any other headers
10714 acx_gssapi_save_CPPFLAGS=$CPPFLAGS
10715 CPPFLAGS=$CPPFLAGS$GSSAPI_INCLUDES
10720 for ac_header in gssapi.h gssapi/gssapi.h gssapi/gssapi_generic.h krb5.h
10722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10727 echo $ECHO_N "(cached) $ECHO_C" >&6
10729 ac_res=`eval echo '${'$as_ac_Header'}'`
10730 { echo "$as_me:$LINENO: result: $ac_res" >&5
10731 echo "${ECHO_T}$ac_res" >&6; }
10733 # Is the header compilable?
10734 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10735 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10736 cat >conftest.$ac_ext <<_ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10742 $ac_includes_default
10743 #include <$ac_header>
10745 rm -f conftest.$ac_objext
10746 if { (ac_try="$ac_compile"
10747 case "(($ac_try" in
10748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10749 *) ac_try_echo=$ac_try;;
10751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10752 (eval "$ac_compile") 2>conftest.er1
10754 grep -v '^ *+' conftest.er1 >conftest.err
10756 cat conftest.err >&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } && {
10759 test -z "$ac_c_werror_flag" ||
10760 test ! -s conftest.err
10761 } && test -s conftest.$ac_objext; then
10762 ac_header_compiler=yes
10764 echo "$as_me: failed program was:" >&5
10765 sed 's/^/| /' conftest.$ac_ext >&5
10767 ac_header_compiler=no
10770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10771 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10772 echo "${ECHO_T}$ac_header_compiler" >&6; }
10774 # Is the header present?
10775 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10776 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10777 cat >conftest.$ac_ext <<_ACEOF
10780 cat confdefs.h >>conftest.$ac_ext
10781 cat >>conftest.$ac_ext <<_ACEOF
10782 /* end confdefs.h. */
10783 #include <$ac_header>
10785 if { (ac_try="$ac_cpp conftest.$ac_ext"
10786 case "(($ac_try" in
10787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10788 *) ac_try_echo=$ac_try;;
10790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10793 grep -v '^ *+' conftest.er1 >conftest.err
10795 cat conftest.err >&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } >/dev/null && {
10798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10799 test ! -s conftest.err
10801 ac_header_preproc=yes
10803 echo "$as_me: failed program was:" >&5
10804 sed 's/^/| /' conftest.$ac_ext >&5
10806 ac_header_preproc=no
10809 rm -f conftest.err conftest.$ac_ext
10810 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10811 echo "${ECHO_T}$ac_header_preproc" >&6; }
10813 # So? What about this header?
10814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10820 ac_header_preproc=yes
10823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10827 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10829 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10830 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10833 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10836 ## --------------------------------- ##
10837 ## Report this to bug-cvs@nongnu.org ##
10838 ## --------------------------------- ##
10840 ) | sed "s/^/$as_me: WARNING: /" >&2
10843 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 eval "$as_ac_Header=\$ac_header_preproc"
10850 ac_res=`eval echo '${'$as_ac_Header'}'`
10851 { echo "$as_me:$LINENO: result: $ac_res" >&5
10852 echo "${ECHO_T}$ac_res" >&6; }
10855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10856 cat >>confdefs.h <<_ACEOF
10857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10864 # And look through them for GSS_C_NT_HOSTBASED_SERVICE or its alternatives
10865 { echo "$as_me:$LINENO: checking for GSS_C_NT_HOSTBASED_SERVICE" >&5
10866 echo $ECHO_N "checking for GSS_C_NT_HOSTBASED_SERVICE... $ECHO_C" >&6; }
10867 if test "${acx_gssapi_cv_gss_c_nt_hostbased_service+set}" = set; then
10868 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 acx_gssapi_cv_gss_c_nt_hostbased_service=no
10872 if test "$ac_cv_header_gssapi_h" = "yes"; then
10873 cat >conftest.$ac_ext <<_ACEOF
10876 cat confdefs.h >>conftest.$ac_ext
10877 cat >>conftest.$ac_ext <<_ACEOF
10878 /* end confdefs.h. */
10879 #include <gssapi.h>
10882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10883 $EGREP "GSS_C_NT_HOSTBASED_SERVICE" >/dev/null 2>&1; then
10884 acx_gssapi_cv_gss_c_nt_hostbased_service=yes
10887 cat >conftest.$ac_ext <<_ACEOF
10890 cat confdefs.h >>conftest.$ac_ext
10891 cat >>conftest.$ac_ext <<_ACEOF
10892 /* end confdefs.h. */
10893 #include <gssapi.h>
10896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10897 $EGREP "gss_nt_service_name" >/dev/null 2>&1; then
10898 acx_gssapi_cv_gss_c_nt_hostbased_service=gss_nt_service_name
10907 if test $acx_gssapi_cv_gss_c_nt_hostbased_service = no &&
10908 test "$ac_cv_header_gssapi_gssapi_h" = "yes"; then
10909 cat >conftest.$ac_ext <<_ACEOF
10912 cat confdefs.h >>conftest.$ac_ext
10913 cat >>conftest.$ac_ext <<_ACEOF
10914 /* end confdefs.h. */
10915 #include <gssapi/gssapi.h>
10918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10919 $EGREP "GSS_C_NT_HOSTBASED_SERVICE" >/dev/null 2>&1; then
10920 acx_gssapi_cv_gss_c_nt_hostbased_service=yes
10923 cat >conftest.$ac_ext <<_ACEOF
10926 cat confdefs.h >>conftest.$ac_ext
10927 cat >>conftest.$ac_ext <<_ACEOF
10928 /* end confdefs.h. */
10929 #include <gssapi/gssapi.h>
10932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10933 $EGREP "gss_nt_service_name" >/dev/null 2>&1; then
10934 acx_gssapi_cv_gss_c_nt_hostbased_service=gss_nt_service_name
10943 if test $acx_gssapi_cv_gss_c_nt_hostbased_service = no &&
10944 test "$ac_cv_header_gssapi_gssapi_generic_h" = "yes"; then
10945 cat >conftest.$ac_ext <<_ACEOF
10948 cat confdefs.h >>conftest.$ac_ext
10949 cat >>conftest.$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10951 #include <gssapi/gssapi_generic.h>
10954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10955 $EGREP "GSS_C_NT_HOSTBASED_SERVICE" >/dev/null 2>&1; then
10956 acx_gssapi_cv_gss_c_nt_hostbased_service=yes
10959 cat >conftest.$ac_ext <<_ACEOF
10962 cat confdefs.h >>conftest.$ac_ext
10963 cat >>conftest.$ac_ext <<_ACEOF
10964 /* end confdefs.h. */
10965 #include <gssapi/gssapi_generic.h>
10968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10969 $EGREP "gss_nt_service_name" >/dev/null 2>&1; then
10970 acx_gssapi_cv_gss_c_nt_hostbased_service=gss_nt_service_name
10981 { echo "$as_me:$LINENO: result: $acx_gssapi_cv_gss_c_nt_hostbased_service" >&5
10982 echo "${ECHO_T}$acx_gssapi_cv_gss_c_nt_hostbased_service" >&6; }
10983 if test $acx_gssapi_cv_gss_c_nt_hostbased_service != yes &&
10984 test $acx_gssapi_cv_gss_c_nt_hostbased_service != no; then
10985 # don't define for yes since that means it already means something and
10986 # don't define for no since we'd rather the compiler catch the error
10987 # It's debatable whether we'd prefer that the compiler catch the error
10988 # - it seems our estranged developer is more likely to be familiar with
10989 # the intricacies of the compiler than with those of autoconf, but by
10990 # the same token, maybe we'd rather alert them to the fact that most
10991 # of the support they need to fix the problem is installed if they can
10992 # simply locate the appropriate symbol.
10994 cat >>confdefs.h <<_ACEOF
10995 #define GSS_C_NT_HOSTBASED_SERVICE $acx_gssapi_cv_gss_c_nt_hostbased_service
11000 CPPFLAGS=$acx_gssapi_save_CPPFLAGS
11002 # Expect the libs to be installed parallel to the headers
11004 # We could try once with and once without, but I'm not sure it's worth the
11006 if test x$acx_gssapi_cv_gssapi != xyes; then
11007 if test -z "$LIBS"; then
11008 LIBS="-L$acx_gssapi_cv_gssapi/lib"
11010 LIBS="-L$acx_gssapi_cv_gssapi/lib $LIBS"
11015 # Some of the order below is particular due to library dependencies
11019 # des Heimdal K 0.3d, but Heimdal seems to be set up such
11020 # that it could have been installed from elsewhere.
11022 { echo "$as_me:$LINENO: checking for library containing des_set_odd_parity" >&5
11023 echo $ECHO_N "checking for library containing des_set_odd_parity... $ECHO_C" >&6; }
11024 if test "${ac_cv_search_des_set_odd_parity+set}" = set; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11027 ac_func_search_save_LIBS=$LIBS
11028 cat >conftest.$ac_ext <<_ACEOF
11031 cat confdefs.h >>conftest.$ac_ext
11032 cat >>conftest.$ac_ext <<_ACEOF
11033 /* end confdefs.h. */
11035 /* Override any GCC internal prototype to avoid an error.
11036 Use char because int might match the return type of a GCC
11037 builtin and then its argument prototype would still apply. */
11041 char des_set_odd_parity ();
11045 return des_set_odd_parity ();
11050 for ac_lib in '' des; do
11051 if test -z "$ac_lib"; then
11052 ac_res="none required"
11055 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11057 rm -f conftest.$ac_objext conftest$ac_exeext
11058 if { (ac_try="$ac_link"
11059 case "(($ac_try" in
11060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11061 *) ac_try_echo=$ac_try;;
11063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 test -z "$ac_c_werror_flag" ||
11072 test ! -s conftest.err
11073 } && test -s conftest$ac_exeext &&
11074 $as_test_x conftest$ac_exeext; then
11075 ac_cv_search_des_set_odd_parity=$ac_res
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.$ac_ext >&5
11083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11085 if test "${ac_cv_search_des_set_odd_parity+set}" = set; then
11089 if test "${ac_cv_search_des_set_odd_parity+set}" = set; then
11092 ac_cv_search_des_set_odd_parity=no
11094 rm 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 ac_res=$ac_cv_search_des_set_odd_parity
11100 if test "$ac_res" != no; then
11101 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11107 # com_err Heimdal K 0.3d
11109 # com_err MIT K5 v1.2.2-beta1
11111 { echo "$as_me:$LINENO: checking for library containing com_err" >&5
11112 echo $ECHO_N "checking for library containing com_err... $ECHO_C" >&6; }
11113 if test "${ac_cv_search_com_err+set}" = set; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11116 ac_func_search_save_LIBS=$LIBS
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 GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11139 for ac_lib in '' com_err; do
11140 if test -z "$ac_lib"; then
11141 ac_res="none required"
11144 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11146 rm -f conftest.$ac_objext conftest$ac_exeext
11147 if { (ac_try="$ac_link"
11148 case "(($ac_try" in
11149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11150 *) ac_try_echo=$ac_try;;
11152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11153 (eval "$ac_link") 2>conftest.er1
11155 grep -v '^ *+' conftest.er1 >conftest.err
11157 cat conftest.err >&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); } && {
11160 test -z "$ac_c_werror_flag" ||
11161 test ! -s conftest.err
11162 } && test -s conftest$ac_exeext &&
11163 $as_test_x conftest$ac_exeext; then
11164 ac_cv_search_com_err=$ac_res
11166 echo "$as_me: failed program was:" >&5
11167 sed 's/^/| /' conftest.$ac_ext >&5
11172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11174 if test "${ac_cv_search_com_err+set}" = set; then
11178 if test "${ac_cv_search_com_err+set}" = set; then
11181 ac_cv_search_com_err=no
11183 rm conftest.$ac_ext
11184 LIBS=$ac_func_search_save_LIBS
11186 { echo "$as_me:$LINENO: result: $ac_cv_search_com_err" >&5
11187 echo "${ECHO_T}$ac_cv_search_com_err" >&6; }
11188 ac_res=$ac_cv_search_com_err
11189 if test "$ac_res" != no; then
11190 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11196 # asn1 Heimdal K 0.3d -lcom_err
11198 { echo "$as_me:$LINENO: checking for library containing initialize_asn1_error_table_r" >&5
11199 echo $ECHO_N "checking for library containing initialize_asn1_error_table_r... $ECHO_C" >&6; }
11200 if test "${ac_cv_search_initialize_asn1_error_table_r+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 ac_func_search_save_LIBS=$LIBS
11204 cat >conftest.$ac_ext <<_ACEOF
11207 cat confdefs.h >>conftest.$ac_ext
11208 cat >>conftest.$ac_ext <<_ACEOF
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11217 char initialize_asn1_error_table_r ();
11221 return initialize_asn1_error_table_r ();
11226 for ac_lib in '' asn1; do
11227 if test -z "$ac_lib"; then
11228 ac_res="none required"
11231 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11233 rm -f conftest.$ac_objext conftest$ac_exeext
11234 if { (ac_try="$ac_link"
11235 case "(($ac_try" in
11236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11237 *) ac_try_echo=$ac_try;;
11239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11240 (eval "$ac_link") 2>conftest.er1
11242 grep -v '^ *+' conftest.er1 >conftest.err
11244 cat conftest.err >&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); } && {
11247 test -z "$ac_c_werror_flag" ||
11248 test ! -s conftest.err
11249 } && test -s conftest$ac_exeext &&
11250 $as_test_x conftest$ac_exeext; then
11251 ac_cv_search_initialize_asn1_error_table_r=$ac_res
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.$ac_ext >&5
11259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11261 if test "${ac_cv_search_initialize_asn1_error_table_r+set}" = set; then
11265 if test "${ac_cv_search_initialize_asn1_error_table_r+set}" = set; then
11268 ac_cv_search_initialize_asn1_error_table_r=no
11270 rm conftest.$ac_ext
11271 LIBS=$ac_func_search_save_LIBS
11273 { echo "$as_me:$LINENO: result: $ac_cv_search_initialize_asn1_error_table_r" >&5
11274 echo "${ECHO_T}$ac_cv_search_initialize_asn1_error_table_r" >&6; }
11275 ac_res=$ac_cv_search_initialize_asn1_error_table_r
11276 if test "$ac_res" != no; then
11277 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11283 # resolv required, but not installed by Heimdal K 0.3d
11285 # resolv MIT K5 1.2.2-beta1
11288 { echo "$as_me:$LINENO: checking for library containing __dn_expand" >&5
11289 echo $ECHO_N "checking for library containing __dn_expand... $ECHO_C" >&6; }
11290 if test "${ac_cv_search___dn_expand+set}" = set; then
11291 echo $ECHO_N "(cached) $ECHO_C" >&6
11293 ac_func_search_save_LIBS=$LIBS
11294 cat >conftest.$ac_ext <<_ACEOF
11297 cat confdefs.h >>conftest.$ac_ext
11298 cat >>conftest.$ac_ext <<_ACEOF
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11307 char __dn_expand ();
11311 return __dn_expand ();
11316 for ac_lib in '' resolv; do
11317 if test -z "$ac_lib"; then
11318 ac_res="none required"
11321 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11323 rm -f conftest.$ac_objext conftest$ac_exeext
11324 if { (ac_try="$ac_link"
11325 case "(($ac_try" in
11326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11327 *) ac_try_echo=$ac_try;;
11329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11330 (eval "$ac_link") 2>conftest.er1
11332 grep -v '^ *+' conftest.er1 >conftest.err
11334 cat conftest.err >&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } && {
11337 test -z "$ac_c_werror_flag" ||
11338 test ! -s conftest.err
11339 } && test -s conftest$ac_exeext &&
11340 $as_test_x conftest$ac_exeext; then
11341 ac_cv_search___dn_expand=$ac_res
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.$ac_ext >&5
11349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11351 if test "${ac_cv_search___dn_expand+set}" = set; then
11355 if test "${ac_cv_search___dn_expand+set}" = set; then
11358 ac_cv_search___dn_expand=no
11360 rm conftest.$ac_ext
11361 LIBS=$ac_func_search_save_LIBS
11363 { echo "$as_me:$LINENO: result: $ac_cv_search___dn_expand" >&5
11364 echo "${ECHO_T}$ac_cv_search___dn_expand" >&6; }
11365 ac_res=$ac_cv_search___dn_expand
11366 if test "$ac_res" != no; then
11367 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11373 # crypto Need by gssapi under FreeBSD 5.4
11375 { echo "$as_me:$LINENO: checking for library containing RC4" >&5
11376 echo $ECHO_N "checking for library containing RC4... $ECHO_C" >&6; }
11377 if test "${ac_cv_search_RC4+set}" = set; then
11378 echo $ECHO_N "(cached) $ECHO_C" >&6
11380 ac_func_search_save_LIBS=$LIBS
11381 cat >conftest.$ac_ext <<_ACEOF
11384 cat confdefs.h >>conftest.$ac_ext
11385 cat >>conftest.$ac_ext <<_ACEOF
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11403 for ac_lib in '' crypto; do
11404 if test -z "$ac_lib"; then
11405 ac_res="none required"
11408 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11410 rm -f conftest.$ac_objext conftest$ac_exeext
11411 if { (ac_try="$ac_link"
11412 case "(($ac_try" in
11413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11414 *) ac_try_echo=$ac_try;;
11416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11417 (eval "$ac_link") 2>conftest.er1
11419 grep -v '^ *+' conftest.er1 >conftest.err
11421 cat conftest.err >&5
11422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11423 (exit $ac_status); } && {
11424 test -z "$ac_c_werror_flag" ||
11425 test ! -s conftest.err
11426 } && test -s conftest$ac_exeext &&
11427 $as_test_x conftest$ac_exeext; then
11428 ac_cv_search_RC4=$ac_res
11430 echo "$as_me: failed program was:" >&5
11431 sed 's/^/| /' conftest.$ac_ext >&5
11436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11438 if test "${ac_cv_search_RC4+set}" = set; then
11442 if test "${ac_cv_search_RC4+set}" = set; then
11445 ac_cv_search_RC4=no
11447 rm conftest.$ac_ext
11448 LIBS=$ac_func_search_save_LIBS
11450 { echo "$as_me:$LINENO: result: $ac_cv_search_RC4" >&5
11451 echo "${ECHO_T}$ac_cv_search_RC4" >&6; }
11452 ac_res=$ac_cv_search_RC4
11453 if test "$ac_res" != no; then
11454 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11460 # crypt Needed by roken under FreeBSD 4.6.
11462 { echo "$as_me:$LINENO: checking for library containing crypt" >&5
11463 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6; }
11464 if test "${ac_cv_search_crypt+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11467 ac_func_search_save_LIBS=$LIBS
11468 cat >conftest.$ac_ext <<_ACEOF
11471 cat confdefs.h >>conftest.$ac_ext
11472 cat >>conftest.$ac_ext <<_ACEOF
11473 /* end confdefs.h. */
11475 /* Override any GCC internal prototype to avoid an error.
11476 Use char because int might match the return type of a GCC
11477 builtin and then its argument prototype would still apply. */
11490 for ac_lib in '' crypt; do
11491 if test -z "$ac_lib"; then
11492 ac_res="none required"
11495 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11497 rm -f conftest.$ac_objext conftest$ac_exeext
11498 if { (ac_try="$ac_link"
11499 case "(($ac_try" in
11500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11501 *) ac_try_echo=$ac_try;;
11503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11504 (eval "$ac_link") 2>conftest.er1
11506 grep -v '^ *+' conftest.er1 >conftest.err
11508 cat conftest.err >&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); } && {
11511 test -z "$ac_c_werror_flag" ||
11512 test ! -s conftest.err
11513 } && test -s conftest$ac_exeext &&
11514 $as_test_x conftest$ac_exeext; then
11515 ac_cv_search_crypt=$ac_res
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.$ac_ext >&5
11523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11525 if test "${ac_cv_search_crypt+set}" = set; then
11529 if test "${ac_cv_search_crypt+set}" = set; then
11532 ac_cv_search_crypt=no
11534 rm conftest.$ac_ext
11535 LIBS=$ac_func_search_save_LIBS
11537 { echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
11538 echo "${ECHO_T}$ac_cv_search_crypt" >&6; }
11539 ac_res=$ac_cv_search_crypt
11540 if test "$ac_res" != no; then
11541 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11547 # roken Heimdal K 0.3d -lresolv
11548 # roken FreeBSD 4.6 -lcrypt
11550 { echo "$as_me:$LINENO: checking for library containing roken_gethostbyaddr" >&5
11551 echo $ECHO_N "checking for library containing roken_gethostbyaddr... $ECHO_C" >&6; }
11552 if test "${ac_cv_search_roken_gethostbyaddr+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 ac_func_search_save_LIBS=$LIBS
11556 cat >conftest.$ac_ext <<_ACEOF
11559 cat confdefs.h >>conftest.$ac_ext
11560 cat >>conftest.$ac_ext <<_ACEOF
11561 /* end confdefs.h. */
11563 /* Override any GCC internal prototype to avoid an error.
11564 Use char because int might match the return type of a GCC
11565 builtin and then its argument prototype would still apply. */
11569 char roken_gethostbyaddr ();
11573 return roken_gethostbyaddr ();
11578 for ac_lib in '' roken; do
11579 if test -z "$ac_lib"; then
11580 ac_res="none required"
11583 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11585 rm -f conftest.$ac_objext conftest$ac_exeext
11586 if { (ac_try="$ac_link"
11587 case "(($ac_try" in
11588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11589 *) ac_try_echo=$ac_try;;
11591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11592 (eval "$ac_link") 2>conftest.er1
11594 grep -v '^ *+' conftest.er1 >conftest.err
11596 cat conftest.err >&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); } && {
11599 test -z "$ac_c_werror_flag" ||
11600 test ! -s conftest.err
11601 } && test -s conftest$ac_exeext &&
11602 $as_test_x conftest$ac_exeext; then
11603 ac_cv_search_roken_gethostbyaddr=$ac_res
11605 echo "$as_me: failed program was:" >&5
11606 sed 's/^/| /' conftest.$ac_ext >&5
11611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11613 if test "${ac_cv_search_roken_gethostbyaddr+set}" = set; then
11617 if test "${ac_cv_search_roken_gethostbyaddr+set}" = set; then
11620 ac_cv_search_roken_gethostbyaddr=no
11622 rm conftest.$ac_ext
11623 LIBS=$ac_func_search_save_LIBS
11625 { echo "$as_me:$LINENO: result: $ac_cv_search_roken_gethostbyaddr" >&5
11626 echo "${ECHO_T}$ac_cv_search_roken_gethostbyaddr" >&6; }
11627 ac_res=$ac_cv_search_roken_gethostbyaddr
11628 if test "$ac_res" != no; then
11629 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11635 # k5crypto MIT K5 v1.2.2-beta1
11637 { echo "$as_me:$LINENO: checking for library containing valid_enctype" >&5
11638 echo $ECHO_N "checking for library containing valid_enctype... $ECHO_C" >&6; }
11639 if test "${ac_cv_search_valid_enctype+set}" = set; then
11640 echo $ECHO_N "(cached) $ECHO_C" >&6
11642 ac_func_search_save_LIBS=$LIBS
11643 cat >conftest.$ac_ext <<_ACEOF
11646 cat confdefs.h >>conftest.$ac_ext
11647 cat >>conftest.$ac_ext <<_ACEOF
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11656 char valid_enctype ();
11660 return valid_enctype ();
11665 for ac_lib in '' k5crypto; do
11666 if test -z "$ac_lib"; then
11667 ac_res="none required"
11670 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11672 rm -f conftest.$ac_objext conftest$ac_exeext
11673 if { (ac_try="$ac_link"
11674 case "(($ac_try" in
11675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11676 *) ac_try_echo=$ac_try;;
11678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11679 (eval "$ac_link") 2>conftest.er1
11681 grep -v '^ *+' conftest.er1 >conftest.err
11683 cat conftest.err >&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); } && {
11686 test -z "$ac_c_werror_flag" ||
11687 test ! -s conftest.err
11688 } && test -s conftest$ac_exeext &&
11689 $as_test_x conftest$ac_exeext; then
11690 ac_cv_search_valid_enctype=$ac_res
11692 echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.$ac_ext >&5
11698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11700 if test "${ac_cv_search_valid_enctype+set}" = set; then
11704 if test "${ac_cv_search_valid_enctype+set}" = set; then
11707 ac_cv_search_valid_enctype=no
11709 rm conftest.$ac_ext
11710 LIBS=$ac_func_search_save_LIBS
11712 { echo "$as_me:$LINENO: result: $ac_cv_search_valid_enctype" >&5
11713 echo "${ECHO_T}$ac_cv_search_valid_enctype" >&6; }
11714 ac_res=$ac_cv_search_valid_enctype
11715 if test "$ac_res" != no; then
11716 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11722 # gen ? ? ? Needed on Irix 5.3 with some
11723 # Irix 5.3 version of Kerberos. I'm not
11724 # sure which since Irix didn't
11725 # get any testing this time
11726 # around. Original comment:
11728 # This is necessary on Irix 5.3, in order to link against libkrb5 --
11729 # there, an_to_ln.o refers to things defined only in -lgen.
11731 { echo "$as_me:$LINENO: checking for library containing compile" >&5
11732 echo $ECHO_N "checking for library containing compile... $ECHO_C" >&6; }
11733 if test "${ac_cv_search_compile+set}" = set; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 ac_func_search_save_LIBS=$LIBS
11737 cat >conftest.$ac_ext <<_ACEOF
11740 cat confdefs.h >>conftest.$ac_ext
11741 cat >>conftest.$ac_ext <<_ACEOF
11742 /* end confdefs.h. */
11744 /* Override any GCC internal prototype to avoid an error.
11745 Use char because int might match the return type of a GCC
11746 builtin and then its argument prototype would still apply. */
11759 for ac_lib in '' gen; do
11760 if test -z "$ac_lib"; then
11761 ac_res="none required"
11764 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11766 rm -f conftest.$ac_objext conftest$ac_exeext
11767 if { (ac_try="$ac_link"
11768 case "(($ac_try" in
11769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11770 *) ac_try_echo=$ac_try;;
11772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11773 (eval "$ac_link") 2>conftest.er1
11775 grep -v '^ *+' conftest.er1 >conftest.err
11777 cat conftest.err >&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } && {
11780 test -z "$ac_c_werror_flag" ||
11781 test ! -s conftest.err
11782 } && test -s conftest$ac_exeext &&
11783 $as_test_x conftest$ac_exeext; then
11784 ac_cv_search_compile=$ac_res
11786 echo "$as_me: failed program was:" >&5
11787 sed 's/^/| /' conftest.$ac_ext >&5
11792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11794 if test "${ac_cv_search_compile+set}" = set; then
11798 if test "${ac_cv_search_compile+set}" = set; then
11801 ac_cv_search_compile=no
11803 rm conftest.$ac_ext
11804 LIBS=$ac_func_search_save_LIBS
11806 { echo "$as_me:$LINENO: result: $ac_cv_search_compile" >&5
11807 echo "${ECHO_T}$ac_cv_search_compile" >&6; }
11808 ac_res=$ac_cv_search_compile
11809 if test "$ac_res" != no; then
11810 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11816 # krb5 ? ? ? -lgen -l???
11819 # krb5 MIT K5 v1.1.1
11821 # krb5 MIT K5 v1.2.2-beta1 -lcrypto -lcom_err
11824 # krb5 MIT K5 v1.2.2-beta1 -lcrypto -lcom_err -lresolv
11826 # krb5 Heimdal K 0.3d -lasn1 -lroken -ldes
11828 { echo "$as_me:$LINENO: checking for library containing krb5_free_context" >&5
11829 echo $ECHO_N "checking for library containing krb5_free_context... $ECHO_C" >&6; }
11830 if test "${ac_cv_search_krb5_free_context+set}" = set; then
11831 echo $ECHO_N "(cached) $ECHO_C" >&6
11833 ac_func_search_save_LIBS=$LIBS
11834 cat >conftest.$ac_ext <<_ACEOF
11837 cat confdefs.h >>conftest.$ac_ext
11838 cat >>conftest.$ac_ext <<_ACEOF
11839 /* end confdefs.h. */
11841 /* Override any GCC internal prototype to avoid an error.
11842 Use char because int might match the return type of a GCC
11843 builtin and then its argument prototype would still apply. */
11847 char krb5_free_context ();
11851 return krb5_free_context ();
11856 for ac_lib in '' krb5; do
11857 if test -z "$ac_lib"; then
11858 ac_res="none required"
11861 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11863 rm -f conftest.$ac_objext conftest$ac_exeext
11864 if { (ac_try="$ac_link"
11865 case "(($ac_try" in
11866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11867 *) ac_try_echo=$ac_try;;
11869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11870 (eval "$ac_link") 2>conftest.er1
11872 grep -v '^ *+' conftest.er1 >conftest.err
11874 cat conftest.err >&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); } && {
11877 test -z "$ac_c_werror_flag" ||
11878 test ! -s conftest.err
11879 } && test -s conftest$ac_exeext &&
11880 $as_test_x conftest$ac_exeext; then
11881 ac_cv_search_krb5_free_context=$ac_res
11883 echo "$as_me: failed program was:" >&5
11884 sed 's/^/| /' conftest.$ac_ext >&5
11889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11891 if test "${ac_cv_search_krb5_free_context+set}" = set; then
11895 if test "${ac_cv_search_krb5_free_context+set}" = set; then
11898 ac_cv_search_krb5_free_context=no
11900 rm conftest.$ac_ext
11901 LIBS=$ac_func_search_save_LIBS
11903 { echo "$as_me:$LINENO: result: $ac_cv_search_krb5_free_context" >&5
11904 echo "${ECHO_T}$ac_cv_search_krb5_free_context" >&6; }
11905 ac_res=$ac_cv_search_krb5_free_context
11906 if test "$ac_res" != no; then
11907 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11913 # gss This may be the only lib needed under HP-UX, so find it
11916 # gssapi_krb5 Only lib needed with MIT K5 v1.2.1, so find it first in
11917 # order to prefer MIT Kerberos. If both MIT & Heimdal
11918 # Kerberos are installed and in the path, this will leave
11919 # some of the libraries above in LIBS unnecessarily, but
11920 # noone would ever do that, right?
11924 # gssapi_krb5 MIT K5 v1.2.2-beta1 -lkrb5
11926 # gssapi Heimdal K 0.3d -lkrb5
11928 { echo "$as_me:$LINENO: checking for library containing gss_import_name" >&5
11929 echo $ECHO_N "checking for library containing gss_import_name... $ECHO_C" >&6; }
11930 if test "${ac_cv_search_gss_import_name+set}" = set; then
11931 echo $ECHO_N "(cached) $ECHO_C" >&6
11933 ac_func_search_save_LIBS=$LIBS
11934 cat >conftest.$ac_ext <<_ACEOF
11937 cat confdefs.h >>conftest.$ac_ext
11938 cat >>conftest.$ac_ext <<_ACEOF
11939 /* end confdefs.h. */
11941 /* Override any GCC internal prototype to avoid an error.
11942 Use char because int might match the return type of a GCC
11943 builtin and then its argument prototype would still apply. */
11947 char gss_import_name ();
11951 return gss_import_name ();
11956 for ac_lib in '' gss gssapi_krb5 gssapi; do
11957 if test -z "$ac_lib"; then
11958 ac_res="none required"
11961 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11963 rm -f conftest.$ac_objext conftest$ac_exeext
11964 if { (ac_try="$ac_link"
11965 case "(($ac_try" in
11966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11967 *) ac_try_echo=$ac_try;;
11969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11970 (eval "$ac_link") 2>conftest.er1
11972 grep -v '^ *+' conftest.er1 >conftest.err
11974 cat conftest.err >&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); } && {
11977 test -z "$ac_c_werror_flag" ||
11978 test ! -s conftest.err
11979 } && test -s conftest$ac_exeext &&
11980 $as_test_x conftest$ac_exeext; then
11981 ac_cv_search_gss_import_name=$ac_res
11983 echo "$as_me: failed program was:" >&5
11984 sed 's/^/| /' conftest.$ac_ext >&5
11989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11991 if test "${ac_cv_search_gss_import_name+set}" = set; then
11995 if test "${ac_cv_search_gss_import_name+set}" = set; then
11998 ac_cv_search_gss_import_name=no
12000 rm conftest.$ac_ext
12001 LIBS=$ac_func_search_save_LIBS
12003 { echo "$as_me:$LINENO: result: $ac_cv_search_gss_import_name" >&5
12004 echo "${ECHO_T}$ac_cv_search_gss_import_name" >&6; }
12005 ac_res=$ac_cv_search_gss_import_name
12006 if test "$ac_res" != no; then
12007 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12018 # Let the confiscator request a specific editor
12020 # Check whether --with-editor was given.
12021 if test "${with_editor+set}" = set; then
12022 withval=$with_editor;
12028 # If --with-editor was supplied with an argument, let it override $EDITOR from
12029 # the user's environment. We need to unset EDITOR here because AC_CHECK_PROGS
12030 # will let the value of EDITOR ride when it is set rather than searching. We
12031 # ignore the --without-editor case since it will be caught below.
12032 if test -n "$EDITOR" && test yes != $with_editor; then
12033 $as_unset EDITOR || test "${EDITOR+set}" != set || { EDITOR=; export EDITOR; }
12036 # Set the default when --with-editor wasn't supplied or when it was supplied
12037 # without an argument.
12038 if test yes = $with_editor; then
12039 with_editor="vim vi emacs nano pico edit"
12042 if echo $with_editor |grep ^/ >/dev/null; then
12043 # If $with_editor is an absolute path, issue a warning if the executable
12044 # doesn't exist or isn't usable, but then trust the user and use it
12046 EDITOR=$with_editor
12047 { echo "$as_me:$LINENO: checking for an editor" >&5
12048 echo $ECHO_N "checking for an editor... $ECHO_C" >&6; }
12049 { echo "$as_me:$LINENO: result: $EDITOR" >&5
12050 echo "${ECHO_T}$EDITOR" >&6; }
12051 if ! test -f $with_editor \
12052 || ! test -x $with_editor; then
12053 # warn the user that they may encounter problems
12054 { echo "$as_me:$LINENO: WARNING: \`$with_editor' is not a path to an executable file" >&5
12055 echo "$as_me: WARNING: \`$with_editor' is not a path to an executable file" >&2;}
12057 elif test no != "${with_editor}"; then
12058 # Search for an editor
12059 for ac_prog in $with_editor
12061 # Extract the first word of "$ac_prog", so it can be a program name with args.
12062 set dummy $ac_prog; ac_word=$2
12063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12065 if test "${ac_cv_prog_EDITOR+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 if test -n "$EDITOR"; then
12069 ac_cv_prog_EDITOR="$EDITOR" # Let the user override the test.
12071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12072 for as_dir in $PATH
12075 test -z "$as_dir" && as_dir=.
12076 for ac_exec_ext in '' $ac_executable_extensions; do
12077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12078 ac_cv_prog_EDITOR="$ac_prog"
12079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 EDITOR=$ac_cv_prog_EDITOR
12089 if test -n "$EDITOR"; then
12090 { echo "$as_me:$LINENO: result: $EDITOR" >&5
12091 echo "${ECHO_T}$EDITOR" >&6; }
12093 { echo "$as_me:$LINENO: result: no" >&5
12094 echo "${ECHO_T}no" >&6; }
12098 test -n "$EDITOR" && break
12100 test -n "$EDITOR" || EDITOR="no"
12102 if test no = "${EDITOR}"; then
12103 { { echo "$as_me:$LINENO: error:
12104 Failed to find a text file editor. CVS cannot be compiled
12105 without a default log message editor. Searched for
12106 \`$with_editor'. Try \`configure --with-editor'." >&5
12107 echo "$as_me: error:
12108 Failed to find a text file editor. CVS cannot be compiled
12109 without a default log message editor. Searched for
12110 \`$with_editor'. Try \`configure --with-editor'." >&2;}
12111 { (exit 1); exit 1; }; }
12114 { { echo "$as_me:$LINENO: error:
12115 CVS cannot be compiled without a default log message editor.
12116 Try \`configure --with-editor'." >&5
12117 echo "$as_me: error:
12118 CVS cannot be compiled without a default log message editor.
12119 Try \`configure --with-editor'." >&2;}
12120 { (exit 1); exit 1; }; }
12124 cat >>confdefs.h <<_ACEOF
12125 #define EDITOR_DFLT "$EDITOR"
12131 # What remote shell transport should the :extssh: client cvs default to using?
12133 # Check whether --with-ssh was given.
12134 if test "${with_ssh+set}" = set; then
12137 with_ssh="ssh lshc ssh2"
12141 if test no = "$with_ssh"; then
12142 { echo "$as_me:$LINENO: WARNING: Failed to find usable remote shell. Using 'ssh'." >&5
12143 echo "$as_me: WARNING: Failed to find usable remote shell. Using 'ssh'." >&2;}
12145 elif test yes = "$with_ssh"; then
12146 # Make --with-ssh mean the same thing as --with-ssh=ssh
12150 if echo $with_ssh |grep ^/ >/dev/null; then
12151 # If $with_ssh is an absolute path, issue a warning if the executable
12152 # doesn't exist or isn't usable, but then trust the user and use it
12154 with_default_ssh=$with_ssh
12155 { echo "$as_me:$LINENO: checking for a remote shell" >&5
12156 echo $ECHO_N "checking for a remote shell... $ECHO_C" >&6; }
12157 if ! test -f $with_ssh \
12158 || ! test -x $with_ssh; then
12159 # warn the user that they may encounter problems
12160 { echo "$as_me:$LINENO: WARNING: $with_ssh is not a path to an executable file" >&5
12161 echo "$as_me: WARNING: $with_ssh is not a path to an executable file" >&2;}
12164 # Search for a remote shell
12165 for ac_prog in $with_ssh
12167 # Extract the first word of "$ac_prog", so it can be a program name with args.
12168 set dummy $ac_prog; ac_word=$2
12169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12171 if test "${ac_cv_prog_with_default_ssh+set}" = set; then
12172 echo $ECHO_N "(cached) $ECHO_C" >&6
12174 if test -n "$with_default_ssh"; then
12175 ac_cv_prog_with_default_ssh="$with_default_ssh" # Let the user override the test.
12177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12178 for as_dir in $PATH
12181 test -z "$as_dir" && as_dir=.
12182 for ac_exec_ext in '' $ac_executable_extensions; do
12183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12184 ac_cv_prog_with_default_ssh="$ac_prog"
12185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12194 with_default_ssh=$ac_cv_prog_with_default_ssh
12195 if test -n "$with_default_ssh"; then
12196 { echo "$as_me:$LINENO: result: $with_default_ssh" >&5
12197 echo "${ECHO_T}$with_default_ssh" >&6; }
12199 { echo "$as_me:$LINENO: result: no" >&5
12200 echo "${ECHO_T}no" >&6; }
12204 test -n "$with_default_ssh" && break
12206 test -n "$with_default_ssh" || with_default_ssh=""ssh""
12211 cat >>confdefs.h <<_ACEOF
12212 #define SSH_DFLT "$with_default_ssh"
12218 # What remote shell transport should our client cvs default to using?
12220 # Check whether --with-rsh was given.
12221 if test "${with_rsh+set}" = set; then
12224 with_rsh="remsh rsh ssh lshc ssh2"
12228 if test no = "$with_rsh"; then
12229 { echo "$as_me:$LINENO: WARNING: Failed to find usable remote shell. Using 'rsh'." >&5
12230 echo "$as_me: WARNING: Failed to find usable remote shell. Using 'rsh'." >&2;}
12232 elif test yes = "$with_rsh"; then
12233 # Make --with-rsh mean the same thing as --with-rsh=rsh
12237 if echo $with_rsh |grep ^/ >/dev/null; then
12238 # If $with_rsh is an absolute path, issue a warning if the executable
12239 # doesn't exist or isn't usable, but then trust the user and use it
12241 with_default_rsh=$with_rsh
12242 { echo "$as_me:$LINENO: checking for a remote shell" >&5
12243 echo $ECHO_N "checking for a remote shell... $ECHO_C" >&6; }
12244 if ! test -f $with_rsh \
12245 || ! test -x $with_rsh; then
12246 # warn the user that they may encounter problems
12247 { echo "$as_me:$LINENO: WARNING: $with_rsh is not a path to an executable file" >&5
12248 echo "$as_me: WARNING: $with_rsh is not a path to an executable file" >&2;}
12251 # Search for a remote shell
12252 for ac_prog in $with_rsh
12254 # Extract the first word of "$ac_prog", so it can be a program name with args.
12255 set dummy $ac_prog; ac_word=$2
12256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12258 if test "${ac_cv_prog_with_default_rsh+set}" = set; then
12259 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 if test -n "$with_default_rsh"; then
12262 ac_cv_prog_with_default_rsh="$with_default_rsh" # Let the user override the test.
12264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12265 for as_dir in $PATH
12268 test -z "$as_dir" && as_dir=.
12269 for ac_exec_ext in '' $ac_executable_extensions; do
12270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12271 ac_cv_prog_with_default_rsh="$ac_prog"
12272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12281 with_default_rsh=$ac_cv_prog_with_default_rsh
12282 if test -n "$with_default_rsh"; then
12283 { echo "$as_me:$LINENO: result: $with_default_rsh" >&5
12284 echo "${ECHO_T}$with_default_rsh" >&6; }
12286 { echo "$as_me:$LINENO: result: no" >&5
12287 echo "${ECHO_T}no" >&6; }
12291 test -n "$with_default_rsh" && break
12293 test -n "$with_default_rsh" || with_default_rsh=""rsh""
12298 cat >>confdefs.h <<_ACEOF
12299 #define RSH_DFLT "$with_default_rsh"
12305 # Check whether --with-tmpdir was given.
12306 if test "${with_tmpdir+set}" = set; then
12307 withval=$with_tmpdir;
12311 { echo "$as_me:$LINENO: checking for temporary directory" >&5
12312 echo $ECHO_N "checking for temporary directory... $ECHO_C" >&6; }
12313 if test -z "$with_tmpdir" || test yes = "$with_tmpdir"; then
12314 for with_tmpdir in /tmp /var/tmp no; do
12315 if test -d "$with_tmpdir" && test -x "$with_tmpdir" \
12316 && test -w "$with_tmpdir" && test -r "$with_tmpdir"; then
12320 if test no = "$with_tmpdir"; then
12321 { echo "$as_me:$LINENO: WARNING: Failed to find usable temporary directory. Using '/tmp'." >&5
12322 echo "$as_me: WARNING: Failed to find usable temporary directory. Using '/tmp'." >&2;}
12325 { echo "$as_me:$LINENO: result: $with_tmpdir" >&5
12326 echo "${ECHO_T}$with_tmpdir" >&6; }
12327 elif ! echo "$with_tmpdir" |grep '^[\\/]'; then
12328 { echo "$as_me:$LINENO: result: $with_tmpdir" >&5
12329 echo "${ECHO_T}$with_tmpdir" >&6; }
12330 { { echo "$as_me:$LINENO: error: --with-tmpdir requires an absolute path." >&5
12331 echo "$as_me: error: --with-tmpdir requires an absolute path." >&2;}
12332 { (exit 1); exit 1; }; }
12333 elif ! test -d "$with_tmpdir" || ! test -x "$with_tmpdir" \
12334 || ! test -w "$with_tmpdir" || ! test -r "$with_tmpdir"; then
12335 { echo "$as_me:$LINENO: result: $with_tmpdir" >&5
12336 echo "${ECHO_T}$with_tmpdir" >&6; }
12337 { echo "$as_me:$LINENO: WARNING: User supplied temporary directory ('$with_tmpdir') does not
12338 exist or lacks sufficient permissions for read/write." >&5
12339 echo "$as_me: WARNING: User supplied temporary directory ('$with_tmpdir') does not
12340 exist or lacks sufficient permissions for read/write." >&2;}
12344 cat >>confdefs.h <<_ACEOF
12345 #define TMPDIR_DFLT "$with_tmpdir"
12353 # Check whether --with-umask was given.
12354 if test "${with_umask+set}" = set; then
12355 withval=$with_umask;
12359 if test -z "$with_umask" || test yes = "$with_umask"; then
12361 elif test no = "$with_umask"; then
12366 cat >>confdefs.h <<_ACEOF
12367 #define UMASK_DFLT $with_umask
12373 # Check whether --with-cvs-admin-group was given.
12374 if test "${with_cvs_admin_group+set}" = set; then
12375 withval=$with_cvs_admin_group;
12377 with_cvs_admin_group=cvsadmin
12381 if test yes = "$with_cvs_admin_group"; then
12382 with_cvs_admin_group=cvsadmin
12384 if test no != "$with_cvs_admin_group"; then
12386 cat >>confdefs.h <<_ACEOF
12387 #define CVS_ADMIN_GROUP "$with_cvs_admin_group"
12395 # Check whether --enable-cvs-ndbm was given.
12396 if test "${enable_cvs_ndbm+set}" = set; then
12397 enableval=$enable_cvs_ndbm;
12399 enable_cvs_ndbm=yes
12402 if test no != "$enable_cvs_ndbm"; then
12404 cat >>confdefs.h <<\_ACEOF
12415 # Check whether --enable-mmap was given.
12416 if test "${enable_mmap+set}" = set; then
12417 enableval=$enable_mmap;
12421 if test no != "$enable_mmap"; then
12424 for ac_header in stdlib.h unistd.h
12426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12427 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12431 echo $ECHO_N "(cached) $ECHO_C" >&6
12433 ac_res=`eval echo '${'$as_ac_Header'}'`
12434 { echo "$as_me:$LINENO: result: $ac_res" >&5
12435 echo "${ECHO_T}$ac_res" >&6; }
12437 # Is the header compilable?
12438 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12440 cat >conftest.$ac_ext <<_ACEOF
12443 cat confdefs.h >>conftest.$ac_ext
12444 cat >>conftest.$ac_ext <<_ACEOF
12445 /* end confdefs.h. */
12446 $ac_includes_default
12447 #include <$ac_header>
12449 rm -f conftest.$ac_objext
12450 if { (ac_try="$ac_compile"
12451 case "(($ac_try" in
12452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12453 *) ac_try_echo=$ac_try;;
12455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12456 (eval "$ac_compile") 2>conftest.er1
12458 grep -v '^ *+' conftest.er1 >conftest.err
12460 cat conftest.err >&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); } && {
12463 test -z "$ac_c_werror_flag" ||
12464 test ! -s conftest.err
12465 } && test -s conftest.$ac_objext; then
12466 ac_header_compiler=yes
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.$ac_ext >&5
12471 ac_header_compiler=no
12474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12475 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12476 echo "${ECHO_T}$ac_header_compiler" >&6; }
12478 # Is the header present?
12479 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12481 cat >conftest.$ac_ext <<_ACEOF
12484 cat confdefs.h >>conftest.$ac_ext
12485 cat >>conftest.$ac_ext <<_ACEOF
12486 /* end confdefs.h. */
12487 #include <$ac_header>
12489 if { (ac_try="$ac_cpp conftest.$ac_ext"
12490 case "(($ac_try" in
12491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12492 *) ac_try_echo=$ac_try;;
12494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12497 grep -v '^ *+' conftest.er1 >conftest.err
12499 cat conftest.err >&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } >/dev/null && {
12502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12503 test ! -s conftest.err
12505 ac_header_preproc=yes
12507 echo "$as_me: failed program was:" >&5
12508 sed 's/^/| /' conftest.$ac_ext >&5
12510 ac_header_preproc=no
12513 rm -f conftest.err conftest.$ac_ext
12514 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12515 echo "${ECHO_T}$ac_header_preproc" >&6; }
12517 # So? What about this header?
12518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12520 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12521 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12523 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12524 ac_header_preproc=yes
12527 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12528 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12529 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12530 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12531 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12532 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12533 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12534 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12536 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12537 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12538 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12540 ## --------------------------------- ##
12541 ## Report this to bug-cvs@nongnu.org ##
12542 ## --------------------------------- ##
12544 ) | sed "s/^/$as_me: WARNING: /" >&2
12547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12550 echo $ECHO_N "(cached) $ECHO_C" >&6
12552 eval "$as_ac_Header=\$ac_header_preproc"
12554 ac_res=`eval echo '${'$as_ac_Header'}'`
12555 { echo "$as_me:$LINENO: result: $ac_res" >&5
12556 echo "${ECHO_T}$ac_res" >&6; }
12559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12560 cat >>confdefs.h <<_ACEOF
12561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12569 for ac_func in getpagesize
12571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12572 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12574 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12575 echo $ECHO_N "(cached) $ECHO_C" >&6
12577 cat >conftest.$ac_ext <<_ACEOF
12580 cat confdefs.h >>conftest.$ac_ext
12581 cat >>conftest.$ac_ext <<_ACEOF
12582 /* end confdefs.h. */
12583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12585 #define $ac_func innocuous_$ac_func
12587 /* System header to define __stub macros and hopefully few prototypes,
12588 which can conflict with char $ac_func (); below.
12589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12590 <limits.h> exists even on freestanding compilers. */
12593 # include <limits.h>
12595 # include <assert.h>
12600 /* Override any GCC internal prototype to avoid an error.
12601 Use char because int might match the return type of a GCC
12602 builtin and then its argument prototype would still apply. */
12607 /* The GNU C library defines this for functions which it implements
12608 to always fail with ENOSYS. Some functions are actually named
12609 something starting with __ and the normal name is an alias. */
12610 #if defined __stub_$ac_func || defined __stub___$ac_func
12617 return $ac_func ();
12622 rm -f conftest.$ac_objext conftest$ac_exeext
12623 if { (ac_try="$ac_link"
12624 case "(($ac_try" in
12625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12626 *) ac_try_echo=$ac_try;;
12628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12629 (eval "$ac_link") 2>conftest.er1
12631 grep -v '^ *+' conftest.er1 >conftest.err
12633 cat conftest.err >&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); } && {
12636 test -z "$ac_c_werror_flag" ||
12637 test ! -s conftest.err
12638 } && test -s conftest$ac_exeext &&
12639 $as_test_x conftest$ac_exeext; then
12640 eval "$as_ac_var=yes"
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.$ac_ext >&5
12645 eval "$as_ac_var=no"
12648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12649 conftest$ac_exeext conftest.$ac_ext
12651 ac_res=`eval echo '${'$as_ac_var'}'`
12652 { echo "$as_me:$LINENO: result: $ac_res" >&5
12653 echo "${ECHO_T}$ac_res" >&6; }
12654 if test `eval echo '${'$as_ac_var'}'` = yes; then
12655 cat >>confdefs.h <<_ACEOF
12656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12662 { echo "$as_me:$LINENO: checking for working mmap" >&5
12663 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
12664 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12665 echo $ECHO_N "(cached) $ECHO_C" >&6
12667 if test "$cross_compiling" = yes; then
12668 ac_cv_func_mmap_fixed_mapped=no
12670 cat >conftest.$ac_ext <<_ACEOF
12673 cat confdefs.h >>conftest.$ac_ext
12674 cat >>conftest.$ac_ext <<_ACEOF
12675 /* end confdefs.h. */
12676 $ac_includes_default
12677 /* malloc might have been renamed as rpl_malloc. */
12680 /* Thanks to Mike Haertel and Jim Avera for this test.
12681 Here is a matrix of mmap possibilities:
12682 mmap private not fixed
12683 mmap private fixed at somewhere currently unmapped
12684 mmap private fixed at somewhere already mapped
12685 mmap shared not fixed
12686 mmap shared fixed at somewhere currently unmapped
12687 mmap shared fixed at somewhere already mapped
12688 For private mappings, we should verify that changes cannot be read()
12689 back from the file, nor mmap's back from the file at a different
12690 address. (There have been systems where private was not correctly
12691 implemented like the infamous i386 svr4.0, and systems where the
12692 VM page cache was not coherent with the file system buffer cache
12693 like early versions of FreeBSD and possibly contemporary NetBSD.)
12694 For shared mappings, we should conversely verify that changes get
12695 propagated back to all the places they're supposed to be.
12697 Grep wants private fixed already mapped.
12698 The main things grep needs to know about mmap are:
12699 * does it exist and is it safe to write into the mmap'd area
12700 * how to use it (BSD variants) */
12703 #include <sys/mman.h>
12705 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12709 /* This mess was copied from the GNU getpagesize.h. */
12710 #ifndef HAVE_GETPAGESIZE
12711 /* Assume that all systems that can run configure have sys/param.h. */
12712 # ifndef HAVE_SYS_PARAM_H
12713 # define HAVE_SYS_PARAM_H 1
12716 # ifdef _SC_PAGESIZE
12717 # define getpagesize() sysconf(_SC_PAGESIZE)
12718 # else /* no _SC_PAGESIZE */
12719 # ifdef HAVE_SYS_PARAM_H
12720 # include <sys/param.h>
12721 # ifdef EXEC_PAGESIZE
12722 # define getpagesize() EXEC_PAGESIZE
12723 # else /* no EXEC_PAGESIZE */
12725 # define getpagesize() NBPG * CLSIZE
12728 # endif /* no CLSIZE */
12729 # else /* no NBPG */
12731 # define getpagesize() NBPC
12732 # else /* no NBPC */
12734 # define getpagesize() PAGESIZE
12735 # endif /* PAGESIZE */
12736 # endif /* no NBPC */
12737 # endif /* no NBPG */
12738 # endif /* no EXEC_PAGESIZE */
12739 # else /* no HAVE_SYS_PARAM_H */
12740 # define getpagesize() 8192 /* punt totally */
12741 # endif /* no HAVE_SYS_PARAM_H */
12742 # endif /* no _SC_PAGESIZE */
12744 #endif /* no HAVE_GETPAGESIZE */
12749 char *data, *data2, *data3;
12753 pagesize = getpagesize ();
12755 /* First, make a file with some known garbage in it. */
12756 data = (char *) malloc (pagesize);
12759 for (i = 0; i < pagesize; ++i)
12760 *(data + i) = rand ();
12762 fd = creat ("conftest.mmap", 0600);
12765 if (write (fd, data, pagesize) != pagesize)
12769 /* Next, try to mmap the file at a fixed address which already has
12770 something else allocated at it. If we can, also make sure that
12771 we see the same garbage. */
12772 fd = open ("conftest.mmap", O_RDWR);
12775 data2 = (char *) malloc (2 * pagesize);
12778 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
12779 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12780 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12782 for (i = 0; i < pagesize; ++i)
12783 if (*(data + i) != *(data2 + i))
12786 /* Finally, make sure that changes to the mapped area do not
12787 percolate back to the file as seen by read(). (This is a bug on
12788 some variants of i386 svr4.0.) */
12789 for (i = 0; i < pagesize; ++i)
12790 *(data2 + i) = *(data2 + i) + 1;
12791 data3 = (char *) malloc (pagesize);
12794 if (read (fd, data3, pagesize) != pagesize)
12796 for (i = 0; i < pagesize; ++i)
12797 if (*(data + i) != *(data3 + i))
12803 rm -f conftest$ac_exeext
12804 if { (ac_try="$ac_link"
12805 case "(($ac_try" in
12806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12807 *) ac_try_echo=$ac_try;;
12809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12810 (eval "$ac_link") 2>&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12814 { (case "(($ac_try" in
12815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12816 *) ac_try_echo=$ac_try;;
12818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12819 (eval "$ac_try") 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; }; then
12823 ac_cv_func_mmap_fixed_mapped=yes
12825 echo "$as_me: program exited with status $ac_status" >&5
12826 echo "$as_me: failed program was:" >&5
12827 sed 's/^/| /' conftest.$ac_ext >&5
12829 ( exit $ac_status )
12830 ac_cv_func_mmap_fixed_mapped=no
12832 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12837 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12838 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
12839 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12841 cat >>confdefs.h <<\_ACEOF
12842 #define HAVE_MMAP 1
12846 rm -f conftest.mmap
12850 # Check for options requesting client and server feature. If none are
12851 # given and we have connect(), we want the full client & server arrangement.
12852 # Check whether --enable-client was given.
12853 if test "${enable_client+set}" = set; then
12854 enableval=$enable_client;
12856 if test "$ac_cv_search_connect" != no; then
12861 if test no != "$enable_client"; then
12863 cat >>confdefs.h <<\_ACEOF
12864 #define CLIENT_SUPPORT 1
12869 # Check whether --enable-password-authenticated-client was given.
12870 if test "${enable_password_authenticated_client+set}" = set; then
12871 enableval=$enable_password_authenticated_client;
12875 if test no != "$enable_password_authenticated_client"; then
12876 if test no != "$enable_client"; then
12878 cat >>confdefs.h <<\_ACEOF
12879 #define AUTH_CLIENT_SUPPORT 1
12883 { echo "$as_me:$LINENO: WARNING: --enable-password-authenticated-client is meaningless with
12884 the CVS client disabled (--disable-client)" >&5
12885 echo "$as_me: WARNING: --enable-password-authenticated-client is meaningless with
12886 the CVS client disabled (--disable-client)" >&2;}
12891 # Check whether --enable-server was given.
12892 if test "${enable_server+set}" = set; then
12893 enableval=$enable_server;
12895 if test "$ac_cv_search_connect" != no; then
12901 if test no != "$enable_server"; then
12903 cat >>confdefs.h <<\_ACEOF
12904 #define SERVER_SUPPORT 1
12908 { echo "$as_me:$LINENO: checking for library containing crypt" >&5
12909 echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6; }
12910 if test "${ac_cv_search_crypt+set}" = set; then
12911 echo $ECHO_N "(cached) $ECHO_C" >&6
12913 ac_func_search_save_LIBS=$LIBS
12914 cat >conftest.$ac_ext <<_ACEOF
12917 cat confdefs.h >>conftest.$ac_ext
12918 cat >>conftest.$ac_ext <<_ACEOF
12919 /* end confdefs.h. */
12921 /* Override any GCC internal prototype to avoid an error.
12922 Use char because int might match the return type of a GCC
12923 builtin and then its argument prototype would still apply. */
12936 for ac_lib in '' crypt; do
12937 if test -z "$ac_lib"; then
12938 ac_res="none required"
12941 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12943 rm -f conftest.$ac_objext conftest$ac_exeext
12944 if { (ac_try="$ac_link"
12945 case "(($ac_try" in
12946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12947 *) ac_try_echo=$ac_try;;
12949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12950 (eval "$ac_link") 2>conftest.er1
12952 grep -v '^ *+' conftest.er1 >conftest.err
12954 cat conftest.err >&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); } && {
12957 test -z "$ac_c_werror_flag" ||
12958 test ! -s conftest.err
12959 } && test -s conftest$ac_exeext &&
12960 $as_test_x conftest$ac_exeext; then
12961 ac_cv_search_crypt=$ac_res
12963 echo "$as_me: failed program was:" >&5
12964 sed 's/^/| /' conftest.$ac_ext >&5
12969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12971 if test "${ac_cv_search_crypt+set}" = set; then
12975 if test "${ac_cv_search_crypt+set}" = set; then
12978 ac_cv_search_crypt=no
12980 rm conftest.$ac_ext
12981 LIBS=$ac_func_search_save_LIBS
12983 { echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5
12984 echo "${ECHO_T}$ac_cv_search_crypt" >&6; }
12985 ac_res=$ac_cv_search_crypt
12986 if test "$ac_res" != no; then
12987 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12989 cat >>confdefs.h <<\_ACEOF
12990 #define HAVE_CRYPT 1
12994 cat >>confdefs.h <<\_ACEOF
12995 #define AUTH_SERVER_SUPPORT 1
13000 # Check whether --enable-server-flow-control was given.
13001 if test "${enable_server_flow_control+set}" = set; then
13002 enableval=$enable_server_flow_control; if test yes = $enable_server_flow_control; then
13003 enable_server_flow_control=1M,2M
13006 enable_server_flow_control=1M,2M
13009 if test no != $enable_server_flow_control; then
13010 ccvs_lwm=`expr "$enable_server_flow_control" : '\(.*\),'`
13011 ccvs_hwm=`expr "$enable_server_flow_control" : '.*,\(.*\)'`
13012 ccvs_lwm_E=`expr "$ccvs_lwm" : '[0-9][0-9]*\(.*\)'`
13013 ccvs_lwm=`expr "$ccvs_lwm" : '\([0-9][0-9]*\)'`
13014 test "" != "$ccvs_lwm" || ccvs_lwm_E="?"
13015 case $ccvs_lwm_E in
13016 G) ccvs_lwm="$ccvs_lwm * 1024 * 1024 * 1024";;
13017 M) ccvs_lwm="$ccvs_lwm * 1024 * 1024";;
13018 k) ccvs_lwm="$ccvs_lwm * 1024";;
13020 *) { { echo "$as_me:$LINENO: error: Can't parse argument to --enable-server-flow-control
13021 ('$enable_server_flow_control') as <lwm>,<hwm>" >&5
13022 echo "$as_me: error: Can't parse argument to --enable-server-flow-control
13023 ('$enable_server_flow_control') as <lwm>,<hwm>" >&2;}
13024 { (exit 1); exit 1; }; }
13026 ccvs_hwm_E=`expr "$ccvs_hwm" : '[0-9][0-9]*\(.*\)'`
13027 ccvs_hwm=`expr "$ccvs_hwm" : '\([0-9][0-9]*\).*'`
13028 test "" != "$ccvs_hwm" || ccvs_hwm_E="?"
13029 case $ccvs_hwm_E in
13030 G) ccvs_hwm="$ccvs_hwm * 1024 * 1024 * 1024";;
13031 M) ccvs_hwm="$ccvs_hwm * 1024 * 1024";;
13032 k) ccvs_hwm="$ccvs_hwm * 1024";;
13033 b | '') ccvs_hwm="$ccvs_hwm";;
13034 *) { { echo "$as_me:$LINENO: error: Can't parse argument to --enable-server-flow-control
13035 ('$enable_server_flow_control') as <lwm>,<hwm>" >&5
13036 echo "$as_me: error: Can't parse argument to --enable-server-flow-control
13037 ('$enable_server_flow_control') as <lwm>,<hwm>" >&2;}
13038 { (exit 1); exit 1; }; }
13042 cat >>confdefs.h <<\_ACEOF
13043 #define SERVER_FLOWCONTROL 1
13047 cat >>confdefs.h <<_ACEOF
13048 #define SERVER_LO_WATER ($ccvs_lwm)
13052 cat >>confdefs.h <<_ACEOF
13053 #define SERVER_HI_WATER ($ccvs_hwm)
13056 fi # enable_server_flow_control
13061 # Check whether --enable-case-sensitivity was given.
13062 if test "${enable_case_sensitivity+set}" = set; then
13063 enableval=$enable_case_sensitivity; case "$enable_case_sensitivity" in
13064 yes | no | auto) ;;
13066 { { echo "$as_me:$LINENO: error: Unrecognized argument to --enable-case-sensitivity: \`$enable_case_sensitivity'. Acceptable values are \`yes', \`no', and \`auto'." >&5
13067 echo "$as_me: error: Unrecognized argument to --enable-case-sensitivity: \`$enable_case_sensitivity'. Acceptable values are \`yes', \`no', and \`auto'." >&2;}
13068 { (exit 1); exit 1; }; }
13072 enable_case_sensitivity=auto
13076 acx_forced=' (forced)'
13077 { echo "$as_me:$LINENO: checking for a case sensitive file system" >&5
13078 echo $ECHO_N "checking for a case sensitive file system... $ECHO_C" >&6; }
13079 if test $enable_case_sensitivity = auto; then
13080 if test "${acx_cv_case_sensitive+set}" = set; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 rm -f ac_TEST_filenames_CASE_sensitive
13084 echo foo >ac_test_filenames_case_sensitive
13085 if test -f ac_TEST_filenames_CASE_sensitive; then
13086 acx_cv_case_sensitive=no
13088 acx_cv_case_sensitive=yes
13090 rm ac_test_filenames_case_sensitive
13094 enable_case_sensitivity=$acx_cv_case_sensitive
13097 { echo "$as_me:$LINENO: result: $enable_case_sensitivity$acx_forced" >&5
13098 echo "${ECHO_T}$enable_case_sensitivity$acx_forced" >&6; }
13099 if test $enable_case_sensitivity = no; then
13101 cat >>confdefs.h <<\_ACEOF
13102 #define FILENAMES_CASE_INSENSITIVE 1
13105 case " $LIBOBJS " in
13106 *" fncase.$ac_objext "* ) ;;
13107 *) LIBOBJS="$LIBOBJS fncase.$ac_objext"
13116 # Check whether --enable-encryption was given.
13117 if test "${enable_encryption+set}" = set; then
13118 enableval=$enable_encryption;
13120 enable_encryption=no
13123 if test "$enable_encryption" = yes; then
13124 if test no != "$with_client" || test no != "$with_server"; then
13126 cat >>confdefs.h <<\_ACEOF
13127 #define ENCRYPTION 1
13131 { echo "$as_me:$LINENO: WARNING: --enable-encryption is meaningless when neither the CVS client
13132 nor the CVS server is enabled (--disable-client and --disable-server)." >&5
13133 echo "$as_me: WARNING: --enable-encryption is meaningless when neither the CVS client
13134 nor the CVS server is enabled (--disable-client and --disable-server)." >&2;}
13141 # Check whether --enable-force-editor was given.
13142 if test "${enable_force_editor+set}" = set; then
13143 enableval=$enable_force_editor;
13145 enable_force_editor=no
13149 if test yes = "$enable_force_editor"; then
13151 cat >>confdefs.h <<\_ACEOF
13152 #define FORCE_USE_EDITOR 1
13160 # Check whether --enable-rootcommit was given.
13161 if test "${enable_rootcommit+set}" = set; then
13162 enableval=$enable_rootcommit;
13164 enable_rootcommit=no
13167 if test "$enable_rootcommit" = no; then
13169 cat >>confdefs.h <<\_ACEOF
13170 #define CVS_BADROOT 1
13182 { echo "$as_me:$LINENO: checking for cygwin32" >&5
13183 echo $ECHO_N "checking for cygwin32... $ECHO_C" >&6; }
13184 if test "${ccvs_cv_sys_cygwin32+set}" = set; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 cat >conftest.$ac_ext <<_ACEOF
13190 cat confdefs.h >>conftest.$ac_ext
13191 cat >>conftest.$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13197 return __CYGWIN32__;
13202 rm -f conftest.$ac_objext
13203 if { (ac_try="$ac_compile"
13204 case "(($ac_try" in
13205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13206 *) ac_try_echo=$ac_try;;
13208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13209 (eval "$ac_compile") 2>conftest.er1
13211 grep -v '^ *+' conftest.er1 >conftest.err
13213 cat conftest.err >&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); } && {
13216 test -z "$ac_c_werror_flag" ||
13217 test ! -s conftest.err
13218 } && test -s conftest.$ac_objext; then
13219 ccvs_cv_sys_cygwin32=yes
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.$ac_ext >&5
13224 ccvs_cv_sys_cygwin32=no
13227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13229 { echo "$as_me:$LINENO: result: $ccvs_cv_sys_cygwin32" >&5
13230 echo "${ECHO_T}$ccvs_cv_sys_cygwin32" >&6; }
13231 if test $ccvs_cv_sys_cygwin32 = yes; then
13232 LIBS="$LIBS -ladvapi32"
13235 cat >>confdefs.h <<\_ACEOF
13236 #define UTIME_EXPECTS_WRITABLE 1
13241 cat >>confdefs.h <<\_ACEOF
13242 #define USE_SETMODE_STDOUT 1
13246 cat >>confdefs.h <<\_ACEOF
13247 #define HAVE_SETMODE 1
13252 ac_config_files="$ac_config_files contrib/check_cvs"
13254 ac_config_files="$ac_config_files contrib/clmerge"
13256 ac_config_files="$ac_config_files contrib/cln_hist"
13258 ac_config_files="$ac_config_files contrib/commit_prep"
13260 ac_config_files="$ac_config_files contrib/cvs_acls"
13262 ac_config_files="$ac_config_files contrib/log"
13264 ac_config_files="$ac_config_files contrib/log_accum"
13266 ac_config_files="$ac_config_files contrib/mfpipe"
13268 ac_config_files="$ac_config_files contrib/pvcs2rcs"
13270 ac_config_files="$ac_config_files contrib/rcs2log:contrib/rcs2log.sh"
13272 ac_config_files="$ac_config_files contrib/rcslock"
13274 ac_config_files="$ac_config_files contrib/sccs2rcs"
13276 ac_config_files="$ac_config_files doc/mkman:doc/mkman.pl"
13278 ac_config_files="$ac_config_files src/cvsbug"
13280 ac_config_files="$ac_config_files windows-NT/fix-msvc-mak:windows-NT/fix-msvc-mak-head.pl:windows-NT/fix-msvc-mak.pl"
13283 ac_config_files="$ac_config_files Makefile contrib/Makefile cvs.spec diff/Makefile doc/Makefile emx/Makefile lib/Makefile man/Makefile os2/Makefile src/Makefile tools/Makefile vms/Makefile windows-NT/Makefile windows-NT/SCC/Makefile zlib/Makefile"
13286 cat >confcache <<\_ACEOF
13287 # This file is a shell script that caches the results of configure
13288 # tests run on this system so they can be shared between configure
13289 # scripts and configure runs, see configure's option --config-cache.
13290 # It is not useful on other systems. If it contains results you don't
13291 # want to keep, you may remove or edit it.
13293 # config.status only pays attention to the cache file if you give it
13294 # the --recheck option to rerun configure.
13296 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13297 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13298 # following values.
13302 # The following way of writing the cache mishandles newlines in values,
13303 # but we know of no workaround that is simple, portable, and efficient.
13304 # So, we kill variables containing newlines.
13305 # Ultrix sh set writes to stderr and can't be redirected directly,
13306 # and sets the high bit in the cache file unless we assign to the vars.
13308 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13309 eval ac_val=\$$ac_var
13313 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13314 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13317 _ | IFS | as_nl) ;; #(
13318 *) $as_unset $ac_var ;;
13324 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13325 *${as_nl}ac_space=\ *)
13326 # `set' does not quote correctly, so add quotes (double-quote
13327 # substitution turns \\\\ into \\, and sed turns \\ into \).
13330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13333 # `set' quotes correctly as required by POSIX, so do not add quotes.
13334 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13343 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13345 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13347 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13348 if test -w "$cache_file"; then
13349 test "x$cache_file" != "x/dev/null" &&
13350 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13351 echo "$as_me: updating cache $cache_file" >&6;}
13352 cat confcache >$cache_file
13354 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13355 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13360 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13361 # Let make expand exec_prefix.
13362 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13364 DEFS=-DHAVE_CONFIG_H
13368 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13369 # 1. Remove the extension, and $U if already installed.
13370 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13371 ac_i=`echo "$ac_i" | sed "$ac_script"`
13372 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13373 # will be set to the directory where LIBOBJS objects are built.
13374 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13375 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13377 LIBOBJS=$ac_libobjs
13379 LTLIBOBJS=$ac_ltlibobjs
13382 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13383 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13384 Usually this means the macro was only invoked conditionally." >&5
13385 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13386 Usually this means the macro was only invoked conditionally." >&2;}
13387 { (exit 1); exit 1; }; }
13389 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13390 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13391 Usually this means the macro was only invoked conditionally." >&5
13392 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13393 Usually this means the macro was only invoked conditionally." >&2;}
13394 { (exit 1); exit 1; }; }
13396 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13397 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13398 Usually this means the macro was only invoked conditionally." >&5
13399 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13400 Usually this means the macro was only invoked conditionally." >&2;}
13401 { (exit 1); exit 1; }; }
13403 if test -z "${MAKE_TARGETS_IN_VPATH_TRUE}" && test -z "${MAKE_TARGETS_IN_VPATH_FALSE}"; then
13404 { { echo "$as_me:$LINENO: error: conditional \"MAKE_TARGETS_IN_VPATH\" was never defined.
13405 Usually this means the macro was only invoked conditionally." >&5
13406 echo "$as_me: error: conditional \"MAKE_TARGETS_IN_VPATH\" was never defined.
13407 Usually this means the macro was only invoked conditionally." >&2;}
13408 { (exit 1); exit 1; }; }
13411 : ${CONFIG_STATUS=./config.status}
13412 ac_clean_files_save=$ac_clean_files
13413 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13414 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13415 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13416 cat >$CONFIG_STATUS <<_ACEOF
13418 # Generated by $as_me.
13419 # Run this file to recreate the current configuration.
13420 # Compiler output produced by configure, useful for debugging
13421 # configure, is in config.log if it exists.
13424 ac_cs_recheck=false
13426 SHELL=\${CONFIG_SHELL-$SHELL}
13429 cat >>$CONFIG_STATUS <<\_ACEOF
13430 ## --------------------- ##
13431 ## M4sh Initialization. ##
13432 ## --------------------- ##
13434 # Be more Bourne compatible
13435 DUALCASE=1; export DUALCASE # for MKS sh
13436 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13439 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13440 # is contrary to our usage. Disable this feature.
13441 alias -g '${1+"$@"}'='"$@"'
13442 setopt NO_GLOB_SUBST
13444 case `(set -o) 2>/dev/null` in
13445 *posix*) set -o posix ;;
13454 # Avoid depending upon Character Ranges.
13455 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13456 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13457 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13458 as_cr_digits='0123456789'
13459 as_cr_alnum=$as_cr_Letters$as_cr_digits
13461 # The user is always right.
13462 if test "${PATH_SEPARATOR+set}" != set; then
13463 echo "#! /bin/sh" >conf$$.sh
13464 echo "exit 0" >>conf$$.sh
13466 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13474 # Support unset when possible.
13475 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13483 # We need space, tab and new line, in precisely that order. Quoting is
13484 # there to prevent editors from complaining about space-tab.
13485 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13486 # splitting by setting IFS to empty value.)
13491 # Find who we are. Look in the path if we contain no directory separator.
13493 *[\\/]* ) as_myself=$0 ;;
13494 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13495 for as_dir in $PATH
13498 test -z "$as_dir" && as_dir=.
13499 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13505 # We did not find ourselves, most probably we were run as `sh COMMAND'
13506 # in which case we are not to be found in the path.
13507 if test "x$as_myself" = x; then
13510 if test ! -f "$as_myself"; then
13511 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13512 { (exit 1); exit 1; }
13515 # Work around bugs in pre-3.0 UWIN ksh.
13516 for as_var in ENV MAIL MAILPATH
13517 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13525 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13526 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13527 LC_TELEPHONE LC_TIME
13529 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13530 eval $as_var=C; export $as_var
13532 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13536 # Required to use basename.
13537 if expr a : '\(a\)' >/dev/null 2>&1 &&
13538 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13544 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13545 as_basename=basename
13551 # Name of the executable.
13552 as_me=`$as_basename -- "$0" ||
13553 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13554 X"$0" : 'X\(//\)$' \| \
13555 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13557 sed '/^.*\/\([^/][^/]*\)\/*$/{
13576 as_lineno_1=$LINENO
13577 as_lineno_2=$LINENO
13578 test "x$as_lineno_1" != "x$as_lineno_2" &&
13579 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13581 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13582 # uniformly replaced by the line number. The first 'sed' inserts a
13583 # line-number line after each line using $LINENO; the second 'sed'
13584 # does the real work. The second script uses 'N' to pair each
13585 # line-number line with the line containing $LINENO, and appends
13586 # trailing '-' during substitution so that $LINENO is not a special
13587 # case at line end.
13588 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13589 # scripts with optimization help from Paolo Bonzini. Blame Lee
13590 # E. McMahon (1931-1989) for sed's syntax. :-)
13602 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13605 ' >$as_me.lineno &&
13606 chmod +x "$as_me.lineno" ||
13607 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13608 { (exit 1); exit 1; }; }
13610 # Don't try to exec as it changes $[0], causing all sort of problems
13611 # (the dirname of $[0] is not the place where we might find the
13612 # original and so on. Autoconf is especially sensitive to this).
13613 . "./$as_me.lineno"
13614 # Exit status is that of the last command.
13619 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13625 ECHO_C= ECHO_N= ECHO_T=
13626 case `echo -n x` in
13628 case `echo 'x\c'` in
13629 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13636 if expr a : '\(a\)' >/dev/null 2>&1 &&
13637 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13643 rm -f conf$$ conf$$.exe conf$$.file
13644 if test -d conf$$.dir; then
13645 rm -f conf$$.dir/conf$$.file
13651 if ln -s conf$$.file conf$$ 2>/dev/null; then
13653 # ... but there are two gotchas:
13654 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13655 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13656 # In both cases, we have to default to `cp -p'.
13657 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13659 elif ln conf$$.file conf$$ 2>/dev/null; then
13664 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13665 rmdir conf$$.dir 2>/dev/null
13667 if mkdir -p . 2>/dev/null; then
13670 test -d ./-p && rmdir ./-p
13674 if test -x / >/dev/null 2>&1; then
13675 as_test_x='test -x'
13677 if ls -dL / >/dev/null 2>&1; then
13684 if test -d "$1"; then
13690 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13691 ???[sx]*):;;*)false;;esac;fi
13695 as_executable_p=$as_test_x
13697 # Sed expression to map a string onto a valid CPP name.
13698 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13700 # Sed expression to map a string onto a valid variable name.
13701 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13706 # Save the log message, to keep $[0] and so on meaningful, and to
13707 # report actual input values of CONFIG_FILES etc. instead of their
13708 # values after options handling.
13710 This file was extended by Concurrent Versions System (CVS) $as_me 1.11.22.1, which was
13711 generated by GNU Autoconf 2.61. Invocation command line was
13713 CONFIG_FILES = $CONFIG_FILES
13714 CONFIG_HEADERS = $CONFIG_HEADERS
13715 CONFIG_LINKS = $CONFIG_LINKS
13716 CONFIG_COMMANDS = $CONFIG_COMMANDS
13719 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13724 cat >>$CONFIG_STATUS <<_ACEOF
13725 # Files that config.status was made for.
13726 config_files="$ac_config_files"
13727 config_headers="$ac_config_headers"
13728 config_links="$ac_config_links"
13729 config_commands="$ac_config_commands"
13733 cat >>$CONFIG_STATUS <<\_ACEOF
13735 \`$as_me' instantiates files from templates according to the
13736 current configuration.
13738 Usage: $0 [OPTIONS] [FILE]...
13740 -h, --help print this help, then exit
13741 -V, --version print version number and configuration settings, then exit
13742 -q, --quiet do not print progress messages
13743 -d, --debug don't remove temporary files
13744 --recheck update $as_me by reconfiguring in the same conditions
13745 --file=FILE[:TEMPLATE]
13746 instantiate the configuration file FILE
13747 --header=FILE[:TEMPLATE]
13748 instantiate the configuration header FILE
13750 Configuration files:
13753 Configuration headers:
13756 Configuration links:
13759 Configuration commands:
13762 Report bugs to <bug-autoconf@gnu.org>."
13765 cat >>$CONFIG_STATUS <<_ACEOF
13767 Concurrent Versions System (CVS) config.status 1.11.22.1
13768 configured by $0, generated by GNU Autoconf 2.61,
13769 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13771 Copyright (C) 2006 Free Software Foundation, Inc.
13772 This config.status script is free software; the Free Software Foundation
13773 gives unlimited permission to copy, distribute and modify it."
13781 cat >>$CONFIG_STATUS <<\_ACEOF
13782 # If no file are specified by the user, then we need to provide default
13783 # value. By we need to know if files were specified by the user.
13789 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13790 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13801 # Handling of the options.
13802 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13804 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13805 echo "$ac_cs_version"; exit ;;
13806 --debug | --debu | --deb | --de | --d | -d )
13808 --file | --fil | --fi | --f )
13810 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13811 ac_need_defaults=false;;
13812 --header | --heade | --head | --hea )
13814 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13815 ac_need_defaults=false;;
13817 # Conflict between --help and --header
13818 { echo "$as_me: error: ambiguous option: $1
13819 Try \`$0 --help' for more information." >&2
13820 { (exit 1); exit 1; }; };;
13821 --help | --hel | -h )
13822 echo "$ac_cs_usage"; exit ;;
13823 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13824 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13827 # This is an error.
13828 -*) { echo "$as_me: error: unrecognized option: $1
13829 Try \`$0 --help' for more information." >&2
13830 { (exit 1); exit 1; }; } ;;
13832 *) ac_config_targets="$ac_config_targets $1"
13833 ac_need_defaults=false ;;
13839 ac_configure_extra_args=
13841 if $ac_cs_silent; then
13843 ac_configure_extra_args="$ac_configure_extra_args --silent"
13847 cat >>$CONFIG_STATUS <<_ACEOF
13848 if \$ac_cs_recheck; then
13849 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13850 CONFIG_SHELL=$SHELL
13851 export CONFIG_SHELL
13852 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13856 cat >>$CONFIG_STATUS <<\_ACEOF
13860 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13861 ## Running $as_me. ##
13867 cat >>$CONFIG_STATUS <<_ACEOF
13871 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13875 cat >>$CONFIG_STATUS <<\_ACEOF
13877 # Handling of arguments.
13878 for ac_config_target in $ac_config_targets
13880 case $ac_config_target in
13881 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13882 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13883 "lib/fnmatch.h") CONFIG_LINKS="$CONFIG_LINKS lib/fnmatch.h:lib/fnmatch.h.in" ;;
13884 "contrib/check_cvs") CONFIG_FILES="$CONFIG_FILES contrib/check_cvs" ;;
13885 "contrib/clmerge") CONFIG_FILES="$CONFIG_FILES contrib/clmerge" ;;
13886 "contrib/cln_hist") CONFIG_FILES="$CONFIG_FILES contrib/cln_hist" ;;
13887 "contrib/commit_prep") CONFIG_FILES="$CONFIG_FILES contrib/commit_prep" ;;
13888 "contrib/cvs_acls") CONFIG_FILES="$CONFIG_FILES contrib/cvs_acls" ;;
13889 "contrib/log") CONFIG_FILES="$CONFIG_FILES contrib/log" ;;
13890 "contrib/log_accum") CONFIG_FILES="$CONFIG_FILES contrib/log_accum" ;;
13891 "contrib/mfpipe") CONFIG_FILES="$CONFIG_FILES contrib/mfpipe" ;;
13892 "contrib/pvcs2rcs") CONFIG_FILES="$CONFIG_FILES contrib/pvcs2rcs" ;;
13893 "contrib/rcs2log") CONFIG_FILES="$CONFIG_FILES contrib/rcs2log:contrib/rcs2log.sh" ;;
13894 "contrib/rcslock") CONFIG_FILES="$CONFIG_FILES contrib/rcslock" ;;
13895 "contrib/sccs2rcs") CONFIG_FILES="$CONFIG_FILES contrib/sccs2rcs" ;;
13896 "doc/mkman") CONFIG_FILES="$CONFIG_FILES doc/mkman:doc/mkman.pl" ;;
13897 "src/cvsbug") CONFIG_FILES="$CONFIG_FILES src/cvsbug" ;;
13898 "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" ;;
13899 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13900 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
13901 "cvs.spec") CONFIG_FILES="$CONFIG_FILES cvs.spec" ;;
13902 "diff/Makefile") CONFIG_FILES="$CONFIG_FILES diff/Makefile" ;;
13903 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13904 "emx/Makefile") CONFIG_FILES="$CONFIG_FILES emx/Makefile" ;;
13905 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
13906 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13907 "os2/Makefile") CONFIG_FILES="$CONFIG_FILES os2/Makefile" ;;
13908 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13909 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
13910 "vms/Makefile") CONFIG_FILES="$CONFIG_FILES vms/Makefile" ;;
13911 "windows-NT/Makefile") CONFIG_FILES="$CONFIG_FILES windows-NT/Makefile" ;;
13912 "windows-NT/SCC/Makefile") CONFIG_FILES="$CONFIG_FILES windows-NT/SCC/Makefile" ;;
13913 "zlib/Makefile") CONFIG_FILES="$CONFIG_FILES zlib/Makefile" ;;
13915 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13916 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13917 { (exit 1); exit 1; }; };;
13922 # If the user did not use the arguments to specify the items to instantiate,
13923 # then the envvar interface is used. Set only those that are not.
13924 # We use the long form for the default assignment because of an extremely
13925 # bizarre bug on SunOS 4.1.3.
13926 if $ac_need_defaults; then
13927 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13928 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13929 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
13930 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13933 # Have a temporary directory for convenience. Make it in the build tree
13934 # simply because there is no reason against having it here, and in addition,
13935 # creating and moving files from /tmp can sometimes cause problems.
13936 # Hook for its removal unless debugging.
13937 # Note that there is a small window in which the directory will not be cleaned:
13938 # after its creation but before its name has been assigned to `$tmp'.
13942 trap 'exit_status=$?
13943 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13945 trap '{ (exit 1); exit 1; }' 1 2 13 15
13947 # Create a (secure) tmp directory for tmp files.
13950 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13951 test -n "$tmp" && test -d "$tmp"
13954 tmp=./conf$$-$RANDOM
13955 (umask 077 && mkdir "$tmp")
13958 echo "$me: cannot create a temporary directory in ." >&2
13959 { (exit 1); exit 1; }
13963 # Set up the sed scripts for CONFIG_FILES section.
13966 # No need to generate the scripts if there are no CONFIG_FILES.
13967 # This happens for instance when ./config.status config.h
13968 if test -n "$CONFIG_FILES"; then
13972 # Create sed commands to just substitute file output variables.
13974 # Remaining file output variables are in a fragment that also has non-file
13980 for ac_last_try in false false false false false :; do
13981 cat >conf$$subs.sed <<_ACEOF
13982 SHELL!$SHELL$ac_delim
13983 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13984 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13985 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13986 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13987 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13988 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13989 exec_prefix!$exec_prefix$ac_delim
13990 prefix!$prefix$ac_delim
13991 program_transform_name!$program_transform_name$ac_delim
13992 bindir!$bindir$ac_delim
13993 sbindir!$sbindir$ac_delim
13994 libexecdir!$libexecdir$ac_delim
13995 datarootdir!$datarootdir$ac_delim
13996 datadir!$datadir$ac_delim
13997 sysconfdir!$sysconfdir$ac_delim
13998 sharedstatedir!$sharedstatedir$ac_delim
13999 localstatedir!$localstatedir$ac_delim
14000 includedir!$includedir$ac_delim
14001 oldincludedir!$oldincludedir$ac_delim
14002 docdir!$docdir$ac_delim
14003 infodir!$infodir$ac_delim
14004 htmldir!$htmldir$ac_delim
14005 dvidir!$dvidir$ac_delim
14006 pdfdir!$pdfdir$ac_delim
14007 psdir!$psdir$ac_delim
14008 libdir!$libdir$ac_delim
14009 localedir!$localedir$ac_delim
14010 mandir!$mandir$ac_delim
14011 DEFS!$DEFS$ac_delim
14012 ECHO_C!$ECHO_C$ac_delim
14013 ECHO_N!$ECHO_N$ac_delim
14014 ECHO_T!$ECHO_T$ac_delim
14015 LIBS!$LIBS$ac_delim
14016 build_alias!$build_alias$ac_delim
14017 host_alias!$host_alias$ac_delim
14018 target_alias!$target_alias$ac_delim
14019 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
14020 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14021 INSTALL_DATA!$INSTALL_DATA$ac_delim
14022 am__isrc!$am__isrc$ac_delim
14023 CYGPATH_W!$CYGPATH_W$ac_delim
14024 PACKAGE!$PACKAGE$ac_delim
14025 VERSION!$VERSION$ac_delim
14026 ACLOCAL!$ACLOCAL$ac_delim
14027 AUTOCONF!$AUTOCONF$ac_delim
14028 AUTOMAKE!$AUTOMAKE$ac_delim
14029 AUTOHEADER!$AUTOHEADER$ac_delim
14030 MAKEINFO!$MAKEINFO$ac_delim
14031 install_sh!$install_sh$ac_delim
14032 STRIP!$STRIP$ac_delim
14033 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
14034 mkdir_p!$mkdir_p$ac_delim
14036 SET_MAKE!$SET_MAKE$ac_delim
14037 am__leading_dot!$am__leading_dot$ac_delim
14038 AMTAR!$AMTAR$ac_delim
14039 am__tar!$am__tar$ac_delim
14040 am__untar!$am__untar$ac_delim
14041 ac_prefix_program!$ac_prefix_program$ac_delim
14042 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
14043 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
14044 MAINT!$MAINT$ac_delim
14046 CFLAGS!$CFLAGS$ac_delim
14047 LDFLAGS!$LDFLAGS$ac_delim
14048 CPPFLAGS!$CPPFLAGS$ac_delim
14049 ac_ct_CC!$ac_ct_CC$ac_delim
14050 EXEEXT!$EXEEXT$ac_delim
14051 OBJEXT!$OBJEXT$ac_delim
14052 DEPDIR!$DEPDIR$ac_delim
14053 am__include!$am__include$ac_delim
14054 am__quote!$am__quote$ac_delim
14055 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
14056 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
14057 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
14058 CCDEPMODE!$CCDEPMODE$ac_delim
14059 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
14060 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
14062 GREP!$GREP$ac_delim
14063 EGREP!$EGREP$ac_delim
14064 RANLIB!$RANLIB$ac_delim
14065 YACC!$YACC$ac_delim
14066 YFLAGS!$YFLAGS$ac_delim
14067 LN_S!$LN_S$ac_delim
14068 PERL!$PERL$ac_delim
14070 MKTEMP!$MKTEMP$ac_delim
14071 SENDMAIL!$SENDMAIL$ac_delim
14073 ROFF!$ROFF$ac_delim
14074 PS2PDF!$PS2PDF$ac_delim
14075 TEXI2DVI!$TEXI2DVI$ac_delim
14078 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
14080 elif $ac_last_try; then
14081 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14082 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14083 { (exit 1); exit 1; }; }
14085 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14089 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14090 if test -n "$ac_eof"; then
14091 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14092 ac_eof=`expr $ac_eof + 1`
14095 cat >>$CONFIG_STATUS <<_ACEOF
14096 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14097 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14098 /^[ ]*@MKTEMP_SH_FUNCTION@[ ]*$/{
14099 r $MKTEMP_SH_FUNCTION
14104 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14105 s/^/s,@/; s/!/@,|#_!!_#|/
14108 s/'"$ac_delim"'$/,g/; t
14110 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14111 ' >>$CONFIG_STATUS <conf$$subs.sed
14112 rm -f conf$$subs.sed
14113 cat >>$CONFIG_STATUS <<_ACEOF
14119 for ac_last_try in false false false false false :; do
14120 cat >conf$$subs.sed <<_ACEOF
14121 MAKE_TARGETS_IN_VPATH_TRUE!$MAKE_TARGETS_IN_VPATH_TRUE$ac_delim
14122 MAKE_TARGETS_IN_VPATH_FALSE!$MAKE_TARGETS_IN_VPATH_FALSE$ac_delim
14123 LIBOBJS!$LIBOBJS$ac_delim
14124 KRB4!$KRB4$ac_delim
14125 includeopt!$includeopt$ac_delim
14126 EDITOR!$EDITOR$ac_delim
14127 with_default_ssh!$with_default_ssh$ac_delim
14128 with_default_rsh!$with_default_rsh$ac_delim
14129 LTLIBOBJS!$LTLIBOBJS$ac_delim
14132 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
14134 elif $ac_last_try; then
14135 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14136 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14137 { (exit 1); exit 1; }; }
14139 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14143 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14144 if test -n "$ac_eof"; then
14145 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14146 ac_eof=`expr $ac_eof + 1`
14149 cat >>$CONFIG_STATUS <<_ACEOF
14150 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14151 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14154 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14155 s/^/s,@/; s/!/@,|#_!!_#|/
14158 s/'"$ac_delim"'$/,g/; t
14160 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14161 ' >>$CONFIG_STATUS <conf$$subs.sed
14162 rm -f conf$$subs.sed
14163 cat >>$CONFIG_STATUS <<_ACEOF
14170 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14171 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14172 # trailing colons and then remove the whole line if VPATH becomes empty
14173 # (actually we leave an empty line to preserve line numbers).
14174 if test "x$srcdir" = x.; then
14175 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14176 s/:*\$(srcdir):*/:/
14177 s/:*\${srcdir}:*/:/
14179 s/^\([^=]*=[ ]*\):*/\1/
14185 cat >>$CONFIG_STATUS <<\_ACEOF
14186 fi # test -n "$CONFIG_FILES"
14189 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS
14192 :[FHLC]) ac_mode=$ac_tag; continue;;
14194 case $ac_mode$ac_tag in
14196 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14197 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14198 { (exit 1); exit 1; }; };;
14199 :[FH]-) ac_tag=-:-;;
14200 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14217 -) ac_f="$tmp/stdin";;
14218 *) # Look for the file first in the build tree, then in the source tree
14219 # (if the path is not absolute). The absolute path cannot be DOS-style,
14220 # because $ac_f cannot contain `:'.
14224 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14226 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14227 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14228 { (exit 1); exit 1; }; };;
14230 ac_file_inputs="$ac_file_inputs $ac_f"
14233 # Let's still pretend it is `configure' which instantiates (i.e., don't
14234 # use $as_me), people would be surprised to read:
14235 # /* config.h. Generated by config.status. */
14236 configure_input="Generated from "`IFS=:
14237 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14238 if test x"$ac_file" != x-; then
14239 configure_input="$ac_file. $configure_input"
14240 { echo "$as_me:$LINENO: creating $ac_file" >&5
14241 echo "$as_me: creating $ac_file" >&6;}
14245 *:-:* | *:-) cat >"$tmp/stdin";;
14250 ac_dir=`$as_dirname -- "$ac_file" ||
14251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14252 X"$ac_file" : 'X\(//\)[^/]' \| \
14253 X"$ac_file" : 'X\(//\)$' \| \
14254 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14260 /^X\(\/\/\)[^/].*/{
14275 -*) as_dir=./$as_dir;;
14277 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14281 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14282 *) as_qdir=$as_dir;;
14284 as_dirs="'$as_qdir' $as_dirs"
14285 as_dir=`$as_dirname -- "$as_dir" ||
14286 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14287 X"$as_dir" : 'X\(//\)[^/]' \| \
14288 X"$as_dir" : 'X\(//\)$' \| \
14289 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14295 /^X\(\/\/\)[^/].*/{
14308 test -d "$as_dir" && break
14310 test -z "$as_dirs" || eval "mkdir $as_dirs"
14311 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14312 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14313 { (exit 1); exit 1; }; }; }
14317 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14319 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14320 # A ".." for each directory in $ac_dir_suffix.
14321 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14322 case $ac_top_builddir_sub in
14323 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14324 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14327 ac_abs_top_builddir=$ac_pwd
14328 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14329 # for backward compatibility:
14330 ac_top_builddir=$ac_top_build_prefix
14333 .) # We are building in place.
14335 ac_top_srcdir=$ac_top_builddir_sub
14336 ac_abs_top_srcdir=$ac_pwd ;;
14337 [\\/]* | ?:[\\/]* ) # Absolute name.
14338 ac_srcdir=$srcdir$ac_dir_suffix;
14339 ac_top_srcdir=$srcdir
14340 ac_abs_top_srcdir=$srcdir ;;
14341 *) # Relative name.
14342 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14343 ac_top_srcdir=$ac_top_build_prefix$srcdir
14344 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14346 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14356 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14357 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14359 ac_MKDIR_P=$MKDIR_P
14361 [\\/$]* | ?:[\\/]* ) ;;
14362 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14366 cat >>$CONFIG_STATUS <<\_ACEOF
14367 # If the template does not know about datarootdir, expand it.
14368 # FIXME: This hack should be removed a few years after 2.60.
14369 ac_datarootdir_hack=; ac_datarootdir_seen=
14371 case `sed -n '/datarootdir/ {
14380 ' $ac_file_inputs` in
14381 *datarootdir*) ac_datarootdir_seen=yes;;
14382 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14383 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14384 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14386 cat >>$CONFIG_STATUS <<_ACEOF
14387 ac_datarootdir_hack='
14388 s&@datadir@&$datadir&g
14389 s&@docdir@&$docdir&g
14390 s&@infodir@&$infodir&g
14391 s&@localedir@&$localedir&g
14392 s&@mandir@&$mandir&g
14393 s&\\\${datarootdir}&$datarootdir&g' ;;
14397 # Neutralize VPATH when `$srcdir' = `.'.
14398 # Shell code in configure.ac might set extrasub.
14399 # FIXME: do we really want to maintain this feature?
14400 cat >>$CONFIG_STATUS <<_ACEOF
14404 cat >>$CONFIG_STATUS <<\_ACEOF
14406 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14407 s&@configure_input@&$configure_input&;t t
14408 s&@top_builddir@&$ac_top_builddir_sub&;t t
14409 s&@srcdir@&$ac_srcdir&;t t
14410 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14411 s&@top_srcdir@&$ac_top_srcdir&;t t
14412 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14413 s&@builddir@&$ac_builddir&;t t
14414 s&@abs_builddir@&$ac_abs_builddir&;t t
14415 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14416 s&@INSTALL@&$ac_INSTALL&;t t
14417 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14418 $ac_datarootdir_hack
14419 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
14421 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14422 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14423 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14424 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14425 which seems to be undefined. Please make sure it is defined." >&5
14426 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14427 which seems to be undefined. Please make sure it is defined." >&2;}
14431 -) cat "$tmp/out"; rm -f "$tmp/out";;
14432 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14441 # Transform confdefs.h into a sed script `conftest.defines', that
14442 # substitutes the proper values into config.h.in to produce config.h.
14443 rm -f conftest.defines conftest.tail
14444 # First, append a space to every undef/define line, to ease matching.
14445 echo 's/$/ /' >conftest.defines
14446 # Then, protect against being on the right side of a sed subst, or in
14447 # an unquoted here document, in config.status. If some macros were
14448 # called several times there might be several #defines for the same
14449 # symbol, which is useless. But do not sort them, since the last
14450 # AC_DEFINE must be honored.
14451 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14452 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14453 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14454 # PARAMS is the parameter list in the macro definition--in most cases, it's
14455 # just an empty string.
14456 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14457 ac_dB='\\)[ (].*,\\1define\\2'
14465 s/^[ ]*#[ ]*define[ ][ ]*//
14470 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14471 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14472 ' >>conftest.defines
14474 # Remove the space that was appended to ease matching.
14475 # Then replace #undef with comments. This is necessary, for
14476 # example, in the case of _POSIX_SOURCE, which is predefined and required
14477 # on some systems where configure will not decide to define it.
14478 # (The regexp can be short, since the line contains either #define or #undef.)
14480 s,^[ #]*u.*,/* & */,' >>conftest.defines
14482 # Break up conftest.defines:
14483 ac_max_sed_lines=50
14485 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14486 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14487 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14489 ac_in='$ac_file_inputs'
14490 ac_out='"$tmp/out1"'
14491 ac_nxt='"$tmp/out2"'
14495 # Write a here document:
14496 cat >>$CONFIG_STATUS <<_ACEOF
14497 # First, check the format of the line:
14498 cat >"\$tmp/defines.sed" <<\\CEOF
14499 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14500 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14504 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14506 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14507 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14508 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14509 grep . conftest.tail >/dev/null || break
14510 rm -f conftest.defines
14511 mv conftest.tail conftest.defines
14513 rm -f conftest.defines conftest.tail
14515 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14516 cat >>$CONFIG_STATUS <<\_ACEOF
14517 if test x"$ac_file" != x-; then
14518 echo "/* $configure_input */" >"$tmp/config.h"
14519 cat "$ac_result" >>"$tmp/config.h"
14520 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14521 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14522 echo "$as_me: $ac_file is unchanged" >&6;}
14525 mv "$tmp/config.h" $ac_file
14528 echo "/* $configure_input */"
14532 # Compute $ac_file's index in $config_headers.
14534 for _am_header in $config_headers :; do
14535 case $_am_header in
14536 $ac_file | $ac_file:* )
14539 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14542 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
14543 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14544 X$ac_file : 'X\(//\)[^/]' \| \
14545 X$ac_file : 'X\(//\)$' \| \
14546 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
14548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14552 /^X\(\/\/\)[^/].*/{
14564 s/.*/./; q'`/stamp-h$_am_stamp_count
14571 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5
14572 echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;}
14574 if test ! -r "$srcdir/$ac_source"; then
14575 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
14576 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
14577 { (exit 1); exit 1; }; }
14581 # Try a relative symlink, then a hard link, then a copy.
14583 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
14584 *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;;
14586 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
14587 ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null ||
14588 cp -p "$srcdir/$ac_source" "$ac_file" ||
14589 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5
14590 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;}
14591 { (exit 1); exit 1; }; }
14593 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14594 echo "$as_me: executing $ac_file commands" >&6;}
14599 case $ac_file$ac_mode in
14600 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14601 # Strip MF so we end up with the name of the file.
14602 mf=`echo "$mf" | sed -e 's/:.*$//'`
14603 # Check whether this is an Automake generated Makefile or not.
14604 # We used to match only the files named `Makefile.in', but
14605 # some people rename them; so instead we look at the file content.
14606 # Grep'ing the first line is not enough: some people post-process
14607 # each Makefile.in and add a new line on top of each file to say so.
14608 # Grep'ing the whole file is not good either: AIX grep has a line
14609 # limit of 2048, but all sed's we know have understand at least 4000.
14610 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
14611 dirpart=`$as_dirname -- "$mf" ||
14612 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14613 X"$mf" : 'X\(//\)[^/]' \| \
14614 X"$mf" : 'X\(//\)$' \| \
14615 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14621 /^X\(\/\/\)[^/].*/{
14637 # Extract the definition of DEPDIR, am__include, and am__quote
14638 # from the Makefile without running `make'.
14639 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14640 test -z "$DEPDIR" && continue
14641 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14642 test -z "am__include" && continue
14643 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14644 # When using ansi2knr, U may be empty or an underscore; expand it
14645 U=`sed -n 's/^U = //p' < "$mf"`
14646 # Find all dependency output files, they are included files with
14647 # $(DEPDIR) in their names. We invoke sed twice because it is the
14648 # simplest approach to changing $(DEPDIR) to its actual value in the
14650 for file in `sed -n "
14651 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14652 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14653 # Make sure the directory exists.
14654 test -f "$dirpart/$file" && continue
14655 fdir=`$as_dirname -- "$file" ||
14656 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14657 X"$file" : 'X\(//\)[^/]' \| \
14658 X"$file" : 'X\(//\)$' \| \
14659 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14665 /^X\(\/\/\)[^/].*/{
14678 { as_dir=$dirpart/$fdir
14680 -*) as_dir=./$as_dir;;
14682 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14686 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14687 *) as_qdir=$as_dir;;
14689 as_dirs="'$as_qdir' $as_dirs"
14690 as_dir=`$as_dirname -- "$as_dir" ||
14691 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14692 X"$as_dir" : 'X\(//\)[^/]' \| \
14693 X"$as_dir" : 'X\(//\)$' \| \
14694 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14700 /^X\(\/\/\)[^/].*/{
14713 test -d "$as_dir" && break
14715 test -z "$as_dirs" || eval "mkdir $as_dirs"
14716 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14717 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14718 { (exit 1); exit 1; }; }; }
14719 # echo "creating $dirpart/$file"
14720 echo '# dummy' > "$dirpart/$file"
14724 "contrib/check_cvs":F) chmod +x contrib/check_cvs ;;
14725 "contrib/clmerge":F) chmod +x contrib/clmerge ;;
14726 "contrib/cln_hist":F) chmod +x contrib/cln_hist ;;
14727 "contrib/commit_prep":F) chmod +x contrib/commit_prep ;;
14728 "contrib/cvs_acls":F) chmod +x contrib/cvs_acls ;;
14729 "contrib/log":F) chmod +x contrib/log ;;
14730 "contrib/log_accum":F) chmod +x contrib/log_accum ;;
14731 "contrib/mfpipe":F) chmod +x contrib/mfpipe ;;
14732 "contrib/pvcs2rcs":F) chmod +x contrib/pvcs2rcs ;;
14733 "contrib/rcs2log":F) chmod +x contrib/rcs2log ;;
14734 "contrib/rcslock":F) chmod +x contrib/rcslock ;;
14735 "contrib/sccs2rcs":F) chmod +x contrib/sccs2rcs ;;
14736 "doc/mkman":F) chmod +x doc/mkman ;;
14737 "src/cvsbug":F) chmod +x src/cvsbug ;;
14738 "windows-NT/fix-msvc-mak":F) chmod +x windows-NT/fix-msvc-mak ;;
14744 { (exit 0); exit 0; }
14746 chmod +x $CONFIG_STATUS
14747 ac_clean_files=$ac_clean_files_save
14750 # configure is writing to config.log, and then calls config.status.
14751 # config.status does its own redirection, appending to config.log.
14752 # Unfortunately, on DOS this fails, as config.log is still kept open
14753 # by configure, so config.status won't be able to write to it; its
14754 # output is simply discarded. So we exec the FD to /dev/null,
14755 # effectively closing config.log, so it can be properly (re)opened and
14756 # appended to by config.status. When coming back to configure, we
14757 # need to make the FD available again.
14758 if test "$no_create" != yes; then
14760 ac_config_status_args=
14761 test "$silent" = yes &&
14762 ac_config_status_args="$ac_config_status_args --quiet"
14764 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14766 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14767 # would make configure fail if this is the last instruction.
14768 $ac_cs_success || { (exit 1); exit 1; }
14774 # Report the state of this version of CVS if this is from dev.
14777 You are about to use an unreleased version of CVS. Be sure to
14778 read the relevant mailing lists, most importantly <info-cvs@nongnu.org>.
14780 Below you will find information on the status of this version of CVS.
14784 sed -n '/^\* Status/,$p' $srcdir/BUGS