Phil Thompson <phil@river-bank.demon.co.uk> writes:
> readline needs terminfo/termcap. On many Linux systems terminfo support
> is in the [n]curses library.
In fact, what I discovered after some further tracking of dependencies
is that the routines needed by readline are available in *either*
libtermcap or libcurses on HPUX. According to Horton's _Portable C
Software_, having a separate libtermcap is Berkeley practice and folding
it into libcurses is a SysV-ism.
So, the safest approach seems to be to leave configure alone and solve
the select()-in-libcurses problem with some hackery in Makefile.hpux.
regards, tom lane