1 --- bogofilter-0.96.0/configure.ac.orig 2005-09-04 20:42:35.000000000 +0200
2 +++ bogofilter-0.96.0/configure.ac 2005-09-04 20:45:12.000000000 +0200
4 dnl check if run-time link works
7 + if test x$cross_compiling = xNO ; then
8 AC_MSG_CHECKING(if a program can be linked against Berkeley DB and run)
13 AC_MSG_ERROR(db.h header file and db library version do not match.)],)
16 AC_CHECK_DECLS(db_create,,
17 AC_MSG_ERROR([[Can not locate a suitable Berkeley DB db.h header file.
18 Use --with-libdb-prefix=PATH to specify the path to a v3+ install directory.
23 + if test x$cross_compiling = xNO ; then
24 AC_MSG_CHECKING(if Berkeley DB supports shared environments)
25 if test "x$enable_dbshared_test" != xno && test "x$USE_TRANSACTIONS" != xNO ; then
29 AC_MSG_RESULT(skipped)
33 AC_DEFINE(ENABLE_DB_DATASTORE,1, [Enable Berkeley DB datastore])