diff options
author | Thomas Wouters <thomas@python.org> | 2001-07-11 12:18:24 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2001-07-11 12:18:24 (GMT) |
commit | 958106de0494de001ff0148770b1997a9eb9ae2c (patch) | |
tree | 7a7e6642308f12751c584f5a21e6331d326be4a5 /configure.in | |
parent | 800f6774be7c8b7705fa9e2a2806e458711a957c (diff) | |
download | cpython-958106de0494de001ff0148770b1997a9eb9ae2c.zip cpython-958106de0494de001ff0148770b1997a9eb9ae2c.tar.gz cpython-958106de0494de001ff0148770b1997a9eb9ae2c.tar.bz2 |
Backport of Guido's checkins of acconfig.h (1.50), configure.in (1.224) and
readline.c (2.36), and re-generated config.h.in and configure:
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 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index f57eac2..48c4f0e 100644 --- a/configure.in +++ b/configure.in @@ -1330,6 +1330,10 @@ then AC_DEFINE(HAVE_GETC_UNLOCKED) fi +# check for readline 4.2 +AC_CHECK_LIB(readline, rl_completion_matches, + AC_DEFINE(HAVE_RL_COMPLETION_MATCHES), , -ltermcap) + # THIS MUST BE LAST, IT CAN BREAK OTHER TESTS! # Add sys/socket.h to confdefs.h cat >> confdefs.h <<\EOF |