author | Camm Maguire <camm@debian.org> | 2002年02月03日 18:07:33 +0000 |
---|---|---|
committer | Camm Maguire <camm@debian.org> | 2002年02月03日 18:07:33 +0000 |
commit | 64e637fe78e11a24f80e8e33409ac1376b19daae (patch) | |
tree | f5944e949a77811caaa13aebd74304a8dc8dc4a2 | |
parent | 9d3620bc4c9f8423744834a69adfd1cfc6c11895 (diff) | |
download | gcl-unlabeled-1.11.2.tar.gz |
-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 |