diff options
Diffstat (limited to 'src/external')
-rw-r--r-- | src/external/nscd.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
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 - |