Allow NetBSD's libedit to be used instead of GNU Readline. (This simply

amounts to checking for -ledit instead of -lreadline.)
This commit is contained in:
Peter Eisentraut 2001-01-04 17:58:48 +00:00
parent 257e17bc60
commit 46e5daf586
2 changed files with 327 additions and 309 deletions

634
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -656,7 +656,7 @@ fi
AC_CHECK_LIB(sfio, main)
AC_CHECK_LIB(ncurses, main, [], [AC_CHECK_LIB(curses, main)])
AC_CHECK_LIB(termcap, main)
AC_CHECK_LIB(readline, readline)
AC_SEARCH_LIBS(readline, [readline edit], [AC_DEFINE(HAVE_LIBREADLINE)])
AC_SEARCH_LIBS(using_history, history, [AC_DEFINE(HAVE_HISTORY_FUNCTIONS)])
if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha"