X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=aclocal%2Flibnfsidmap.m4;fp=aclocal%2Flibnfsidmap.m4;h=4faa923f190c2b14df663ee93697e42b9ecf4b75;hp=cfcde2f8fafc1594295ded6079e2c1463e0b9973;hb=cf5b38e707b629540b5123124228311a620e3dce;hpb=706bfd7c94d48659a1411fdef2a3a61d4719f1aa 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