From: Greg Hudson Date: Fri, 20 Dec 2013 23:42:04 +0000 (-0500) Subject: Require built-in verto for make depend X-Git-Tag: krb5-1.13-alpha1~273 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a4a4fd6f70bde630bba09bb268c8558de9a326e;p=thirdparty%2Fkrb5.git Require built-in verto for make depend A tree configured to use the system libverto will be missing $(VERTO_DEPS) in dependencies, so disallow make depend. --- diff --git a/src/config/post.in b/src/config/post.in index 3439d92a78..07816ed841 100644 --- a/src/config/post.in +++ b/src/config/post.in @@ -52,6 +52,14 @@ depend-verify-ss-k5: depend-verify-ss-sys: @echo 1>&2 error: cannot build dependencies using system ss package @exit 1 +$(BUILDTOP)/.depend-verify-verto: depend-verify-verto-$(VERTO_VERSION) +depend-verify-verto-k5: + @if test -r $(BUILDTOP)/.depend-verify-verto; then :; \ + else (set -x; touch $(BUILDTOP)/.depend-verify-verto); fi +depend-verify-verto-sys: + @echo 1>&2 error: cannot build dependencies using system verto package + @echo 1>&2 Please configure with --without-system-verto + @exit 1 $(BUILDTOP)/.depend-verify-gcc: depend-verify-gcc-@HAVE_GCC@ depend-verify-gcc-yes: @if test -r $(BUILDTOP)/.depend-verify-gcc; then :; \ @@ -62,7 +70,8 @@ depend-verify-gcc-no: @exit 1 DEP_CFG_VERIFY = $(BUILDTOP)/.depend-verify-srcdir \ - $(BUILDTOP)/.depend-verify-et $(BUILDTOP)/.depend-verify-ss + $(BUILDTOP)/.depend-verify-et $(BUILDTOP)/.depend-verify-ss \ + $(BUILDTOP)/.depend-verify-verto DEP_VERIFY = $(DEP_CFG_VERIFY) $(BUILDTOP)/.depend-verify-gcc .d: $(ALL_DEP_SRCS) $(DEP_CFG_VERIFY) depend-dependencies