patch applied (cabal): Add a VERSION_<package> define for each package in cabal_macros.h
16 Apr
2010
16 Apr
'10
6:54 a.m.
Mon Mar 29 03:46:32 PDT 2010 Mathieu Boespflug <mboes@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=2...
5945
Age (days ago)
5945
Last active (days ago)
0 comments
1 participants
participants (1)
-
Duncan Coutts