[pcre-dev] [Bug 1210] Add support for linking pcretest to li…

Pàgina inicial
Delete this message
Autor: Martin Matuska
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 1210] Add support for linking pcretest to libedit
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #2 from Martin Matuska <mm@???> 2012-02-25 17:17:10 ---
On 25.2.2012 18:07, Philip Hazel wrote:
> ------- You are receiving this mail because: -------
> You reported the bug.
>
> http://bugs.exim.org/show_bug.cgi?id=1210
>
> Philip Hazel <ph10@???> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>          Resolution|                            |FIXED

>
>
>
>
> --- Comment #1 from Philip Hazel <ph10@???> 2012-02-25 17:07:26 ---
> Thank you for submitting this patch. I have applied it in a slightly modified
> form, and committed the result. There were two main modifications: (1) I
> stopped the configure script from looking for libreadline when libedit was
> selected (and vice versa) and (2) On my Gentoo system, both readline and
> libedit are installed. The latter has its header in editline/readline.h, not
> readline/readline.h. I changed the configure script to look for
> editline/readline.h first, falling back to readline/readline.h because that was
> what you submitted, which makes me guess that on some systems that is where the
> editline header actually lives. Using readine/readline.h on my box gives a
> warning because there is no definition of add_history in there.
>
> The CMake build system still needs to be updated to support libedit. I will do
> this as a separate exercise.
>
>


Thank you.

On FreeBSD the libedit headers are located here:
/usr/include/edit/readline/readline.h
/usr/include/edit/readline/history.h (dummy header)

NetBSD installs the header into: /usr/include/readline/readline.h

This is probably different in various distributions.


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