From 342c42bce3a5d239b407b76d32aa107f751978d3 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 30 Mar 2003 19:26:50 +0000 Subject: 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). --- pyconfig.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyconfig.h.in b/pyconfig.h.in index 26667a8..9c4f1a1 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 -- cgit v0.12