Commit 72512afb authored by simonmar's avatar simonmar
Browse files

[project @ 2000-02-25 14:00:32 by simonmar]

add -ltermcap when looking for -lreadline.

From: Michael Weber.
parent 564f5f62
......@@ -668,6 +668,10 @@ AC_CHECK_LIB(iberty, xmalloc)
AC_CHECK_LIB(bfd, bfd_init)
dnl ** check for readline, for Hugs
dnl termcap is obsoleted by ncurses, but for compatibility, we have to
dnl check for both...
AC_SEARCH_LIBS(tputs, [ncurses termcap])
AC_CHECK_LIB(readline, readline,
[
AC_DEFINE(HAVE_LIBREADLINE,1)
......@@ -676,8 +680,7 @@ HaveLibReadline=YES
[
AC_DEFINE(HAVE_LIBREADLINE,0)
HaveLibReadline=NO
],
-ltermcap)
])
AC_SUBST(HaveLibReadline)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment