$NetBSD: patch-ak,v 1.1 2003/07/09 13:11:02 grant Exp $ --- configure.orig Wed Jun 11 06:51:21 2003 +++ configure @@ -6214,7 +6214,7 @@ build_os=`echo $ac_cv_build | sed 's/^\( # rather ncurses. So we check for it. TERMLIBS= # Check for termlib before termcap because Solaris termcap needs libucb. -TERMLIB_VARIANTS="ncurses curses termlib termcap terminfo" +TERMLIB_VARIANTS="curses termlib termcap terminfo ncurses" for termlib in ${TERMLIB_VARIANTS}; do as_ac_Lib=`echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh` echo "$as_me:$LINENO: checking for tgetent in -l${termlib}" >&5