summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-04-26 11:22:46 -0400
committerSteve Dickson <steved@redhat.com>2012-04-26 13:25:03 -0400
commitaff33d2e1fd7b4c8d91ff0cc5ea6ec4da125e1e0 (patch)
treece82a9e15eab463a98fdc5e37cb0e164ffdbd474 /configure.ac
parent16f151834e63d8df9f852b7e265f17c689553c35 (diff)
downloadnfs-utils-aff33d2e1fd7b4c8d91ff0cc5ea6ec4da125e1e0.tar.gz
nfs-utils-aff33d2e1fd7b4c8d91ff0cc5ea6ec4da125e1e0.tar.xz
nfs-utils-aff33d2e1fd7b4c8d91ff0cc5ea6ec4da125e1e0.zip
nfsdcld: add client tracking daemon stub
This program opens and "listens" on the new nfsd/cld rpc_pipefs pipe. The code here doesn't actually do anything on stable storage yet. That will be added in a later patch. The patch also adds a autoconf enable switch for the new daemon that defaults to "no", and a test for the upcall description header file. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 67e8d2d..a9ffb68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -185,6 +185,12 @@ else
AM_CONDITIONAL(MOUNT_CONFIG, [test "$enable_mount" = "yes"])
fi
+AC_ARG_ENABLE(nfsdcld,
+ [AC_HELP_STRING([--enable-nfsdcld],
+ [Create nfsdcld NFSv4 clientid tracking daemon. @<:@default=no@:>@])],
+ enable_nfsdcld=$enableval,
+ enable_nfsdcld="no")
+
dnl Check for TI-RPC library and headers
AC_LIBTIRPC
@@ -260,6 +266,8 @@ if test "$enable_nfsv4" = yes; then
dnl check for the keyutils libraries and headers
AC_KEYUTILS
+ AM_CONDITIONAL(CONFIG_NFSDCLD, [test "$enable_nfsdcld" = "yes" ])
+
dnl librpcsecgss already has a dependency on libgssapi,
dnl but we need to make sure we get the right version
if test "$enable_gss" = yes; then
@@ -457,6 +465,7 @@ AC_CONFIG_FILES([
tools/nfs-iostat/Makefile
utils/Makefile
utils/blkmapd/Makefile
+ utils/nfsdcld/Makefile
utils/exportfs/Makefile
utils/gssd/Makefile
utils/idmapd/Makefile