From cd104102b9ff90c123342a588d2578cf9d5637ed Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 31 Mar 2010 18:03:39 +1100 Subject: build: don't define vars in config.h for CONFIG_PATH() we don't want paths in config.h, as that just causes full rebuilds when you change --prefix. Better to use cflags= on the right subsystem --- buildtools/wafsamba/samba_autoconf.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'buildtools/wafsamba/samba_autoconf.py') diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 4ee0852b75..d1b43d4e8a 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -561,8 +561,6 @@ def CONFIG_PATH(conf, name, default): conf.env[name] = default else: conf.env[name] = conf.env['PREFIX'] + default - conf.define(name, conf.env[name], quote=True) - @conf def ADD_CFLAGS(conf, flags, testflags=False): -- cgit