(Imported from Trac #530, reported by guest on 2009-03-22)
Currently Cabal has support for configuration flags.
This is a nice feature, but quite limited. It can only take a boolean value, and the flag must be manually set during Setup.hs configure.
Here I propose a more powerfull feature, that it is yet easy to use (and, hopefully, easy to implement).
The idea is to add support for configuration features.
A configuration feature is similar to a configuration flag, but with
some important differences.
data Feature = Bool | String
-- other possible properties, as listed in
-- "Build information chapter", excluding buildable and
-- The action property can have values compile (default)
-- or execute
Closing as there's been no activity in years.
We're cleaning up the bug tracker to make it useful again and are thus closing bugs that haven't seen any activity in a long time. Please re-open (or file a new bug) if the problem reappears.