summaryrefslogtreecommitdiffstats
path: root/aclocal
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2010-11-19 12:01:10 -0500
committerSteve Dickson <steved@redhat.com>2010-11-22 11:38:41 -0500
commit6f07548141e710767d425e119d9823691293771d (patch)
tree7531cb66a228768fdd2f83c202b6175fb2f54160 /aclocal
parent409487978593de13ae36be0ee56d8111ad6b3319 (diff)
downloadnfs-utils-6f07548141e710767d425e119d9823691293771d.tar.gz
nfs-utils-6f07548141e710767d425e119d9823691293771d.tar.xz
nfs-utils-6f07548141e710767d425e119d9823691293771d.zip
Add the new nfsidmap program
This patch adds the nfsidmap program to nfs-utils. This program is called by the nfs idmapper through request-keys to map between uid / user name and gid / group name. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'aclocal')
-rw-r--r--aclocal/keyutils.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/aclocal/keyutils.m4 b/aclocal/keyutils.m4
new file mode 100644
index 0000000..84bc112
--- /dev/null
+++ b/aclocal/keyutils.m4
@@ -0,0 +1,11 @@
+dnl Checks for keyutils library and headers
+dnl
+AC_DEFUN([AC_KEYUTILS], [
+
+ dnl Check for libkeyutils; do not add to LIBS if found
+ AC_CHECK_LIB([keyutils], [keyctl_instantiate], [LIBKEYUTILS=-lkeyutils], ,)
+ AC_SUBST(LIBKEYUTILS)
+
+ AC_CHECK_HEADERS([keyutils.h], ,
+ [AC_MSG_ERROR([keyutils.h header not found.])])
+])dnl