Bulat Ziganshin wrote:

such feature was already requested by Robert Dockins <[EMAIL PROTECTED]>
in libraries list at June 8. He wrote:

"This brings up a feature I have sometimes wanted from Cabal.  I'd
like to be able to say the following: "Cabal, find and use package X if it exists. Furthermore, when CPPing source code, set a #define HAS_PACKAGE_X so I can do conditional compilation based on the (non-) avaliablility of package X". Is this possible? Difficult? It seems like a nice way to handle a number of problems, including platform- dependencies (as here) and optional features with external
dependencies."

you can add your voice to the peoples requesting this feature (i need
it, too)

I have some changes to Cabal partly finished that will address this. Don't worry, it's coming.

Cheers,
        Simon
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to