浏览代码

remove useless define and more verbose error message.

Oswald Buddenhagen 21 年之前
父节点
当前提交
7fe9fb7ef0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      configure.in

+ 2 - 2
configure.in

@@ -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)