[cvs] bogofilter configure.ac,1.403,1.404
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: Matthias A. <m-...@us...> - 2005-11-28 22:44:50
|
Update of /cvsroot/bogofilter/bogofilter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5584 Modified Files: configure.ac Log Message: Abort early if ar(1) is not found in PATH. Index: configure.ac =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/configure.ac,v retrieving revision 1.403 retrieving revision 1.404 diff -u -d -r1.403 -r1.404 --- configure.ac 12 Nov 2005 22:35:13 -0000 1.403 +++ configure.ac 28 Nov 2005 22:44:43 -0000 1.404 @@ -11,7 +11,10 @@ AC_PROG_AWK AC_PROG_CC(gcc xlc cc) dnl AC_GNU_SOURCE -AC_CHECK_TOOL(AR, ar) +AC_CHECK_TOOL(AR, ar, no) +if test "$AR" = no ; then + AC_MSG_ERROR([Please make sure that "ar" is in your PATH.]) +fi AC_PROG_RANLIB AC_PATH_PROGS(PERL, perl perl5,,$PATH:/usr/local/bin:/usr/bin) AC_PATH_PROGS(NSGMLS,onsgmls nsgmls,nsgmls) |