build: allow override of config.h location
authorAndrew Tridgell <tridge@samba.org>
Mon, 22 Feb 2010 21:28:29 +0000 (08:28 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:35 +0000 (20:26 +1000)
lib/replace/wafsamba.py

index e1fae6211974589c709a0709e25137744b83c880..96e8e7645debfd201f5c854a2b30502a93c7519a 100644 (file)
@@ -53,7 +53,7 @@ def CHECK_FUNCS_IN(conf, list, library):
 @conf
 def SAMBA_CONFIG_H(conf, path='config.h'):
     if os.path.normpath(conf.curdir) == os.path.normpath(os.environ.get('PWD')):
-        conf.write_config_header(path, top=True)
+        conf.write_config_header(path)
 
 
 ##############################################################