In article <[EMAIL PROTECTED]>, Tom Lane <[EMAIL PROTECTED]> wrote: >Bruce Momjian <[EMAIL PROTECTED]> 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.
You also then create a difference between static and dynamic linking which a lot of people, such as myself, hate. -lreadline for dynamic linking but -lreadline -ltermcap for static linking? No thanks; I'd rather have consistency. mrc -- Mike Castle [EMAIL PROTECTED] www.netcom.com/~dalgoda/ We are all of us living in the shadow of Manhattan. -- Watchmen fatal ("You are in a maze of twisty compiler features, all different"); -- gcc ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly