summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-10-26 19:22:14 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-10-26 19:22:14 (GMT)
commitd51317709b49117b448ae63325ebfe829d3c1c03 (patch)
treecbced0a65b3d81bde5a5d502a83c62b14ab716c5 /configure
parent47312acfdbdf7ade64afb27b3185d4e649220f75 (diff)
downloadcpython-d51317709b49117b448ae63325ebfe829d3c1c03.zip
cpython-d51317709b49117b448ae63325ebfe829d3c1c03.tar.gz
cpython-d51317709b49117b448ae63325ebfe829d3c1c03.tar.bz2
Merged revisions 75725 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r75725 | antoine.pitrou | 2009-10-26 20:16:46 +0100 (lun., 26 oct. 2009) | 4 lines Some platforms have rl_completion_append_character but not rl_completion_suppress_append. Reported by Mark D. ........
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 20 insertions, 1 deletions
diff --git a/configure b/configure
index 9a09bc9..ff1a560 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 75678 .
+# From configure.in Revision: 75684 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 3.2.
#
@@ -25056,6 +25056,25 @@ _ACEOF
fi
rm -f conftest*
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <readline/readline.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "extern int rl_completion_suppress_append;" >/dev/null 2>&1; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_RL_COMPLETION_SUPPRESS_APPEND 1
+_ACEOF
+
+fi
+rm -f conftest*
+
fi
# check for readline 4.0