From: Neal Norwitz Date: Sun, 30 Mar 2003 19:26:50 +0000 (+0000) Subject: Backport Patch 659834 checked in by GvR on 2002/12/30 16:25:38 X-Git-Tag: v2.2.3c1~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=342c42bce3a5d239b407b76d32aa107f751978d3;p=thirdparty%2FPython%2Fcpython.git Backport Patch 659834 checked in by GvR on 2002/12/30 16:25:38 Check for readline 2.2 features. This should make it possible to compile readline.c again with GNU readline versions 2.0 or 2.1; this ability was removed in readline.c rev. 2.49. Apparently the older versions are still in widespread deployment on older Solaris installations. With an older readline, completion behavior is subtly different (a space is always added). --- diff --git a/pyconfig.h.in b/pyconfig.h.in index 26667a8273f9..9c4f1a1b40f5 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -161,6 +161,9 @@ /* Define if you have GNU PTH threads */ #undef HAVE_PTH +/* Define if you have readline 2.2 */ +#undef HAVE_RL_COMPLETION_APPEND_CHARACTER + /* Define if you have readline 4.0 */ #undef HAVE_RL_PRE_INPUT_HOOK