Re: [HACKERS] Why is libcurses added to build by configure? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Why is libcurses added to build by configure?
Date
Msg-id 452.909946326@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Why is libcurses added to build by configure?  (Phil Thompson <phil@river-bank.demon.co.uk>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Peter T Mount
Date:
Subject: Re: [HACKERS] BETA3...
Next
From: Steve Frampton
Date:
Subject: Re: Question on concurrency controls