summaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-07-10 16:45:32 (GMT)
committerGuido van Rossum <guido@python.org>2001-07-10 16:45:32 (GMT)
commit353ae5896499d0ec297cff00e3686f4cd88668c3 (patch)
tree2d4bc47e3fc79a3c702b7ef6ff16101620341b4a /acconfig.h
parentd854831ddd2adbec80f38ffb26a0f355b9c8772e (diff)
downloadcpython-353ae5896499d0ec297cff00e3686f4cd88668c3.zip
cpython-353ae5896499d0ec297cff00e3686f4cd88668c3.tar.gz
cpython-353ae5896499d0ec297cff00e3686f4cd88668c3.tar.bz2
SF Patch #432457 by Jason Tishler: support for readline 4.2.
This patch allows the readline module to build cleanly with GNU readline 4.2 without breaking the build for earlier GNU readline versions. The configure script checks for the presence of rl_completion_matches in libreadline.
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 896bbfc..bee71f8 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -86,6 +86,9 @@
/* Define if you have GNU PTH threads */
#undef HAVE_PTH
+/* Define if you have readline 4.2 */
+#undef HAVE_RL_COMPLETION_MATCHES
+
/* Define if your compiler supports variable length function prototypes
(e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
#undef HAVE_STDARG_PROTOTYPES