build: don't define vars in config.h for CONFIG_PATH()
authorAndrew Tridgell <tridge@samba.org>
Wed, 31 Mar 2010 07:03:39 +0000 (18:03 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:20 +0000 (20:27 +1000)
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

index 4ee0852b75ac862f6720ceb481eb868ae702af43..d1b43d4e8a4311b68962f28a26e9a97028f8a08e 100644 (file)
@@ -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):