Backport from trunk: close bug#6190.

* src/s/netbsd.h: If terminfo is found, use it in preference to termcap.
This commit is contained in:
enami tsugutomo 2010-05-20 21:06:34 -07:00 committed by Glenn Morris
parent aeb77d4660
commit f5b416d2ef
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-05-20 enami tsugutomo <tsugutomo.enami@jp.sony.com>
* s/netbsd.h: If terminfo is found, use it in preference to
termcap. (Bug#6190) [Backport from trunk]
2010-05-20 Kevin Ryde <user42@zip.com.au>
* keyboard.c (Vlast_command, Vkeyboard_translate_table)

View file

@ -45,7 +45,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#define LIBS_DEBUG
/* -lutil is not needed for NetBSD >0.9. */
/* #define LIBS_SYSTEM -lutil */
#ifdef HAVE_TERM_H
#define TERMINFO
#define LIBS_TERMCAP -lterminfo
#else
#define LIBS_TERMCAP -ltermcap
#endif
#define NEED_ERRNO
#define SYSV_SYSTEM_DIR