Karim BELABAS on Mon, 10 Mar 2003 22:46:20 +0100 (MET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PATCH oldish CVS] readline 1.0 |
On Mon, 10 Mar 2003, Ilya Zakharevich wrote: > On Fri, Nov 29, 2002 at 05:57:22PM -0800, Ilya Zakharevich wrote: > > This patch > > > > a) restores compatibility with readline 1.0 (at least headers); > > > > b) detects when history.h is missing (and corrects for it, sigh...); > > > > c) detects a (typical?) case mismatch between readline headers and > > library (when headers are old, but the library is newer - somebody > > installed "user-visible" update, but not developer-visible?); we do > > not do anything drastic in this case; only enable rl_save_prompt > > if the library version is 4.1 or more (do not know the exact > > transition time, should be after 2.1) > > > > d) Report both version of readline at compile time and now (if possible); > > Is this patch included in 2.2.5? It is. % cvs log -r1.3 config/get_readline [...] revision 1.3 date: 2002/12/15 15:32:23; author: karim; state: Exp; lines: +50 -4 IZ 59- [readline:] support old versions (1.0), try to recover from mismatched headers wrt. library, report version of loaded library in gp header [as opposed to library version at Configure time] > I was compiling gp at 4 different offices (Ohio, Berkeley, MPI-Bonn and > IHES), and mis-installed readline was a problem everywhere. Now I see that > at least the code to print the actual version of Readline is not there... What code exactly is missing ? Karim. -- Karim Belabas Tel: (+33) (0)1 69 15 57 48 Dép. de Mathématiques, Bât. 425 Fax: (+33) (0)1 69 15 60 19 Université Paris-Sud http://www.math.u-psud.fr/~belabas/ F-91405 Orsay (France) http://www.parigp-home.de/ [PARI/GP]