darcs patch: [PROOF OF CONCEPT] build readline package with libedit

Thomas Schilling nominolo at googlemail.com
Tue Feb 19 08:44:28 EST 2008


On 19 feb 2008, at 12.31, Duncan Coutts wrote:

>
> On Tue, 2008-02-19 at 12:01 +0100, Henning Thielemann wrote:
>> On Tue, 19 Feb 2008, Christian Maeder wrote:
>>
>>> In order to avoid several #ifdefs (maybe differently or suboptimal
>>> given) in user sources (to achieve 1.) such #ifdefs (or wrappers)
>>> should be part of the libraries (including the documentation for the
>>> license differences)!
>>
>> Can Cabal-1.2's flag capability manage such a task?
>
> I don't think I understand the problem clearly enough to say. Perhaps
> someone can try explaining it in more detail.
>
I don't think Cabal can help easily here since it works on the module  
level.  It also won't rename modules which would be required in this  
case, I think.

/ Thomas


More information about the Libraries mailing list