summaryrefslogtreecommitdiff
path: root/nscd/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-22 13:31:12 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-22 13:31:12 -0700
commit3cc3ef96d6c060e9d45b43f5482dc4e03945b30e (patch)
tree38fbe47c74c5109f408d107696950923d1b68ff6 /nscd/Makefile
parent07e515506660b1d0c1934dc0ac0e2ac5e7a4a760 (diff)
BZ#13696: Add --disable-nscd configure option.
Diffstat (limited to 'nscd/Makefile')
-rw-r--r--nscd/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/nscd/Makefile b/nscd/Makefile
index ba052eb9de..de26f06c05 100644
--- a/nscd/Makefile
+++ b/nscd/Makefile
@@ -20,11 +20,13 @@
#
subdir := nscd
+include ../Makeconfig
+
+ifneq ($(use-nscd),no)
routines := nscd_getpw_r nscd_getgr_r nscd_gethst_r nscd_getai \
nscd_initgroups nscd_getserv_r nscd_netgroup
aux := nscd_helper
-
-include ../Makeconfig
+endif
# To find xmalloc.c
vpath %.c ../locale/programs