aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-04-27 19:09:58 +0000
committerGerd Moellmann2000-04-27 19:09:58 +0000
commit7e0ba6da56f6a557f135e0ca65835b473db8a0e1 (patch)
treee468d4bfbdbb43ace29d4537dd5d4f7e7861ac1f /src
parentc2f646d6bbb0ba3578ed880cd718ee20b6832ca7 (diff)
downloademacs-7e0ba6da56f6a557f135e0ca65835b473db8a0e1.tar.gz
emacs-7e0ba6da56f6a557f135e0ca65835b473db8a0e1.zip
(TERMCAP_OBJ): Removed.
(LIBS_TERMCAP): Don't define for __FreeBSD_version >= 400000.
Diffstat (limited to 'src')
-rw-r--r--src/s/freebsd.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 07c736dd371..26a41c66b9f 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -45,7 +45,9 @@
45 45
46#define LIBS_DEBUG 46#define LIBS_DEBUG
47#define LIBS_SYSTEM -lutil 47#define LIBS_SYSTEM -lutil
48#if __FreeBSD_version < 400000
48#define LIBS_TERMCAP -ltermcap 49#define LIBS_TERMCAP -ltermcap
50#endif
49 51
50#define SYSV_SYSTEM_DIR 52#define SYSV_SYSTEM_DIR
51 53
@@ -180,10 +182,3 @@
180 182
181#define GC_SETJMP_WORKS 1 183#define GC_SETJMP_WORKS 1
182 184
183/* In FreeBSD 4, we must use terminfo.o instead of tparam.o. Termcap
184 capabilities use %-specifiers that tparm.o cannot handle.
185 Libtermcap.a contains a `tparm' that terminfo.c can use. */
186
187#if __FreeBSD__ >= 4
188#define TERMCAP_OBJ terminfo.o
189#endif