Update of /cvsroot/monetdb/buildtools/autogen/autogen
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25187
Modified Files:
Tag: MonetDB_1-20
msc.py
Log Message:
Fix macro names.
Index: msc.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/msc.py,v
retrieving revision 1.35
retrieving revision 1.35.2.1
diff -u -d -r1.35 -r1.35.2.1
--- msc.py 4 Sep 2007 12:30:14 -0000 1.35
+++ msc.py 10 Oct 2007 11:43:58 -0000 1.35.2.1
@@ -751,7 +751,7 @@
makelib = makedll
if libmap.has_key('COND'):
condname = 'defined(' + ') && defined('.join(libmap['COND']) + ')'
- mkname = (pref + v).replace('.', '_')
+ mkname = (pref + v).replace('.', '_').replace('-', '_')
fd.write('!IF %s\n' % condname)
fd.write('C_%s_dll = %s%s.dll\n' % (mkname, pref, v))
fd.write('C_%s_lib = %s%s.lib\n' % (mkname, pref, v))
@@ -759,7 +759,7 @@
fd.write('C_%s_dll =\n' % mkname)
fd.write('C_%s_lib =\n' % mkname)
fd.write('!ENDIF\n')
- makelib = '$(C_%s)' % makelib.replace('.', '_')
+ makelib = '$(C_%s_lib)' % mkname
makedll = '$(C_%s_dll)' % mkname
else:
condname = ''
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins