/* System description file for SCO 3.2v5.
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, 2006,
+ 2007, 2008 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
+the Free Software Foundation; either version 3, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA. */
/* Contributed by Mark Diekhans <markd@grizzly.com>. */
/* 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
/* SCO Unix has Posix signals, but in 3.2.5 something broken that causes
* all keyboard-quit signals to be lost after the first one. */
#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))
#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)
#endif
-/* Use ELF and get real shared libraries */
+/* Use ELF and get real shared libraries */
#undef COFF
#define ELF
#define LD_SWITCH_SYSTEM -belf
#endif
-/* SCO has a working alloca in libPW */
-#define HAVE_ALLOCA
-
/* Don't disable static function, as SCO's header files have some.*/
#undef static
#define LIB_STANDARD -lc /usr/ccs/lib/crtn.o
#define NARROWPROTO 1
+
+/* arch-tag: 930541b5-52d9-4cbe-b73c-f4c72091f5df
+ (do not change this comment) */