diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-22 15:48:37 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-27 09:31:56 -0500 |
commit | 7b973707e54e050b261f8ae1a64dc2f602bc0640 (patch) | |
tree | 588a18c983a02ce3d02b4c6b117c51637114b13c /src/external/nscd.m4 | |
parent | 7264de8ff5c0ed6ae42295bf410126997f52e84a (diff) | |
download | sssd-7b973707e54e050b261f8ae1a64dc2f602bc0640.tar.gz sssd-7b973707e54e050b261f8ae1a64dc2f602bc0640.tar.xz sssd-7b973707e54e050b261f8ae1a64dc2f602bc0640.zip |
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.
Diffstat (limited to 'src/external/nscd.m4')
-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 f9f54c582..d0f129166 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 - |