]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport Patch 659834 checked in by GvR on 2002/12/30 16:25:38
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 30 Mar 2003 19:26:50 +0000 (19:26 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 30 Mar 2003 19:26:50 +0000 (19:26 +0000)
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

index 26667a8273f9a608d37095ec9275e9056afc9d5e..9c4f1a1b40f51be3b73ff65907744a0825f57eb8 100644 (file)
 /* 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