Fix build with --enable-static-nss [BZ #21088]
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
e37fc4aa68
commit
3ab2021fea
|
@ -1,3 +1,9 @@
|
||||||
|
2017-03-15 Alexey Neyman <stilor@att.net>
|
||||||
|
|
||||||
|
[BZ #21088]
|
||||||
|
* nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
|
||||||
|
around definitions match those around use.
|
||||||
|
|
||||||
2017-03-15 Alexey Neyman <stilor@att.net>
|
2017-03-15 Alexey Neyman <stilor@att.net>
|
||||||
|
|
||||||
* configure.ac: Avoid empty subexpression in grep.
|
* configure.ac: Avoid empty subexpression in grep.
|
||||||
|
|
|
@ -94,7 +94,7 @@ static name_database *service_table;
|
||||||
static name_database_entry *defconfig_entries;
|
static name_database_entry *defconfig_entries;
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_NSCD
|
#if defined USE_NSCD && (!defined DO_STATIC_NSS || defined SHARED)
|
||||||
/* Nonzero if this is the nscd process. */
|
/* Nonzero if this is the nscd process. */
|
||||||
static bool is_nscd;
|
static bool is_nscd;
|
||||||
/* The callback passed to the init functions when nscd is used. */
|
/* The callback passed to the init functions when nscd is used. */
|
||||||
|
|
Loading…
Reference in New Issue