Add check for db_threadid_t in db.h.
authorRalf Corsépius <corsepiu@fedoraproject.org>
Tue, 18 Sep 2007 17:18:09 +0000 (19:18 +0200)
committerRalf Corsépius <corsepiu@fedoraproject.org>
Tue, 18 Sep 2007 17:18:09 +0000 (19:18 +0200)
configure.ac

index 4c38b87..fa39962 100644 (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])