From 3b917f1d971d034cc758ceb5e215edb59afd9105 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 22 Feb 2012 15:48:37 -0500 Subject: Eliminate build-time requirement for nscd We will now use the autodetected location if available, or else fall back to a value provided by --with-nscd in configure and finally resort to a hard-coded default of /usr/sbin/nscd. --- src/external/nscd.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/external') diff --git a/src/external/nscd.m4 b/src/external/nscd.m4 index f9f54c58..d0f12916 100644 --- a/src/external/nscd.m4 +++ b/src/external/nscd.m4 @@ -1,9 +1,9 @@ -AC_PATH_PROG(NSCD, nscd) +AC_PATH_PROG(NSCD, nscd, $NSCD_PATH) AC_MSG_CHECKING(for nscd) +AC_DEFINE_UNQUOTED([NSCD_PATH], "$NSCD", [The path to nscd, if available]) + 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.) + AC_MSG_RESULT([not installed, assuming standard location]) fi - -- cgit