Skip site navigation (1) Skip section navigation (2)

Why is libcurses added to build by configure?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Why is libcurses added to build by configure?
Date: 1998-10-30 23:54:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Does anyone understand why wants to include libcurses in
$(LIBS) ?  There is no program in the PostgreSQL distribution that uses
that library (at least, I could not find any reference to curses.h).

On HPUX 10, including libcurses causes problems because it defines a
select() routine that has nothing to do with the select() system call.
There is a hack in Makefile.hpux that gets around this (by linking -lc
ahead of the libraries chosen by configure), but that is going to cause
problems for supporting HPUX 10.01, because signal considerations demand
that -lBSD come first on that platform.

I would like to pull out the code that adds -lcurses to
LIBS, but I'm hesitant to do it at this late stage in the release cycle
without knowing why it was there in the first place.  Did we use to have
a frontend that used curses, or something like that?

			regards, tom lane


pgsql-hackers by date

Next:From: Tom LaneDate: 1998-10-31 00:08:47
Subject: Re: [HACKERS] HPUX 10.01 build issues and solutions.
Previous:From: Bruce MomjianDate: 1998-10-30 23:50:40
Subject: CVS trees and post-6.4 release issues

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group