From 5514698883ad2d271efad1dddcc1a4e591d37234 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 2 Jul 2007 15:15:31 +0000 Subject: [PATCH] ITS#5033: Do not make depend if configure does not figure out how --- build/openldap.m4 | 1 + configure.in | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) 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" -- 2.39.5