$NetBSD: patch-ao,v 1.1 2004/08/27 15:14:04 kim Exp $

--- configure.orig	2003-06-18 15:32:43.000000000 -0400
+++ configure	2004-08-27 11:12:00.000000000 -0400
@@ -2876,7 +2876,7 @@
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 if test "$ac_cv_search_tgetent" = no; then
-  for ac_lib in termlib curses termcap; do
+  for ac_lib in termlib curses ncurses termcap; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
