diff options
| author | Steve Dickson <steved@redhat.com> | 2010-11-20 15:01:21 -0500 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2010-11-22 11:38:54 -0500 |
| commit | 0868dcccb9a3bf3d022a32ff31311fe371484e77 (patch) | |
| tree | 25910a9e148f39f0718049f6cb17ba2868e77f9e /aclocal | |
| parent | 6f07548141e710767d425e119d9823691293771d (diff) | |
| download | nfs-utils-0868dcccb9a3bf3d022a32ff31311fe371484e77.tar.gz nfs-utils-0868dcccb9a3bf3d022a32ff31311fe371484e77.tar.xz nfs-utils-0868dcccb9a3bf3d022a32ff31311fe371484e77.zip | |
Enable nfsidmap to compile
Only enable the compilation of nfsidmap when libnfsidmap support it.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'aclocal')
| -rw-r--r-- | aclocal/libnfsidmap.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/aclocal/libnfsidmap.m4 b/aclocal/libnfsidmap.m4 index cfcde2f..4faa923 100644 --- a/aclocal/libnfsidmap.m4 +++ b/aclocal/libnfsidmap.m4 @@ -14,4 +14,8 @@ AC_DEFUN([AC_LIBNFSIDMAP], [ [AC_DEFINE([HAVE_NFS4_SET_DEBUG], 1, [Define to 1 if you have the `nfs4_set_debug' function.])]) + dnl only enable nfsidmap when libnfsidmap supports it + AC_CHECK_LIB([nfsidmap], [nfs4_owner_to_uid], [enable_nfsidmap=yes], + [enable_nfsidmap=no]) + ])dnl |
