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

Startseite
Nachricht löschen
Autor: Philip Hazel
Datum:  
To: pcre-dev
Betreff: [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

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.


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