$NetBSD: patch-ag,v 1.3 2001/01/11 05:34:16 itojun Exp $

--- configure.in.orig	Wed Jan 10 20:01:41 2001
+++ configure.in	Thu Jan 11 13:57:58 2001
@@ -193,7 +193,7 @@
 case "${enable_vtysh}" in
   "yes") VTYSH="vtysh";
          AC_DEFINE(VTYSH)
-	 AC_CHECK_LIB(tinfo, tputs, , AC_CHECK_LIB(ncurses, tputs))
+	 AC_CHECK_LIB(tinfo, tputs, , AC_CHECK_LIB(curses, 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.])
