]> git.eshelyaron.com Git - emacs.git/commitdiff
(LIBS_SYSTEM): Add -lcposix.
authorRichard M. Stallman <rms@gnu.org>
Sun, 16 Oct 1994 01:33:27 +0000 (01:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 16 Oct 1994 01:33:27 +0000 (01:33 +0000)
(sigblock, SIG_BLOCK): Define if not defined.

src/s/isc4-0.h

index 77c52d1fc98c29ac66bec956a7b88bd1ffeb2193..a52e0d821ef61c305a536b700de0f11ece6bd969 100644 (file)
@@ -1,6 +1,11 @@
 #include "isc3-0.h"
 
-#define LIBS_SYSTEM -linet
+#undef LIBS_SYSTEM
+#ifdef HAVE_X_WINDOWS
+#define LIBS_SYSTEM -linet -lcposix
+#else
+#define LIBS_SYSTEM -lcposix
+#endif
 
 #define ISC4_0
 
 #undef LIBX11_SYSTEM
 #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc
 #endif
+
+/* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de>
+   says this is needed.  */
+
+#ifndef sigblock
+#ifndef SIG_BLOCK
+#define SIG_BLOCK 0
+#endif
+#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL))
+#endif