Mercurial > hg > octave-terminal
changeset 2252:65463608112d
[project @ 1996-05-22 18:40:45 by jwe]
author | jwe |
---|---|
date | Wed, 22 May 1996 18:40:45 +0000 |
parents | b1ae27b474b3 |
children | 5e862d11b116 |
files | readline/configure.in |
diffstat | 1 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/readline/configure.in +++ b/readline/configure.in @@ -61,7 +61,17 @@ AC_PROG_INSTALL AC_PROG_RANLIB -AC_CHECK_LIB(termcap, tputs) +TERMLIBS="" +for termlib in termcap terminfo curses termlib; do + AC_CHECK_LIB(${termlib}, tputs, [TERMLIBS="${TERMLIBS} -l${termlib}"]) + case "${TERMLIBS}" in + *-l${termlib}*) + AC_MSG_RESULT([defining TERMLIBS to be $TERMLIBS]) + break + ;; + esac +done +AC_SUBST(TERMLIBS) AC_HEADER_DIRENT AC_HEADER_STDC