From 403dda3c22752bc117d2c842aea8445f84a0cfa0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 1 Jun 2012 09:48:20 +1000 Subject: build: Add automatic compare of config.h files to recursive waf build This uses the fact that we have both build systems running at the same time. The krb5 checks are skipped because we typically are comparing internal Heimdal with the system krb5, so they do not make sense. The required checks for krb5 are pretty well understood in any case, as we have a limited set of supported libraries. Andrew Bartlett --- source3/Makefile-smbtorture4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/Makefile-smbtorture4') diff --git a/source3/Makefile-smbtorture4 b/source3/Makefile-smbtorture4 index c2fe87a297..bd1764b486 100644 --- a/source3/Makefile-smbtorture4 +++ b/source3/Makefile-smbtorture4 @@ -10,7 +10,7 @@ samba4-configure: .PHONY: samba4-configure -bin/smbtorture4: $(BINARY_PREREQS) samba4-configure +bin/smbtorture4: $(BINARY_PREREQS) samba4-configure samba4-config-compare cd .. && $(WAF_BUILD) --targets=smbtorture cp ../bin/smbtorture bin/smbtorture4 @@ -21,3 +21,8 @@ bin/ndrdump4: $(BINARY_PREREQS) samba4-configure cp ../bin/ndrdump bin/ndrdump4 .PHONY: bin/ndrdump4 + +samba4-config-compare: samba4-configure + @echo "Comparing config.h from autoconf and waf" + @echo "Configure checks missing from WAF are:" + ../buildtools/compare_config_h3.sh include/autoconf/config.h ../bin/default/include/config.h -- cgit