[pcre-dev] [Bug 690] readline does not provide termcap funct…

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 690] readline does not provide termcap functions
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=690




--- Comment #1 from Philip Hazel <ph10@???> 2008-04-04 09:45:07 ---
On Wed, 2 Apr 2008, Poor Yorick wrote:

> if --enable-pcretest-libreadline is used, pcre-7.6 checks for readline, but
> does not link to any termcap-like library.


When I build it like that on a Gentoo system, it all works without any
problems. -lreadline seems good enough. What system are you building on?

> configure.ac should do something
> like the following example (from R-2.6.2):
>
>     AC_CHECK_LIB(ncurses, main, [],
>                  AC_CHECK_LIB(termcap, main, [],
>                               AC_CHECK_LIB(termlib, main)))
>     AC_CHECK_LIB(readline, rl_callback_read_char)


Do we know that libreadline uses termcap and not terminfo? On all
systems? I fear that this may be not as simple as just that.

Philip


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email