Mercurial > emacs
diff src/s/netbsd.h @ 108665:45004fc2d3e8
Backport from trunk: close bug#6190.
* src/s/netbsd.h: If terminfo is found, use it in preference to termcap.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 20 May 2010 21:06:34 -0700 |
parents | 1d1d5d9bd884 |
children | 376148b31b5e |
line wrap: on
line diff
--- a/src/s/netbsd.h Thu May 20 10:50:32 2010 -0400 +++ b/src/s/netbsd.h Thu May 20 21:06:34 2010 -0700 @@ -45,7 +45,12 @@ #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