summaryrefslogtreecommitdiff
path: root/config.make.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2011-11-05 17:58:27 +0100
committerLudovic Courtès <ludo@gnu.org>2011-11-05 17:58:27 +0100
commit6d7787b87860463038da9ddf4dfa393f103091ff (patch)
tree0c602a89b399294362d28b189f0037e8323f7361 /config.make.in
parent3aa7bb4849945c7480873567767db3face604260 (diff)
Disable NFS translator and daemon compilation when Sun RPC is lacking.
* Makefile (prog-subdirs): Make `nfs' and `nfsd' conditional on $(HAVE_SUN_RPC) = yes. * config.make.in (HAVE_SUN_RPC): New variable. * configure.in: Check for <rpc/types.h> and `clnt_create'. * README.CVS: Document dependency on a Sun RPC implementation.
Diffstat (limited to 'config.make.in')
-rw-r--r--config.make.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.make.in b/config.make.in
index 986ea2ae..41452464 100644
--- a/config.make.in
+++ b/config.make.in
@@ -66,6 +66,9 @@ PARTED_LIBS = @PARTED_LIBS@
LIBNCURSESW = @LIBNCURSESW@
NCURSESW_INCLUDE = @NCURSESW_INCLUDE@
+# Whether Sun RPC support is available.
+HAVE_SUN_RPC = @HAVE_SUN_RPC@
+
# Installation tools.
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@