diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/config.in | 3 | ||||
| -rw-r--r-- | src/s/netbsd.h | 3 |
3 files changed, 11 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2b22a2e07ff..dbb7be762a8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-01-12 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * config.in (TERMINFO): New definition. | ||
| 4 | |||
| 5 | * s/netbsd.h: Use it to choose between terminfo and termcap | ||
| 6 | (Bug#7642). | ||
| 7 | |||
| 1 | 2011-01-03 Jan Djärv <jan.h.d@swipnet.se> | 8 | 2011-01-03 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 9 | ||
| 3 | * coding.h (ENCODE_UTF_8): Remove "Used by ..." comment. | 10 | * coding.h (ENCODE_UTF_8): Remove "Used by ..." comment. |
diff --git a/src/config.in b/src/config.in index ed103479441..0ccb13d7400 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -895,6 +895,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 895 | /* Process async input synchronously. */ | 895 | /* Process async input synchronously. */ |
| 896 | #undef SYNC_INPUT | 896 | #undef SYNC_INPUT |
| 897 | 897 | ||
| 898 | /* Define to 1 if you use terminfo instead of termcap. */ | ||
| 899 | #undef TERMINFO | ||
| 900 | |||
| 898 | /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ | 901 | /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ |
| 899 | #undef TIME_WITH_SYS_TIME | 902 | #undef TIME_WITH_SYS_TIME |
| 900 | 903 | ||
diff --git a/src/s/netbsd.h b/src/s/netbsd.h index 27605c2808f..4a9e31167e2 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h | |||
| @@ -45,8 +45,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 45 | #define LIBS_DEBUG | 45 | #define LIBS_DEBUG |
| 46 | /* -lutil is not needed for NetBSD >0.9. */ | 46 | /* -lutil is not needed for NetBSD >0.9. */ |
| 47 | /* #define LIBS_SYSTEM -lutil */ | 47 | /* #define LIBS_SYSTEM -lutil */ |
| 48 | #ifdef HAVE_TERM_H | 48 | #ifdef TERMINFO |
| 49 | #define TERMINFO | ||
| 50 | #define LIBS_TERMCAP -lterminfo | 49 | #define LIBS_TERMCAP -lterminfo |
| 51 | #else | 50 | #else |
| 52 | #define LIBS_TERMCAP -ltermcap | 51 | #define LIBS_TERMCAP -ltermcap |