summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/wscript b/wscript
index e64e50902a..6b51a37c85 100755
--- a/wscript
+++ b/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')