Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Just a question --- if you link readline against -ltermcap when the
> > library is created, you don't need to add -ltermcap when you link apps
> > to readline, right? You somehow bind the dependency in to the shared
> > library, right?
>
> It could be done that way, but apparently is not on many platforms.
> What configure is testing for is to see whether "-lreadline" links
> successfully without a following "-ltermcap". It doesn't.
Yes, that's what I thought. Someone submitted a patch to add -lm to
ecpglib because it seems it needs it now and we don't want all the apps
to have to link it in.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073