[darcs-devel] Re: darcs patch: GHC 6.5 needs '-package parsec' flag
to link successfully
Benedikt Schmidt
ry102 at rz.uni-karlsruhe.de
Wed May 4 05:37:07 PDT 2005
David Roundy <droundy at darcs.net> writes:
> On Tue, May 03, 2005 at 02:25:50PM +0200, Peter Simons wrote:
>> Tue May 3 14:24:57 CEST 2005 Peter Simons <simons at cryp.to>
>> * GHC 6.5 needs '-package parsec' flag to link successfully
>
> This ought to be added automatically by the call
>
> GHC_CHECK_MODULE(Text.ParserCombinators.Parsec, parsec)
>
> Perhaps there is a different module we need to test for? I'd much prefer to
> keep this sort of package-choosing business in the configure script.
The configure script first tries to compile a test programm without the
'-package parsec', this succeeds with GHC-6.5 because the test program
only imports parsec, but doesn't use it.
On the other hand, with GHC-6.4 the first compile without '-package parsec'
fails and the package flag is added to GHCFLAGS in autoconf because of that.
Benedikt
More information about the darcs-devel
mailing list