X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=configure.ac;h=b6a1af77d4bb292df2b0da8fb1431b1bf8073563;hp=a9ffb682b490d8d84ea4ad16d9c45ec7b5fa0685;hb=b9f64af3b83a2916c5b6cd65fe011acc436942d4;hpb=aff33d2e1fd7b4c8d91ff0cc5ea6ec4da125e1e0 diff --git a/configure.ac b/configure.ac index a9ffb68..b6a1af7 100644 --- a/configure.ac +++ b/configure.ac @@ -266,6 +266,18 @@ 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 + AC_CHECK_HEADERS([libgen.h sys/inotify.h], , + AC_MSG_ERROR([Cannot find header needed for nfsdcld])) + + 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,