From cafdb68af965a07ca0de9ceabd475e9ea52251b6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 4 Nov 1993 22:12:59 +0000 Subject: [PATCH] [TERM]: Alternate definitions of LIBS_MACHINE and C_SWITCH_MACHINE. --- src/s/gnu-linux.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index f424820d3aa..439d7c75d13 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h @@ -207,9 +207,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define LD_SWITCH_SYSTEM -L/usr/X386/lib #endif -/* Work around a bug in glibc with _longjmp. */ -#define C_SWITCH_SYSTEM -D_BSD_SOURCE - /* Let's try this out, just in case. Nah. Rik Faith says it doesn't work well. */ /* #define SIGNALS_VIA_CHARACTERS */ @@ -217,7 +214,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Rob Malouf says: SYSV IPC is standard a standard part of Linux since version 0.99pl10, and is a very common addition to previous versions. */ + +#ifdef TERM +#define LIBS_MACHINE -lclient +#define C_SWITCH_SYSTEM -D_BSD_SOURCE -I/usr/src/term +#else /* alane@wozzle.linet.org says that -lipc is not a separate library, since libc-4.4.1. So -lipc was deleted. */ #define LIBS_MACHINE +#define C_SWITCH_SYSTEM -D_BSD_SOURCE +#endif + #define HAVE_SYSVIPC -- 2.39.5