Update of /cvsroot/monetdb/buildtools/autogen/autogen
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23018/buildtools/autogen/autogen

Modified Files:
        msc.py 
Log Message:

Ensure that MEL uses the package's locate <pkg>_config.h
(instead of hard-wired monetdb4_config.h)
aldo on Windows (like it already did/does on Unix).


Index: msc.py
===================================================================
RCS file: /cvsroot/monetdb/buildtools/autogen/autogen/msc.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- msc.py      3 Dec 2007 14:31:34 -0000       1.43
+++ msc.py      9 Dec 2007 19:12:50 -0000       1.44
@@ -354,14 +354,14 @@
 
     if ext == "glue.c":
         fd.write(getsrc)
-        fd.write('\t$(MEL) $(INCLUDES) -o "%s" -glue "%s.m"\n' % (t, b))
+        fd.write('\t$(MEL) -c $(CONFIG_H) $(INCLUDES) -o "%s" -glue "%s.m"\n' 
% (t, b))
     if ext == "proto.h":
         fd.write(getsrc)
-        fd.write('\t$(MEL) $(INCLUDES) -o "%s" -proto "%s.m"\n' % (t, b))
+        fd.write('\t$(MEL) -c $(CONFIG_H) $(INCLUDES) -o "%s" -proto "%s.m"\n' 
% (t, b))
     if ext == "mil":
         fd.write(getsrc)
         if b+".tmpmil" in deplist:
-            fd.write('\t$(MEL) $(INCLUDES) -mil "%s.m" > "%s.mil"\n' % (b, b))
+            fd.write('\t$(MEL) -c $(CONFIG_H) $(INCLUDES) -mil "%s.m" > 
"%s.mil"\n' % (b, b))
             fd.write('\ttype "%s.tmpmil" >> "%s.mil"\n' % (b, b))
             fd.write('\tif not exist .libs $(MKDIR) .libs\n')
             fd.write('\t$(INSTALL) "%s.mil" ".libs\\%s.mil"\n' % (b, b))


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to