*** configure.orig	Thu Oct  1 18:57:01 1998
--- configure	Thu Oct  1 18:57:23 1998
***************
*** 2092,2105 ****
    echo "$ac_t""no" 1>&6
  fi
  
! echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
! echo "configure:2097: checking for tgetent in -lncurses" >&5
! ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lncurses  $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 2105 "configure"
  #include "confdefs.h"
--- 2092,2105 ----
    echo "$ac_t""no" 1>&6
  fi
  
! echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
! echo "configure:2097: checking for tgetent in -lcurses" >&5
! ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lcurses  $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 2105 "configure"
  #include "confdefs.h"
***************
*** 2127,2139 ****
  fi
  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    echo "$ac_t""yes" 1>&6
!     ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
      -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    cat >> confdefs.h <<EOF
  #define $ac_tr_lib 1
  EOF
  
!   LIBS="-lncurses $LIBS"
  
  else
    echo "$ac_t""no" 1>&6
--- 2127,2139 ----
  fi
  if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    echo "$ac_t""yes" 1>&6
!     ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
      -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    cat >> confdefs.h <<EOF
  #define $ac_tr_lib 1
  EOF
  
!   LIBS="-lcurses $LIBS"
  
  else
    echo "$ac_t""no" 1>&6
