Fix error reported on IRC
authorGregNoel <GregNoel@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 16 Sep 2008 02:31:02 +0000 (02:31 +0000)
committerGregNoel <GregNoel@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 16 Sep 2008 02:31:02 +0000 (02:31 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3431 fdb21ef1-2011-0410-befe-b5e4ea1792b1

doc/user/sconf.in
doc/user/sconf.xml

index 381a174b4f87c6e1387b1d0fa70d4243af87aab7..0ef1d851637f94a485983a1a372feeffe67907a3 100644 (file)
     conf = Configure(env)
     if not conf.CheckFunc('strcpy'):
         print 'Did not find strcpy(), using local version'
-        conf.env.Append('-Dstrcpy=my_local_strcpy')
+        conf.env.Append(CPPDEFINES = '-Dstrcpy=my_local_strcpy')
     env = conf.Finish()
     </sconstruct>
 
index d683bb8bd15c4660cf7ceae15151558f2a8deebf..d89470db56025c5b0e88b1c6d0094be5a7ad235e 100644 (file)
     conf = Configure(env)
     if not conf.CheckFunc('strcpy'):
         print 'Did not find strcpy(), using local version'
-        conf.env.Append('-Dstrcpy=my_local_strcpy')
+        conf.env.Append(CPPDEFINES = '-Dstrcpy=my_local_strcpy')
     env = conf.Finish()
     </programlisting>