-rwxr-xr-x | gcl/configure | 10 |
diff --git a/gcl/configure b/gcl/configure index 30acdc958..51d544a71 100755 --- a/gcl/configure +++ b/gcl/configure @@ -1795,14 +1795,14 @@ LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - echo $ac_n "checking for main in -ltermcap""... $ac_c" 1>&6 -echo "configure:1800: checking for main in -ltermcap" >&5 -ac_lib_var=`echo termcap'_'main | sed 'y%./+-%__p_%'` + echo $ac_n "checking for main in -lncurses""... $ac_c" 1>&6 +echo "configure:1800: checking for main in -lncurses" >&5 +ac_lib_var=`echo ncurses'_'main | 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="-ltermcap $LIBS" +LIBS="-lncurses $LIBS" cat > conftest.$ac_ext <<EOF #line 1808 "configure" #include "confdefs.h" @@ -1830,7 +1830,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then #define HAVE_READLINE 1 EOF - LIBS="$LIBS -lreadline -ltermcap" + LIBS="$LIBS -lreadline -lncurses" RL_OBJS=readline.o RL_LIB=lsp/readline.o else |