patch applied (cabal): Add a VERSION_<package> define for each
package in cabal_macros.h
Duncan Coutts
duncan.coutts at googlemail.com
Thu Apr 15 18:54:21 EDT 2010
Mon Mar 29 03:46:32 PDT 2010 Mathieu Boespflug <mboes at tweag.net>
* Add a VERSION_<package> define for each package in cabal_macros.h
The MIN_VERSION_<package> macros are useful to test whether we have at
least a given version of a dependency, but we can't extract the actual
version of dependency using this macro. This patch makes the version
of each dependency available to the code of the cabal package, which
can be useful when constructing global names in Template Haskell, for
instance.
M ./Distribution/Simple/Build/Macros.hs +2
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=cabal;a=darcs_commitdiff;h=20100329104632-37ac6-7a87c82ba7de1a39f085a3bff66c29ce86de7203.gz
More information about the cabal-devel
mailing list