Re: Why does bison link with readline?

Paul Smith <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Organization GNU's Not UNIX!
Message-ID <[email protected]>
On Mon, 2020-10-12 at 12:10 -0400, Paul Smith wrote:
> Is there a reason that bison has -lreadline to the link line?  I
> cannot find any code anywhere in the bison program that invokes
> readline() or tests any preprocessor option specifying whether
> readline is linked.

Making this change still allowed bison to link and run correctly for
me:

--- a/src/local.mk      2020-08-03 10:36:58.000000000 -0400
+++ b/src/local.mk      2020-10-12 12:14:17.668301244 -0400
@@ -143,7 +143,6 @@
   $(LIB_SETLOCALE_NULL)                         \
   $(LIBICONV)                                   \
   $(LIBINTL)                                    \
-  $(LIBREADLINE)                                \
   $(LIBTEXTSTYLE)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.