Re: [HACKERS] Why is libcurses added to build by configure?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Why is libcurses added to build by configure?
Дата
Msg-id 452.909946326@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Why is libcurses added to build by configure?  (Phil Thompson <phil@river-bank.demon.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: [HACKERS] BETA3...
Следующее
От: Steve Frampton
Дата:
Сообщение: Re: Question on concurrency controls