[m-dev.] readline problems

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


On 08-Apr-1999, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
>  #
>  AC_DEFUN(MERCURY_CHECK_READLINE,
>  [
> +if test -f .noreadline

If you were planning on committing this change, then I think it would be
better to use the standard autoconf configure option `--without-<PACKAGE>'
rather than checking the existence of a special file.

This is quite easy to do, I think: just add

	AC_ARG_WITH(readline,
	[  --without-readline      do not use the GNU readline package])

and then change the above test to

	if test "$with_readline" = "no"; then

-- 
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