[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100379: Use terminfo rather than ter
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100379: Use terminfo rather than termcap on recent NetBSD. |
Date: |
Wed, 19 May 2010 23:37:29 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100379
author: enami tsugutomo <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2010-05-19 23:37:29 -0700
message:
Use terminfo rather than termcap on recent NetBSD.
* configure.in: On NetBSD, if terminfo is found, use it in preference
to termcap. (Bug#6190)
modified:
ChangeLog
configure.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2010-05-20 06:11:27 +0000
+++ b/ChangeLog 2010-05-20 06:37:29 +0000
@@ -1,3 +1,8 @@
+2010-05-20 enami tsugutomo <address@hidden>
+
+ * configure.in: On NetBSD, if terminfo is found, use it in
+ preference to termcap. (Bug#6190)
+
2010-05-20 Glenn Morris <address@hidden>
* make-dist (src): Include *.mk.
=== modified file 'configure.in'
--- a/configure.in 2010-05-20 06:11:27 +0000
+++ b/configure.in 2010-05-20 06:37:29 +0000
@@ -2643,7 +2643,7 @@
## Use terminfo instead of termcap?
## Note only system files NOT using terminfo are:
-## freebsd < 40000, ms-w32, msdos, netbsd, and
+## freebsd < 40000, ms-w32, msdos, netbsd < 599002500, and
## darwin|gnu without ncurses.
TERMINFO=no
LIBS_TERMCAP=
@@ -2685,13 +2685,22 @@
fi
;;
+ netbsd)
+ if test $ac_cv_search_tputs = -lterminfo; then
+ TERMINFO=yes
+ LIBS_TERMCAP="-lterminfo"
+ else
+ LIBS_TERMCAP="-ltermcap"
+ fi
+ ;;
+
esac
case "$opsys" in
## hpux: Make sure we get select from libc rather than from libcurses
## because libcurses on HPUX 10.10 has a broken version of select.
## We used to use -lc -lcurses, but this may be cleaner.
- hpux*|netbsd) LIBS_TERMCAP="-ltermcap" ;;
+ hpux*) LIBS_TERMCAP="-ltermcap" ;;
openbsd) LIBS_TERMCAP="-lncurses" ;;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100379: Use terminfo rather than termcap on recent NetBSD.,
Glenn Morris <=