summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-03-20 11:15:29 +1100
committerNeil Brown <neilb@suse.de>2007-03-20 11:15:29 +1100
commit453ac684258684e0e8413f4d9ef9822e753d9dbb (patch)
tree1ea32446cb7bdf042bbe888d06c0486fb86d99a3 /tools
parent390e67de5d9fe919d1894359536f0c5527fa2331 (diff)
downloadnfs-utils-453ac684258684e0e8413f4d9ef9822e753d9dbb.tar.gz
nfs-utils-453ac684258684e0e8413f4d9ef9822e753d9dbb.tar.xz
nfs-utils-453ac684258684e0e8413f4d9ef9822e753d9dbb.zip
Add --with-rpcgen= for configure so that the system rpcgen can be used.
Ultimately it makes sense to remove remove rpcgen from the nfs-utils release as it is already in the glibc release. With this patch you can use the system rpcgen to make sure it works. It is not default yet, but it might be in a future release.
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 09f0c44..db15346 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,5 +1,11 @@
## Process this file with automake to produce Makefile.in
-SUBDIRS = locktest rpcdebug rpcgen nlmtest
+OPTDIRS =
+
+if CONFIG_RPCGEN
+OPTDIRS += rpcgen
+endif
+
+SUBDIRS = locktest rpcdebug nlmtest $(OPTDIRS)
MAINTAINERCLEANFILES = Makefile.in