From 3cc3ef96d6c060e9d45b43f5482dc4e03945b30e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 22 Aug 2012 13:31:12 -0700 Subject: BZ#13696: Add --disable-nscd configure option. --- nss/nss_db/db-init.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nss/nss_db') diff --git a/nss/nss_db/db-init.c b/nss/nss_db/db-init.c index d23e8f81d6..26508c2ca9 100644 --- a/nss/nss_db/db-init.c +++ b/nss/nss_db/db-init.c @@ -16,6 +16,8 @@ License along with the GNU C Library; if not, see . */ +#ifdef USE_NSCD + #include #include #include @@ -51,3 +53,5 @@ _nss_db_init (void (*cb) (size_t, struct traced_file *)) strcpy (serv_traced_file.file.fname, _PATH_VARDB "services.db"); cb (servdb, &serv_traced_file.file); } + +#endif -- cgit 1.4.1