mirror of
https://github.com/postgres/postgres.git
synced 2026-06-10 17:20:31 -04: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
2 changed files with 327 additions and 309 deletions
|
|
@ -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 a new issue