--- configure.orig Fri Jul 18 16:48:13 1997 +++ configure Fri Mar 23 21:59:54 2012 @@ -1994,7 +1994,7 @@ fi fi -for ac_func in gethostname getgroups opendir memcpy strtol dirfd tcgetattr tcsetpgrp killpg +for ac_func in gethostname getgroups opendir memcpy strtol dirfd tcgetattr tcsetpgrp killpg execvpe do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:2001: checking for $ac_func" >&5 @@ -2092,14 +2092,14 @@ else 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_%'` +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="-lncurses $LIBS" +LIBS="-lcurses $LIBS" cat > conftest.$ac_ext <&6 - ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \ + ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/[^a-zA-Z0-9_]/_/g' \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` cat >> confdefs.h <&6