Add check for db_threadid_t in db.h.

This commit is contained in:
Ralf Corsépius 2007-09-18 19:18:09 +02:00
parent 618333608f
commit 6503abadc9
1 changed files with 3 additions and 0 deletions

View File

@ -468,6 +468,9 @@ AC_SUBST(WITH_POPT_LIB)
case "$with_internal_db" in
no )
AC_CHECK_HEADER([db.h],[
AC_CHECK_TYPE(db_threadid_t,[],
[AC_MSG_WARN([missing type db_threadid_t])],
[#include <db.h>])
save_LIBS="$LIBS"
AC_CHECK_LIB([db],[db_create],[],[
AC_MSG_ERROR([missing db_create in libdb])