autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check for readline


From: Matthias Langer
Subject: Re: check for readline
Date: Sun, 26 Feb 2006 14:07:41 +0100

On Sat, 2006-02-25 at 23:18 +0100, Ralf Wildenhues wrote:
> Hi Matthias,
> 
> * Matthias Langer wrote on Thu, Feb 23, 2006 at 11:11:59AM CET:
> > What is the suggested way to check for the existence of readline ?
> > Should i use the macro from http://autoconf-archive.cryp.to/ or is there
> > a better approach ?
> 
> You could also try the gnulib module readline (including dependent
> modules).  I have not compared the two.

Thanks, i looked after that, but unfortunately the readline module in
gnulib is very minimalistic:

Quoted from readline.c:
"This module is intended to be used when the application only need
 the readline interface.  If you need more functions from the
 readline library, it is recommended to require the readline library
 (or improve this module) rather than #if-protect part of your
 application (doing so would add assumptions of this module into
 your application)."

In principle the VL_LIB_READLINE macro from http://autoconf-archive.cryp.to/ 
is what i need, with the exeption that it doesn't make configure fail when 
readline isn't present on the system. I guess i have to modify this
macro to satisfy my needs ...

Matthias






reply via email to

[Prev in Thread] Current Thread [Next in Thread]