summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-07 21:07:20 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-07 21:07:20 (GMT)
commitfe8e3d918ef5893c67a6dc47512667f42ca720d2 (patch)
tree39b34b495c32d071e63e812019424dafde0f5bf6 /pyconfig.h.in
parent39cdfff69161c3f1299172e8cbb4dc1a871e3931 (diff)
downloadcpython-fe8e3d918ef5893c67a6dc47512667f42ca720d2.zip
cpython-fe8e3d918ef5893c67a6dc47512667f42ca720d2.tar.gz
cpython-fe8e3d918ef5893c67a6dc47512667f42ca720d2.tar.bz2
If there is no libtermcap all the readline tests failed.
This inappropriately disabled some capabilities which exist. Now test for readline in -lreadline, if not found there, try it in -ltermcap only if not in -lreadline. If both libraries are required, there will need to be more work, but I'm not sure under what conditions both libraries would be required.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 47723de..7b24f37 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -275,9 +275,15 @@
/* Define to 1 if you have the <libintl.h> header file. */
#undef HAVE_LIBINTL_H
+/* Define to 1 if you have the `readline' library (-lreadline). */
+#undef HAVE_LIBREADLINE
+
/* Define to 1 if you have the `resolv' library (-lresolv). */
#undef HAVE_LIBRESOLV
+/* Define to 1 if you have the `termcap' library (-ltermcap). */
+#undef HAVE_LIBTERMCAP
+
/* Define to 1 if you have the <libutil.h> header file. */
#undef HAVE_LIBUTIL_H