[cvs] bogofilter configure.in,1.10,1.11
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@us...> - 2002-10-08 00:31:25
|
Update of /cvsroot/bogofilter/bogofilter In directory usw-pr-cvs1:/tmp/cvs-serv7722 Modified Files: configure.in Log Message: Also check for db4, db3, db2 libraries. Index: configure.in =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/configure.in,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** configure.in 7 Oct 2002 20:12:26 -0000 1.10 --- configure.in 8 Oct 2002 00:31:21 -0000 1.11 *************** *** 35,53 **** fi fi ! LIBS="$LIBS -ldb" ! ], ! [ ! AC_EGREP_HEADER(db_create, [db.h], AC_DEFINE(HAVE_DB_H), ! AC_MSG_ERROR([Can not locate a suitable BerkeleyDB db.h header file. Use --with-db=PATH to specify the path to a v3+ install directory. You can download BerkeleyDB 4.x from http://www.sleepycat.com]) ! ) ! AC_CHECK_LIB(db-4, db_create, LIBS="$LIBS -ldb-4", ! AC_CHECK_LIB(db-3, db_create, LIBS="$LIBS -ldb-3", ! AC_CHECK_LIB(db-2, db_create, LIBS="$LIBS -ldb-2", ! AC_CHECK_LIB(db, db_create, LIBS="$LIBS -ldb", ! AC_MSG_ERROR([Can not locate a suitable BerkeleyDB libdb.so library. Use --with-db=PATH to specify the path to a v3+ install directory]) ! )))) ! ] ! ) --- 35,53 ---- fi fi ! ]) ! AC_EGREP_HEADER(db_create, [db.h], AC_DEFINE(HAVE_DB_H), ! AC_MSG_ERROR([Can not locate a suitable BerkeleyDB db.h header file. Use --with-db=PATH to specify the path to a v3+ install directory. You can download BerkeleyDB 4.x from http://www.sleepycat.com]) ! ) ! ! AC_CHECK_LIB(db-4, db_create, LIBS="$LIBS -ldb-4", ! AC_CHECK_LIB(db4, db_create, LIBS="$LIBS -ldb4", ! AC_CHECK_LIB(db-3, db_create, LIBS="$LIBS -ldb-3", ! AC_CHECK_LIB(db3, db_create, LIBS="$LIBS -ldb3", ! AC_CHECK_LIB(db-2, db_create, LIBS="$LIBS -ldb-2", ! AC_CHECK_LIB(db2, db_create, LIBS="$LIBS -ldb2", ! AC_CHECK_LIB(db, db_create, LIBS="$LIBS -ldb", ! AC_MSG_ERROR([Can not locate a suitable BerkeleyDB libdb.so library. Use --with-db=PATH to specify the path to a v3+ install directory]) ! ))))))) |