Hi Jan,
If you have a copy of autoconf on your machine, you need to replace this
line of hugs/src/unix/configure.in:
if test "$ac_cv_lib_ncurses" = no; then
with this line:
if test "$ac_cv_lib_ncurses_main" = no; then
(this should be close to line 256)
Once you've done that, do the following (adapting the configure line
as required for your site):
autoheader # rebuild acconfig.h just to be safe
autoconf # rebuild configure
rm -f config.cache # just to be safe
./configure --with-readline --prefix=$HOME
If you don't have a copy of autoconf, I've stuck a copy of configure
in /pub/reid on haskell.org. ftp in and grab it.
Alastair