diff options
author | simonmar <unknown> | 2000-02-25 14:00:32 +0000 |
---|---|---|
committer | simonmar <unknown> | 2000-02-25 14:00:32 +0000 |
commit | 72512afb8186c5e383bd2341ad67709958f70eac (patch) | |
tree | a9f2b3e4913790eb1b82f237b286bacb61187d65 /configure.in | |
parent | 564f5f6203ea431c7b50d3dad348e2a846589485 (diff) | |
download | haskell-72512afb8186c5e383bd2341ad67709958f70eac.tar.gz |
[project @ 2000-02-25 14:00:32 by simonmar]
add -ltermcap when looking for -lreadline.
From: Michael Weber.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in index e886007297..46dc3d16e9 100644 --- a/configure.in +++ b/configure.in @@ -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) |