From: Hallvard Furuseth Date: Mon, 2 Jul 2007 15:15:31 +0000 (+0000) Subject: ITS#5033: Do not make depend if configure does not figure out how X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~358 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5514698883ad2d271efad1dddcc1a4e591d37234;p=openldap ITS#5033: Do not make depend if configure does not figure out how --- diff --git a/build/openldap.m4 b/build/openldap.m4 index 18013cc9a7..060c797c2d 100644 --- a/build/openldap.m4 +++ b/build/openldap.m4 @@ -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}" diff --git a/configure.in b/configure.in index 8793a97b4e..0edfa1ab8f 100644 --- a/configure.in +++ b/configure.in @@ -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"