Hi,
I'd like to do something like this in cabal:
Library
Build-depends: base >= 3 && <= 5
if (base==4.*)
cpp-options: -DUSE_BASE_4
else
cpp-options: -DUSE_BASE_3
Is there a way to use the if construct that check what version of dependent
package has been chosen?
--
Gracjan