From: Gerd Moellmann Date: Thu, 13 Apr 2000 19:10:25 +0000 (+0000) Subject: (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as X-Git-Tag: emacs-pretest-21.0.90~4266 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cbf5ca04c1122b944769650760d8a77c4e03fd8b;p=emacs.git (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as terminfo.o. --- diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 15bbe2b6426..72337a02216 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h @@ -173,3 +173,11 @@ jmp_buf. */ #define GC_SETJMP_WORKS 1 + +/* In FreeBSD 4, we must use terminfo.o instead of tparam.o. Termcap + capabilities use %-specifiers that tparm.o cannot handle. + Libtermcap.a contains a `tparm' that terminfo.c can use. */ + +#if __FreeBSD__ >= 4 +#define TERMCAP_OBJ terminfo.o +#endif