$NetBSD: patch-aa,v 1.2 2000/05/09 00:55:00 fredb Exp $ --- configure.orig Sat Apr 22 20:16:38 2000 +++ configure Mon May 8 19:27:11 2000 @@ -5666,7 +5666,7 @@ LIBS="$LIBS -L$cf_cv_use_libsocks" ;; esac -LIBS="$LIBS -lsocks" +LIBS="$LIBS -lsocks4" cat >> confdefs.h <<\EOF #define SOCKS 1 EOF @@ -6597,7 +6597,10 @@ echo "$ac_t""$cf_cv_screen" 1>&6 case $cf_cv_screen in -ncurses|slang) +ncurses) + cf_cv_ncurses_header=ncurses.h + ;; +slang) ;; pdcurses) cf_cv_ncurses_header=xcurses.h @@ -7171,6 +7174,12 @@ case $cf_cv_ncurses_header in # (vi */ncurses.h) + cat >> confdefs.h <<\EOF +#define HAVE_NCURSES_H 1 +EOF + + ;; +ncurses.h) cat >> confdefs.h <<\EOF #define HAVE_NCURSES_H 1 EOF