[m-dev.] readline problems

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Apr 8 21:36:40 AEST 1999


On 08-Apr-1999, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
> If you have problems with bootstrapping due to one of the many problems
> with readline, try applying the following diff, and touching .noreadline
> in your mercury directory. I haven't finished testing it yet, so I make
> no claim that it fixes the problem :-(

An alternative solution would be to put

	EXTRA_MLFLAGS=--no-readline
	EXTRA_CFLAGS=-DMR_NO_USE_READLINE

in Mmake.params and

	EXTRA_MLFLAGS=--no-readline

in tests/Mmake.common.

Disabling readline is what those options are for,
so if you want to disable readline, it would make sense to use them.
(Allowing this is why I made the name of the macro MR_NO_USE_READLINE
rather than using the more natural MR_USE_READLINE.)

Of course I haven't tested this solution either.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list