summaryrefslogtreecommitdiff
path: root/autogen
diff options
context:
space:
mode:
Diffstat (limited to 'autogen')
-rwxr-xr-xautogen/configure3
1 files changed, 1 insertions, 2 deletions
diff --git a/autogen/configure b/autogen/configure
index c6b78090d21..7c954129fca 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -14415,9 +14415,8 @@ $as_echo "$emacs_cv_freebsd_terminfo" >&6; }
;;
netbsd)
- if test $ac_cv_search_tputs = -lterminfo; then
+ if "x$LIBS_TERMCAP" = "x-lterminfo" ; then
TERMINFO=yes
- LIBS_TERMCAP="-lterminfo"
else
LIBS_TERMCAP="-ltermcap"
fi