diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 10:36:55 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 04:11:45 +0200 |
commit | 52113b3bd25b12c766985be7abd042d984c924e6 (patch) | |
tree | 7457555b7e0f2163f19e36b5e847598811c84b2e /wscript | |
parent | ebe2e862ba9ff4ae1e376d877e428a87be3694e3 (diff) | |
download | samba-52113b3bd25b12c766985be7abd042d984c924e6.tar.gz samba-52113b3bd25b12c766985be7abd042d984c924e6.tar.bz2 samba-52113b3bd25b12c766985be7abd042d984c924e6.zip |
build: Add configure summary checking to waf build
When we remove the autoconf build, this can be re-expressed in python, but
for now it is good to share this double-check.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 5 04:11:45 CEST 2012 on sn-devel-104
Diffstat (limited to 'wscript')
-rwxr-xr-x | wscript | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -123,6 +123,13 @@ def configure(conf): del(conf.env.defines['PYTHONDIR']) del(conf.env.defines['PYTHONARCHDIR']) + if not conf.CHECK_CODE('#include "tests/summary.c"', + define='SUMMARY_PASSES', + addmain=False, + execute=True, + msg='Checking configure summary'): + raise Utils.WafError('configure summary failed') + conf.SAMBA_CONFIG_H('include/config.h') |