emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-24 broken logic for terminfo on netbsd


From: Glenn Morris
Subject: emacs-24 broken logic for terminfo on netbsd
Date: Mon, 30 Apr 2012 21:31:47 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

It seems to me that emacs-24's configure.in has broken logic for using
terminfo on netbsd, and so will have been using termcap instead.

configure.in refers to $ac_cv_search_tputs, which is no longer set
anywhere in configure since the removal of

  AC_SEARCH_LIBS(tputs, [ncurses terminfo termcap])

(see eg emacs-23 branch)

It seems to me that the following patch in emacs-24 would restore the
emacs-23 logic.

Has anyone been building the pretests on netbsd and can confirm?


*** configure.in        2012-04-27 16:33:57 +0000
--- configure.in        2012-05-01 01:24:13 +0000
***************
*** 2878,2886 ****
      ;;
  
    netbsd)
!     if test $ac_cv_search_tputs = -lterminfo; then
        TERMINFO=yes
-       LIBS_TERMCAP="-lterminfo"
      else
        LIBS_TERMCAP="-ltermcap"
      fi
--- 2878,2885 ----
      ;;
  
    netbsd)
!     if [ "x$LIBS_TERMCAP" = "x-lterminfo" ]; then
        TERMINFO=yes
      else
        LIBS_TERMCAP="-ltermcap"
      fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]