diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-11-05 17:58:27 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-11-05 17:58:27 +0100 |
commit | 6d7787b87860463038da9ddf4dfa393f103091ff (patch) | |
tree | 0c602a89b399294362d28b189f0037e8323f7361 /Makefile | |
parent | 3aa7bb4849945c7480873567767db3face604260 (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 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,6 +1,6 @@ # # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2004, -# 2006, 2009 Free Software Foundation, Inc. +# 2006, 2009, 2011 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -35,13 +35,17 @@ lib-subdirs = libshouldbeinlibc libihash libiohelp libports libthreads \ # Hurd programs prog-subdirs = auth proc exec init term \ - ufs ext2fs isofs nfs tmpfs fatfs \ + ufs ext2fs isofs tmpfs fatfs \ storeio pflocal pfinet defpager mach-defpager \ - login daemons nfsd boot console \ + login daemons boot console \ hostmux usermux ftpfs trans \ console-client utils sutils ufs-fsck ufs-utils \ benchmarks fstests +ifeq ($(HAVE_SUN_RPC),yes) +prog-subdirs += nfs nfsd +endif + # Other directories other-subdirs = hurd doc config release include |