From: Richard M. Stallman Date: Sat, 29 Dec 2001 23:48:45 +0000 (+0000) Subject: (LIBX11_SYSTEM) [MOTIF]: Add -lgen. X-Git-Tag: ttn-vms-21-2-B4~17416 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1182d214b1ca65d1b4d7ec0cd7030b07859ffee3;p=emacs.git (LIBX11_SYSTEM) [MOTIF]: Add -lgen. (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. --- diff --git a/src/s/sco5.h b/src/s/sco5.h index 7d2336b8a94..5eea7955ee5 100644 --- a/src/s/sco5.h +++ b/src/s/sco5.h @@ -70,7 +70,12 @@ Boston, MA 02111-1307, USA. */ /* This is safe since we already assumed HAVE_SOCKET if using X windows. */ #undef LIBX11_SYSTEM -#define LIBX11_SYSTEM -lpt -lnls -lnsl -lc -lsocket +#define LIBX11_SYSTEM_COMMON -lpt -lnls -lnsl -lc -lsocket +#ifdef MOTIF +# define LIBX11_SYSTEM -lgen LIBX11_SYSTEM_COMMON +#else /* ndef MOTIF */ +# define LIBX11_SYSTEM LIBX11_SYSTEM_COMMON +#endif /* ndef MOTIF */ #undef LIB_X11_LIB #define LIB_X11_LIB -lX11 @@ -129,7 +134,11 @@ Boston, MA 02111-1307, USA. */ #undef POSIX_SIGNALS #define SIGMASKTYPE long + +#ifndef NOT_C_CODE extern SIGMASKTYPE sigprocmask_set; +#endif /* not NOT_C_CODE */ + #define sigblock(sig) \ (sigprocmask_set = SIGEMPTYMASK | (sig), \ sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL))