[Patches] [ python-Patches-659834 ] Check for readline 2.2 features

SourceForge.net noreply@sourceforge.net
Wed, 12 Feb 2003 14:16:52 -0800


Patches item #659834, was opened at 2002-12-29 20:22
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=659834&group_id=5470

Category: Build
Group: Python 2.2.x
Status: Open
>Resolution: Accepted
>Priority: 5
Submitted By: Magnus Lie Hetland (mlh)
>Assigned to: Nobody/Anonymous (nobody)
Summary: Check for readline 2.2 features

Initial Comment:
This patch adds a snippet to configure.in,
to check whether 
rl_completion_append_character
(which is used in Python 
2.3) is available.

rl_prep_terminal is assumed to co-exist 
with rl_completion_append_character.

It is assumed that 
HAVE_RL_COMPLETION_APPEND_CHARACTER will be 
used in readline.c to make it compatible with older versions of the 
readline library.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2003-02-12 17:16

Message:
Logged In: YES 
user_id=6380

I need a volunteer to backport this to 2.2 who can run an
older version of autoconf; the autoconf that I have
installed is too new to process the 2.2 configure.in file.
(The 2.3 version is already checked in.)

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2002-12-30 11:27

Message:
Logged In: YES 
user_id=6380

Checked in. Thanks!

Hm, this should be backported to 2.2.3 too! So I'll keep it
open.

----------------------------------------------------------------------

Comment By: Magnus Lie Hetland (mlh)
Date: 2002-12-29 21:11

Message:
Logged In: YES 
user_id=20535

New patch for configure.in (added a comment) and a patch
for 
readline.c that uses 
HAVE_RL_COMPLETION_APPEND_CHARACTER.

Tested 
on Gentoo Linux with new readline (the new completion
behaviour 
was preserved) and on Solaris with old readline (now compiles, with old 
completion behaviour in place).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=659834&group_id=5470