[Box Backup-dev] Building in readline support

Martin Ebourne boxbackup-dev@fluffy.co.uk
Sat, 24 Dec 2005 23:08:08 +0000


James O'Gorman <james@netinertia.co.uk> wrote:
> I noticed from the new build system that GNU readline support can be 
> compiled in by running
>
> 	./configure --enable-gnu-readline
>
> But that this says not to include this in binary packages. I'm just 
> after some advice on how to handle this for the FreeBSD port. I could 
> disable it by default and add a knob that says WITH_READLINE - this 
> in turn could then disable the ability to create a binary package 
> (using NO_PACKAGE, or RESTRICTED, or something like that).

If you're on bsd I would expect you've got libedit or libeditline 
available. These should be drop in replacements for readline (but 
without the licensing problems) and the build system should 
automatically pick them up. If it doesn't then send the config.log 
output.

Happy Christmas all!

Martin.