summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGiulio Benetti <giulio.benetti@benettiengineering.com>2022-09-20 15:35:42 -0400
committerSteve Dickson <steved@redhat.com>2022-09-20 15:35:42 -0400
commit844d3ad5376603bc9c205a6084d38a2d25146179 (patch)
tree342fe5171af0733028069fc82987391daf43ce45 /tools
parent0ebb50c91e26139958619f11f7ad932567f17c05 (diff)
downloadnfs-utils-844d3ad5376603bc9c205a6084d38a2d25146179.tar.gz
configure.ac: allow to disable nfsrahead toolnfs-utils-2-6-3-rc2
This allows to make libmount not mandatory but depending on nfsrahead since it only requires it. This is useful when cross-compiling because in that case we need rpcgen only built for host but not nfsrahead that also require libmount. So this reduces the dependencies for host building. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 40c17c3..48fd0cd 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -12,6 +12,10 @@ if CONFIG_NFSDCLD
OPTDIRS += nfsdclddb
endif
-SUBDIRS = locktest rpcdebug nlmtest mountstats nfs-iostat rpcctl nfsdclnts nfsrahead $(OPTDIRS)
+if CONFIG_NFSRAHEAD
+OPTDIRS += nfsrahead
+endif
+
+SUBDIRS = locktest rpcdebug nlmtest mountstats nfs-iostat rpcctl nfsdclnts $(OPTDIRS)
MAINTAINERCLEANFILES = Makefile.in