diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-07 21:07:20 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-07 21:07:20 +0000 |
commit | 8bf3186af36b23fc14f3c9981d776e2be9191fe6 (patch) | |
tree | e55915573b29d3b4cb35d5ebab6401ba48fcf84b /pyconfig.h.in | |
parent | 713bc423bfb596e2349a21b33afd0c5a7925f4ef (diff) | |
download | cpython-8bf3186af36b23fc14f3c9981d776e2be9191fe6.tar.gz |
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.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 47723debfd..7b24f37a8c 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 |