mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
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:
parent
257e17bc60
commit
46e5daf586
@ -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…
Reference in New Issue
Block a user