all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: emacs-devel@gnu.org
Subject: emacs-24 broken logic for terminfo on netbsd
Date: Mon, 30 Apr 2012 21:31:47 -0400	[thread overview]
Message-ID: <pnr4v43cvw.fsf@fencepost.gnu.org> (raw)


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	other threads:[~2012-05-01  1:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pnr4v43cvw.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.