* configure.in, lib/nscd.h, lib/nscd.c: Added --with-nscd flag to
support systems without nscd.
This commit is contained in:
1 parent
b4899946ef
commit
c59126a817
4 files changed
+21
-2
No files matched your search
@@ -1,5 +1,8 @@
|
||||
/* Author: Peter Vrabec <pvrabec@redhat.com> */
|
||||
|
||||
#include <config.h>
|
||||
#ifdef USE_NSCD
|
||||
|
||||
/* because of TEMP_FAILURE_RETRY */
|
||||
#define _GNU_SOURCE
|
||||
|
||||
@@ -54,4 +57,5 @@ int nscd_flush_cache (const char *service)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
/*
|
||||
* nscd_flush_cache - flush specified service buffer in nscd cache
|
||||
*/
|
||||
#ifdef USE_NSCD
|
||||
extern int nscd_flush_cache (const char *service);
|
||||
#else
|
||||
#define nscd_flush_cache(service) (0)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user