remove useless define and more verbose error message.

This commit is contained in:
Oswald Buddenhagen 2004-01-15 02:23:23 +00:00
parent e1d0ea8a18
commit 7fe9fb7ef0

View File

@ -39,9 +39,9 @@ AC_CACHE_CHECK(for db_create in -ldb, ac_cv_db_db_create,
[db_create();],[ac_cv_db_db_create=yes])])
if test $ac_cv_db_db_create=yes; then
LIBS="$LIBS -ldb"
AC_DEFINE(HAVE_LIBDB, 1, [Define if you have libdb])
else
AC_MSG_ERROR([Berkley DB not found, you must install libdb])
AC_MSG_ERROR([Berkley DB not found.
You must install libdb including the respective development files/headers.])
fi
AC_OUTPUT(Makefile src/Makefile isync.spec)