[PATCH 2/2] Ensure we check libnfsidmap for function 'nfs4_owner_to_uid'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The new idmapper requires a more recent version of libnfsidmap. Ensure
that autoconf checks for this.

Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
---
 aclocal/libnfsidmap.m4 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/aclocal/libnfsidmap.m4 b/aclocal/libnfsidmap.m4
index cfcde2f..00a1405 100644
--- a/aclocal/libnfsidmap.m4
+++ b/aclocal/libnfsidmap.m4
@@ -6,6 +6,9 @@ AC_DEFUN([AC_LIBNFSIDMAP], [
   AC_CHECK_LIB([nfsidmap], [nfs4_init_name_mapping], [libnfsidmap=1],
                [AC_MSG_ERROR([libnfsidmap not found.])])
 
+  AC_CHECK_LIB([nfsidmap], [nfs4_owner_to_uid], ,
+               [AC_MSG_ERROR([libnfsidmap version too old.])])
+
   AC_CHECK_HEADERS([nfsidmap.h], ,
                    [AC_MSG_ERROR([libnfsidmap headers not found.])])
 
-- 
1.7.2.3

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux