mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
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
This commit is contained in:
parent
ebe2e862ba
commit
52113b3bd2
7
wscript
7
wscript
@ -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')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user