all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs-24 broken logic for terminfo on netbsd
@ 2012-05-01  1:31 Glenn Morris
  0 siblings, 0 replies; only message in thread
From: Glenn Morris @ 2012-05-01  1:31 UTC (permalink / raw)
  To: emacs-devel


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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-01  1:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-01  1:31 emacs-24 broken logic for terminfo on netbsd Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.