X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=configure.in;h=2f20cef6174bace71dfbdecc016a0a7ecbf61da1;hp=d96a5da9c66a4a8f1c836577507a4621eae11c62;hb=2612111fe0855f19820803f53ce0447c9b26a52a;hpb=a28fc4459391d18efe303e96c26f0072409ad770 diff --git a/configure.in b/configure.in index d96a5da..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.4" +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,