changeset 4913:eb26686b99cf

[TERM]: Alternate definitions of LIBS_MACHINE and C_SWITCH_MACHINE.
author Richard M. Stallman <rms@gnu.org>
date Thu, 04 Nov 1993 22:12:59 +0000
parents 78b10b34042e
children 56bc426b1eb4
files src/s/gnu-linux.h
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/gnu-linux.h	Thu Nov 04 12:02:01 1993 +0000
+++ b/src/s/gnu-linux.h	Thu Nov 04 22:12:59 1993 +0000
@@ -207,9 +207,6 @@
 #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 <faith@cs.unc.edu> says it doesn't work well.  */
 /* #define SIGNALS_VIA_CHARACTERS */
@@ -217,7 +214,15 @@
 /* Rob Malouf <malouf@csli.stanford.edu> 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