aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-05-06 18:43:12 +0000
committerJim Blandy1993-05-06 18:43:12 +0000
commit1c71e0ff9566a51703f9e48dc774b541af53f2af (patch)
tree3f49de32047c6d5313918be610fdf8432dc48883 /src
parentea6ecc214cfad3bf9f2372503a24c745065e3a1e (diff)
downloademacs-1c71e0ff9566a51703f9e48dc774b541af53f2af.tar.gz
emacs-1c71e0ff9566a51703f9e48dc774b541af53f2af.zip
Initial revision
Diffstat (limited to 'src')
-rw-r--r--src/s/sco4.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/src/s/sco4.h b/src/s/sco4.h
new file mode 100644
index 00000000000..38c80cea2e8
--- /dev/null
+++ b/src/s/sco4.h
@@ -0,0 +1,74 @@
1/* System description file for SCO 3.2v4.
2 Copyright (C) 1993 Free Software Foundation, Inc.
3
4This file is part of GNU Emacs.
5
6GNU Emacs is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11GNU Emacs is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20/* Contributed by Ian Lance Taylor, ian@cygnus.com. */
21
22/* SCO is sort of like SVR3. */
23#include "usg5-3.h"
24
25/* Only needed for systime.h and getdate.y; remove when that is fixed. */
26#define SCO
27
28/* SYSTEM_TYPE should indicate the kind of system you are using. */
29#undef SYSTEM_TYPE
30#define SYSTEM_TYPE "SCO 3.2v4"
31
32/* SCO supports job control. */
33#undef NOMULTIPLEJOBS
34
35/* SCO has termios. */
36#define HAVE_TERMIOS
37
38/* SCO has timeval. */
39#define HAVE_TIMEVAL
40
41/* SCO has ptys with unusual names. */
42#define HAVE_PTYS
43
44#define PTY_NAME_SPRINTF \
45 sprintf (pty_name, "/dev/ptyp%d", ((c - FIRST_PTY_LETTER) * 16) + i);
46#define PTY_TTY_NAME_SPRINTF \
47 sprintf (pty_name, "/dev/ttyp%d", ((c - FIRST_PTY_LETTER) * 16) + i);
48
49/* SCO has bcopy, et. al. */
50#define BSTRING
51
52/* Sockets are an option on SCO. If we have X, we have them. */
53#ifdef HAVE_X_WINDOWS
54#define HAVE_SOCKETS
55#endif
56
57#ifdef HAVE_SOCKETS
58#define LIBS_SYSTEM -lsocket
59#endif
60
61/* We don't have -loldX, and we don't need it. */
62#define LIB_XMENU_LIB
63
64/* SCO does have TIOCGWINSZ. */
65#undef BROKEN_TIOCGWINSZ
66#define NEED_PTEM_H
67
68/* SCO has rename, but some people say it is broken. Try this for
69 now. */
70#define HAVE_RENAME
71
72/* We need to link with crt1.o and crtn.o. */
73#define START_FILES pre-crt0.o /lib/crt1.o
74#define LIB_STANDARD -lc /lib/crtn.o