From d1df1cb714289b90dc173a72e488773960952402 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 8 May 2011 17:35:05 +0200 Subject: build: Allow the C code to know if this is a waf build This allows addition of functionality that can't be handled (for example, due to dependencies) in the autoconf build. Andrew Bartlett --- wscript | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript') diff --git a/wscript b/wscript index 950442792c0..04c4e9140b2 100755 --- a/wscript +++ b/wscript @@ -60,6 +60,7 @@ def configure(conf): version = samba_version.load_version(env=conf.env) conf.DEFINE('CONFIG_H_IS_FROM_SAMBA', 1) + conf.DEFINE('_SAMBA_WAF_BUILD_', version.MAJOR) conf.DEFINE('_SAMBA_BUILD_', version.MAJOR, add_to_cflags=True) conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True) -- cgit v1.2.1