summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
Diffstat (limited to 'src/external')
-rw-r--r--src/external/nscd.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/src/external/nscd.m4 b/src/external/nscd.m4
new file mode 100644
index 000000000..f9f54c582
--- /dev/null
+++ b/src/external/nscd.m4
@@ -0,0 +1,9 @@
+AC_PATH_PROG(NSCD, nscd)
+AC_MSG_CHECKING(for nscd)
+if test -x "$NSCD"; then
+ AC_DEFINE_UNQUOTED([NSCD_PATH], "$NSCD", [The path to nscd, if available])
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_RESULT(no. Manipulating nscd cache will not be available.)
+fi
+