$NetBSD: patch-aa,v 1.4 2001/12/21 03:55:50 fredb Exp $ --- configure.orig Tue Jul 17 16:04:37 2001 +++ configure @@ -5763,7 +5763,7 @@ fi ;; esac -LIBS="$LIBS -lsocks" +LIBS="$LIBS -lsocks4" cat >> confdefs.h <<\EOF #define SOCKS 1 EOF @@ -6879,15 +6879,33 @@ echo "$ac_t""$cf_cv_screen" 1>&6 case $cf_cv_screen in -ncurses|slang) +ncurses) + cf_cv_ncurses_header=ncurses.h + ;; +slang) + case $host_os in + netbsd) + ;; + *) + cf_cv_ncurses_header=ncurses.h + ;; + esac ;; pdcurses) cf_cv_ncurses_header=xcurses.h ;; curses) - if eval "test \"`echo '$''{'cf_cv_ncurses_header'+set}'`\" != set"; then - cf_cv_ncurses_header=curses.h - fi + case $host_os in + netbsd) + ac_cv_header_term_h=no + cf_cv_ncurses_version=no + ;; + *) + if eval "test \"`echo '$''{'cf_cv_ncurses_header'+set}'`\" != set"; then + cf_cv_ncurses_header=curses.h + fi + ;; + esac ;; esac