* configure.in (LIBS_TERMCAP): Remove unreachable branch for sol2.

This commit is contained in:
Glenn Morris 2012-04-30 20:50:55 -04:00
parent 262f06da76
commit e3da5b1949
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,7 @@
2012-05-01 Glenn Morris <rgm@gnu.org>
* configure.in (LIBS_TERMCAP): Remove unreachable branch for sol2.
* configure.in: Invert the TERMINFO logic,
since "yes" is far more common than "no".

View file

@ -2938,12 +2938,11 @@ case "$opsys" in
## hpux: Make sure we get select from libc rather than from libcurses
## because libcurses on HPUX 10.10 has a broken version of select.
## We used to use -lc -lcurses, but this may be cleaner.
## FIXME? But TERMINFO = yes on hpux (it used to be explicitly
# set that way, now it uses the default). Isn't this a contradiction?
hpux*) LIBS_TERMCAP="-ltermcap" ;;
openbsd) LIBS_TERMCAP="-lncurses" ;;
## Must use system termcap, if we use any termcap. It does special things.
sol2*) test "$TERMINFO" != yes && LIBS_TERMCAP="-ltermcap" ;;
esac
TERMCAP_OBJ=tparam.o