[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/devtools/waf/wafadmin
From:       Thomas Nagy <tnagyemail-mail () yahoo ! fr>
Date:       2006-10-28 18:20:13
Message-ID: 1162059613.119517.26485.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 599834 by tnagy:

conf.add_define('NAME', None)


 M  +3 -1      Configure.py  


--- trunk/playground/devtools/waf/wafadmin/Configure.py #599833:599834
@@ -900,7 +900,9 @@
 		dest.write('#ifndef _CONFIG_H_WAF\n#define _CONFIG_H_WAF\n\n')
 
 		for key in env['defines']:
-			if env['defines'][key]:
+			if env['defines'][key] is None:
+				dest.write('#define %s\n' % key)
+			elif env['defines'][key]:
 				dest.write('#define %s %s\n' % (key, env['defines'][key]))
 				#if addcontent:
 				#	dest.write(addcontent);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic