diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-10 20:49:30 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-10 20:49:30 +0000 |
commit | 3f9ab776c10aea196bf9adb7f943c9cc2838b58c (patch) | |
tree | cf8187b9448c19ce744ae44b1d1bb7e2018b4035 /configure.in | |
parent | c13b45ebf42d915313edec928f575b7dc7ac6425 (diff) | |
download | cpython-3f9ab776c10aea196bf9adb7f943c9cc2838b58c.tar.gz |
Avoid linking python with readline.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 1950072bce..3892528f99 100644 --- a/configure.in +++ b/configure.in @@ -2898,6 +2898,8 @@ then fi # check where readline lives +# save the value of LIBS so we don't actually link Python with readline +LIBS_no_readline=$LIBS AC_CHECK_LIB(readline, readline) if test "$ac_cv_have_readline_readline" = no then @@ -2941,6 +2943,9 @@ then [Define if you can turn off readline's signal handling.]), ) fi +# End of readline checks: restore LIBS +LIBS=$LIBS_no_readline + AC_MSG_CHECKING(for broken nice()) AC_CACHE_VAL(ac_cv_broken_nice, [ AC_TRY_RUN([ |