summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-12-30 16:25:41 (GMT)
committerGuido van Rossum <guido@python.org>2002-12-30 16:25:41 (GMT)
commitfaf5e4d48f9d8cb78a35e71c560dda8d1d2d7115 (patch)
treea89a21dd868d8025845cb9bd92f984b37f9bf58a /pyconfig.h.in
parent1fb22bb24fd395a12a225b2418ea8d22d5b37610 (diff)
downloadcpython-faf5e4d48f9d8cb78a35e71c560dda8d1d2d7115.zip
cpython-faf5e4d48f9d8cb78a35e71c560dda8d1d2d7115.tar.gz
cpython-faf5e4d48f9d8cb78a35e71c560dda8d1d2d7115.tar.bz2
Patch 659834 by Magnus Lie Hetland:
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).
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index dd52efb..922147e 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -333,6 +333,9 @@
/* Define to 1 if you have the `readlink' function. */
#undef HAVE_READLINK
+/* Define if you have readline 2.2 */
+#undef HAVE_RL_COMPLETION_APPEND_CHARACTER
+
/* Define if you have readline 4.2 */
#undef HAVE_RL_COMPLETION_MATCHES