changeset 9548:6c1db50b798d

(LIBS_SYSTEM): Add -lcposix. (sigblock, SIG_BLOCK): Define if not defined.
author Richard M. Stallman <rms@gnu.org>
date Sun, 16 Oct 1994 01:33:27 +0000
parents b0cf6d689f7a
children 1de7e5bc1ff1
files src/s/isc4-0.h
diffstat 1 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/isc4-0.h	Sat Oct 15 23:52:23 1994 +0000
+++ b/src/s/isc4-0.h	Sun Oct 16 01:33:27 1994 +0000
@@ -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
 
@@ -10,3 +15,13 @@
 #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