## option to use it.
darwin) LIBS_TERMCAP="-lncurses" ;;
- gnu*) "x$LIBS_TERMCAP" = x && LIBS_TERMCAP="-lncurses" ;;
+ gnu*) test -z "$LIBS_TERMCAP" && LIBS_TERMCAP="-lncurses" ;;
freebsd)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FreeBSD is new enough to use terminfo" >&5
;;
netbsd)
- if "x$LIBS_TERMCAP" != "x-lterminfo" ; then
+ if test "x$LIBS_TERMCAP" != "x-lterminfo"; then
TERMINFO=no
LIBS_TERMCAP="-ltermcap"
fi