[asterisk-dev] [Code Review] Allow linking/building against an external editline library.

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Oct 17 10:56:18 CDT 2011


On Mon, Oct 17, 2011 at 03:46:02PM -0000, Paul Belanger wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1528/#review4516
> -----------------------------------------------------------
> 
> 
> 
> /trunk/main/cli.c
> <https://reviewboard.asterisk.org/r/1528/#comment8692>
> 
>     This need to be:
>     #include <editline/readline.h>
>     
>     for Debian / Ubuntu to compile

JFTR, here is libedit.pc from my Debian Testing system.

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libedit
Description: Not just a replacement library for libreadline and
libhistory.
Version: 2.11
Requires:
Requires.private: libbsd
Libs: -L${libdir} -ledit
Libs.private: -lcurses
Cflags: -I${includedir}

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list