From 6d7787b87860463038da9ddf4dfa393f103091ff Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 5 Nov 2011 17:58:27 +0100 Subject: 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 and `clnt_create'. * README.CVS: Document dependency on a Sun RPC implementation. --- config.make.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.make.in') 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@ -- cgit v1.2.3