krb5 commit: Require built-in verto for make depend

Greg Hudson ghudson at MIT.EDU
Sat Dec 21 00:05:40 EST 2013


https://github.com/krb5/krb5/commit/3a4a4fd6f70bde630bba09bb268c8558de9a326e
commit 3a4a4fd6f70bde630bba09bb268c8558de9a326e
Author: Greg Hudson <ghudson at mit.edu>
Date:   Fri Dec 20 18:42:04 2013 -0500

    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.

 src/config/post.in |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/config/post.in b/src/config/post.in
index 3439d92..07816ed 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- at 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


More information about the cvs-krb5 mailing list