Autor: Nuno Lopes Fecha: A: Bob Rossi, 620 Cc: pcre-dev Asunto: Re: [pcre-dev] [Bug 620] Edition of pattern with readline
>> I suppose it could be made conditional. I will look at this when I next >> work on PCRE (not for a few weeks).
>
> That brings up a good point. If it's conditional, is it only GPL'd if
> the resulting binary had the readline stuff enabled?
sure. PHP is also licensed under a BSD-like license and you can compile it
with readline to get a PHP shell-like CLI interpreter. But that doesn't make
PHP GPL licensed or something like that.
Anyway, there is a drop-in replacement for readline which is (near) 100% API
compatible and is licensed under the BSD license. It's called Libedit.