X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=configure.ac;h=583c603f1b6c8123f3f0dc4abdee6e70a6c5e377;hp=9ba53e284ea4e7f8e34f045631c9e86698e56954;hb=adee9b7bddedcddb8de4e0b7c2f778148b1f4d2b;hpb=d68e4b561369e60054d72ad307aa7a59b4dd4328 diff --git a/configure.ac b/configure.ac index 9ba53e2..583c603 100644 --- a/configure.ac +++ b/configure.ac @@ -286,6 +286,9 @@ if test "$enable_nfsv4" = yes; then AC_RPCSEC_VERSION fi fi +dnl enable nfsidmap when its support by libnfsidmap +AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$ac_cv_header_keyutils_h$ac_cv_lib_nfsidmap_nfs4_owner_to_uid" = "yesyes"]) + if test "$enable_nfsv41" = yes; then AC_CHECK_LIB([devmapper], [dm_task_create], [LIBDEVMAPPER="-ldevmapper"], AC_MSG_ERROR([libdevmapper needed]))