$NetBSD: patch-ab,v 1.1.1.1 2002/11/29 20:17:25 jmmv Exp $

--- configure.orig	Sun Sep  8 15:42:06 2002
+++ configure	Sun Sep  8 15:42:32 2002
@@ -1925,13 +1925,13 @@
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
-echo "$as_me:1928: checking for move in -lcurses" >&5
-echo $ECHO_N "checking for move in -lcurses... $ECHO_C" >&6
-if test "${ac_cv_lib_curses_move+set}" = set; then
+echo "$as_me:1928: checking for move in -lncurses" >&5
+echo $ECHO_N "checking for move in -lncurses... $ECHO_C" >&6
+if test "${ac_cv_lib_ncurses_move+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcurses  $LIBS"
+LIBS="-lncurses  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line 1936 "configure"
 #include "confdefs.h"
@@ -1963,23 +1963,23 @@
   ac_status=$?
   echo "$as_me:1964: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
-  ac_cv_lib_curses_move=yes
+  ac_cv_lib_ncurses_move=yes
 else
   echo "$as_me: failed program was:" >&5
 cat conftest.$ac_ext >&5
-ac_cv_lib_curses_move=no
+ac_cv_lib_ncurses_move=no
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:1975: result: $ac_cv_lib_curses_move" >&5
-echo "${ECHO_T}$ac_cv_lib_curses_move" >&6
-if test $ac_cv_lib_curses_move = yes; then
+echo "$as_me:1975: result: $ac_cv_lib_ncurses_move" >&5
+echo "${ECHO_T}$ac_cv_lib_ncurses_move" >&6
+if test $ac_cv_lib_ncurses_move = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBCURSES 1
 EOF
 
-  LIBS="-lcurses $LIBS"
+  LIBS="-lncurses $LIBS"
 
 fi
 
