--- configure.orig	Tue May 11 12:34:58 1999
+++ configure	Fri Jun 18 23:36:10 1999
@@ -5003,7 +5003,7 @@
 char tgetent();
 
 int main() {
-tgetent()
+XXXtgetent()
 ; return 0; }
 EOF
 if { (eval echo configure:5010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
@@ -5033,7 +5033,7 @@
   echo "$ac_t""no" 1>&6
 fi
 
-for ac_hdr in termcap.h term.h curses.h termios.h termio.h
+for ac_hdr in termcap.h termios.h termio.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
