Re: REQ: build src/backend/postgres w/o -lncurses or -lreadline - Mailing list pgsql-bugs

From Todd R. Eigenschink
Subject Re: REQ: build src/backend/postgres w/o -lncurses or -lreadline
Date
Msg-id 15106.43597.172801.150506@rtfm.ofc.tekinteractive.com
Whole thread Raw
In response to Re: REQ: build src/backend/postgres w/o -lncurses or -lreadline  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
Peter Eisentraut writes:
>> I don't see much value in fixing this just for libreadline (and even
>> less in fixing it by disabling readline support entirely).  I think I
>> recall Peter E. having mentioned that there'd be a better answer in
>> autoconf 2.50 ... so I'm inclined not to touch the problem until that
>> comes out.
>
>I don't see how autoconf 2.50 ("any day now") would change anything here.
>We could make up new variables like READLINE_LIBS, but where do we stop?
>I don't have a good answer.

Short of a separate configure script, there probably isn't one.

If you feel like doing *something*, my patch to "sed" out the
libraries would be really simple.  Otherwise, it's not a big deal for
me to just rebuild src/backend/postgres with a slightly altered
command line.  Once the initial "make" finishes, it only takes about
15 seconds.

And of course, most people don't/won't care or notice.  The extra
unneeded dependencies just make me feel dirty. :-)


Todd

pgsql-bugs by date:

Previous
From: "Jeff Patterson"
Date:
Subject: date bug
Next
From: "Alex"
Date:
Subject: timestamp being timestamp with time zone