diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-02-06 10:43:19 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-02-06 10:43:19 -0800 |
commit | a1309c2bd0e7469158dfa5dec3334054fad2ed03 (patch) | |
tree | 19d19995e9ec59f3ecf94023aef485f7fc995c32 /nss/Makefile | |
parent | ac9e0e5e401fa634667a8284a0db0ca886bf816b (diff) | |
download | glibc-a1309c2bd0e7469158dfa5dec3334054fad2ed03.zip glibc-a1309c2bd0e7469158dfa5dec3334054fad2ed03.tar.gz glibc-a1309c2bd0e7469158dfa5dec3334054fad2ed03.tar.bz2 |
Exclude rpcent functions and NSS backends for rpc, key when excluding sunrpc.
Diffstat (limited to 'nss/Makefile')
-rw-r--r-- | nss/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/nss/Makefile b/nss/Makefile index d419baf..d75dad2 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -31,8 +31,16 @@ routines = nsswitch getnssent getnssent_r digits_dots \ # These are the databases that go through nss dispatch. # Caution: if you add a database here, you must add its real name # in databases.def, too. -databases = proto service hosts network grp pwd rpc ethers \ - spwd netgrp key alias sgrp +databases = proto service hosts network grp pwd ethers \ + spwd netgrp alias sgrp + +ifneq (,$(filter sunrpc,$(subdirs))) +databases += key rpc +have-sunrpc := 1 +else +have-sunrpc := 0 +endif +CPPFLAGS-getent.c = -DHAVE_SUNRPC=$(have-sunrpc) others := getent makedb install-bin := getent makedb |