From: Richard M. Stallman Date: Sun, 16 Oct 1994 01:33:27 +0000 (+0000) Subject: (LIBS_SYSTEM): Add -lcposix. X-Git-Tag: emacs-19.34~6306 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=35a474bb857b4858750c8d62023a891f774d2b90;p=emacs.git (LIBS_SYSTEM): Add -lcposix. (sigblock, SIG_BLOCK): Define if not defined. --- diff --git a/src/s/isc4-0.h b/src/s/isc4-0.h index 77c52d1fc98..a52e0d821ef 100644 --- a/src/s/isc4-0.h +++ b/src/s/isc4-0.h @@ -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 + says this is needed. */ + +#ifndef sigblock +#ifndef SIG_BLOCK +#define SIG_BLOCK 0 +#endif +#define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL)) +#endif