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

amounts to checking for -ledit instead of -lreadline.)
REL7_1_STABLE
Peter Eisentraut 25 years ago
parent 257e17bc60
commit 46e5daf586
  1. 634
      configure
  2. 2
      configure.in

634
configure vendored

File diff suppressed because it is too large Load Diff

@ -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"

Loading…
Cancel
Save