diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 86b816d..be8ee9b 100644 --- a/configure.in +++ b/configure.in @@ -836,6 +836,13 @@ else fi AC_MSG_RESULT($with_libdb) +if test "$with_libdb" = "yes" +then + # check for libdb; BSD systems have the DB routines in libc --tg + AC_SUBST(HAVE_LIBDB) + AC_CHECK_FUNC(dbopen, [HAVE_LIBDB=], AC_CHECK_LIB(db, dbopen, [HAVE_LIBDB=-ldb])) +fi + # Check for --with-wctype-functions AC_MSG_CHECKING(for --with-wctype-functions) AC_ARG_WITH(wctype-functions, |