Mon Aug 11 10:30:16 PDT 2008 Simon Marlow <[EMAIL PROTECTED]>
* Add auto-generated CPP macros for package version testing
Now when using CPP you get
MIN_VERSION_<package>(A,B,C)
for each <package> in build-depends, which is true if the version of
<package> in use is >= A.B.C, using the normal ordering on version
numbers.
This is done by auto-generating a header file
dist/build/autogen/cabal_macros.h, and passing a -include flag when
running CPP.
M ./Distribution/Simple/Build.hs -2 +43
M ./Distribution/Simple/BuildPaths.hs +3
M ./Distribution/Simple/GHC.hs +2
M ./Distribution/Simple/PreProcess.hs -3 +9
M ./doc/Cabal.xml +41
View patch online:
http://darcs.haskell.org/packages/Cabal/_darcs/patches/20080811173016-12142-850c66ab1b3fc6aa05add7a0433dccdd1b3355c1.gz
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries