]> code.delx.au - gnu-emacs/blobdiff - configure.in
Merge from emacs-24; up to 2012-04-16T19:06:02Z!rgm@gnu.org
[gnu-emacs] / configure.in
index 2c2ccccc11a279dcb99ca2b993819eb219555956..c0a12672c62f58399e137114755d0bd5f5e1fa72 100644 (file)
@@ -2931,9 +2931,7 @@ fail;
     ;;
 
   netbsd)
-    if test $ac_cv_search_tputs = -lterminfo; then
-      LIBS_TERMCAP="-lterminfo"
-    else
+    if [ "x$LIBS_TERMCAP" != "x-lterminfo" ]; then
       TERMINFO=no
       LIBS_TERMCAP="-ltermcap"
     fi