$NetBSD: patch-ag,v 1.4 2001/05/28 21:02:28 jlam Exp $ --- configure.in.orig Fri Jan 19 18:26:13 2001 +++ configure.in Mon May 28 16:27:43 2001 @@ -185,7 +185,10 @@ case "${enable_vtysh}" in "yes") VTYSH="vtysh"; AC_DEFINE(VTYSH) - AC_CHECK_LIB(tinfo, tputs, , AC_CHECK_LIB(ncurses, tputs)) + AC_CHECK_LIB(termcap, tputs, , + AC_CHECK_LIB(tinfo, tputs, , + AC_CHECK_LIB(curses, tputs, , + AC_CHECK_LIB(ncurses, tputs)))) AC_CHECK_LIB(readline, main) if test $ac_cv_lib_readline_main = no; then AC_MSG_ERROR([vtysh needs libreadline but was not found on your system.])