]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - configure.ac
nfsdcld: add autoconf goop for sqlite
[nfs-utils.git] / configure.ac
index a9ffb682b490d8d84ea4ad16d9c45ec7b5fa0685..0d29dc7be18f481b6cd3d88c20f80734a75a3700 100644 (file)
@@ -266,6 +266,15 @@ if test "$enable_nfsv4" = yes; then
   dnl check for the keyutils libraries and headers
   AC_KEYUTILS
 
+  dnl Check for sqlite3
+  AC_SQLITE3_VERS
+
+  if test "$enable_nfsdcld" = "yes"; then
+       if test "$libsqlite3_cv_is_recent" != "yes" ; then
+               AC_MSG_ERROR([nfsdcld requires sqlite3])
+       fi
+  fi
+
   AM_CONDITIONAL(CONFIG_NFSDCLD, [test "$enable_nfsdcld" = "yes" ])
 
   dnl librpcsecgss already has a dependency on libgssapi,