1 /* System description file for SCO 3.2v4.
2 Copyright (C) 1993, 1994, 2001, 2002, 2003, 2004,
3 2005, 2006, 2007 Free Software Foundation, Inc.
5 This file is part of GNU Emacs.
7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
22 /* Contributed by Ian Lance Taylor, ian@cygnus.com. */
24 /* SCO is sort of like SVR3. */
28 #if 0 /* Turned off rather than make the Lisp code check for this. -- rms.
29 I am assuming that (at least most of) the tests for usg-unix-v
30 do the right thing for sco3.2v4 also. Things that *might* be wrong
31 as a result of turning off these lines include the values of
32 ange-ftp-remote-shell-file-name (now remsh)
33 dired-chown-program (now just chown)
35 nntp-buggy-select (now t)
36 rmail-spool-directory (now /usr/mail?)
37 and the actions of the function print-region-1. */
39 /* SYSTEM_TYPE should indicate the kind of system you are using. */
41 #define SYSTEM_TYPE "SCO 3.2v4"
44 /* SCO supports job control. */
47 /* SCO has termios. */
50 /* SCO has ptys with unusual names. */
53 #define PTY_ITERATION \
55 #define PTY_NAME_SPRINTF \
56 sprintf (pty_name, "/dev/ptyp%d", i);
57 #define PTY_TTY_NAME_SPRINTF \
58 sprintf (pty_name, "/dev/ttyp%d", i);
60 /* Sockets are an option on SCO. If you have X, you have them.
61 They also exist if you have TCP, but we don't know how to test
67 /* Must use 'cc' to link when build with motif toolkit. */
72 /* This is safe since we already assumed HAVE_SOCKET
73 if using X windows. */
75 #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lc_s -lsocket
77 /* Motif needs -lintl on some (maybe all) ofthese systems. */
79 #define LIB_MOTIF -lXm -lintl
82 #ifdef HAVE_INET_SOCKETS /* This comes from autoconf. */
87 #define LIBS_SYSTEM -lsocket -lPW
89 /* SCO has gettimeofday in socket library */
90 /* Autoconf should determine this, but for now,
91 play safe to avoid error rather than deleting this
92 and risking the wrong result. */
93 #ifndef HAVE_GETTIMEOFDAY
94 #define HAVE_GETTIMEOFDAY
98 /* This enables configure to tell that we have alloca. */
100 #define LIBS_SYSTEM -lPW
104 /* configure can't get this right linking fails unless -lsocket is used. */
105 #undef HAVE_XSCREENNUMBEROFSCREEN
106 #define HAVE_XSCREENNUMBEROFSCREEN
109 /* We don't have -loldX, and we don't need it. */
110 #define LIB_XMENU_LIB
112 /* SCO does have TIOCGWINSZ. */
113 #undef BROKEN_TIOCGWINSZ
116 /* We need to link with crt1.o and crtn.o. */
117 #define START_FILES pre-crt0.o /lib/crt1.o
118 #define LIB_STANDARD -lc /lib/crtn.o
120 /* Send signals to subprocesses by "typing" signal chars at them. */
121 #define SIGNALS_VIA_CHARACTERS
123 /* Specify program for etc/fakemail to run. Define SMAIL if you are
124 using smail, don't for MMDF. */
127 #define MAIL_PROGRAM_NAME "/bin/smail -q0"
129 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail"
132 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */
135 /* wjs@wang.com (William Smith) says this is needed on 3.2.4.2. */
136 #define POSIX_SIGNALS
138 /* wjs@wiis.wang.com says SCO 3.2 v4.2 "has sockets",
139 but only for network connections.
140 It doesn't have the kind of sockets that emacsclient.c
141 and emacsserver.c would use. */
142 #define NO_SOCKETS_IN_FILE_SYSTEM
144 #define NARROWPROTO 1
146 /* arch-tag: 4dd6fe94-bcb7-4be0-942a-ff4bc3cd914e
147 (do not change this comment) */