ITS#5033: Do not make depend if configure does not figure out how

This commit is contained in:
Hallvard Furuseth 2007-07-02 15:15:31 +00:00
parent ba88d443e9
commit 5514698883
2 changed files with 6 additions and 1 deletions

View File

@ -91,6 +91,7 @@ EOF
done
rm -f conftest*
])
test "$ol_cv_mkdep" = no && OL_MKDEP=":"
else
cc_cv_mkdep=yes
OL_MKDEP_FLAGS="${MKDEP_FLAGS}"

View File

@ -3102,7 +3102,11 @@ fi
/* end of generated file */
ENDX
echo Please run \"make depend\" to build dependencies
if test "${ol_cv_mkdep}" = no; then
echo '(Do not "make depend"; we do not know how to build dependencies)'
else
echo 'Please run "make depend" to build dependencies'
fi
]],[[
STATIC_BACKENDS="$SLAPD_STATIC_BACKENDS"
STATIC_OVERLAYS="$SLAPD_STATIC_OVERLAYS"