X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=configure.in;h=2f20cef6174bace71dfbdecc016a0a7ecbf61da1;hp=5b730b105cdd03662eb0e4a444e786b57407d114;hb=ff79b4df4167e6b06c89ce83212cc8ea4de709eb;hpb=cec295bf37b784ed6ae5674ce34b9c75d89ea0a1 diff --git a/configure.in b/configure.in index 5b730b1..2f20cef 100644 --- a/configure.in +++ b/configure.in @@ -4,7 +4,7 @@ AC_INIT(rules.mk) AC_PREFIX_DEFAULT(/usr) # The nfs-utils version -VERSION="1.0.3" +VERSION="1.0.6" AC_SUBST(VERSION) dnl ************************************************************* @@ -20,6 +20,15 @@ AC_ARG_WITH(statedir, statedir=$withval, statedir=/var/lib/nfs) AC_SUBST(statedir) +AC_ARG_WITH(statduser, + [ --with-statduser=rpcuser user for statd to run under [rpcuser or nobody]], + statduser=$withval, + if grep -s '^rpcuser:' /etc/passwd > /dev/null; then + statduser=rpcuser + else + statduser=nobody + fi) + AC_SUBST(statduser) AC_ARG_ENABLE(nfsv3, [ --enable-nfsv3 enable support for NFSv3], enable_nfsv3=$enableval,