X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=aclocal%2Flibnfsidmap.m4;h=484b1ecebfdcb3120464997e5a4b5c900830a260;hb=3ad7dea527170ae12c9cdc2e428d0676ac261144;hp=cfcde2f8fafc1594295ded6079e2c1463e0b9973;hpb=caafae66d6fcdb6210a87261e6ea07252700a278;p=nfs-utils.git diff --git a/aclocal/libnfsidmap.m4 b/aclocal/libnfsidmap.m4 index cfcde2f..484b1ec 100644 --- a/aclocal/libnfsidmap.m4 +++ b/aclocal/libnfsidmap.m4 @@ -14,4 +14,7 @@ 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]) + ])dnl