$NetBSD: patch-ag,v 1.5 2003/12/29 21:59:01 heas Exp $ --- configure.ac.orig 2003-12-21 02:10:57.000000000 +0000 +++ configure.ac 2003-12-21 02:08:46.000000000 +0000 @@ -200,7 +200,10 @@ case "${enable_vtysh}" in "yes") VTYSH="vtysh"; AC_DEFINE(VTYSH,,VTY shell) - 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.])