1 /* System description file for SCO 3.2v4.
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc.
4 This file is part of SXEmacs
6 SXEmacs is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 SXEmacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 /* Synched up with: FSF 19.31. */
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 has ptys with unusual names. */
47 #define PTY_ITERATION \
49 #define PTY_NAME_SPRINTF \
51 int sz = snprintf (pty_name, sizeof(pty_name), \
53 assert(sz>=0 && sz<sizeof(pty_name)); \
56 #define PTY_TTY_NAME_SPRINTF \
58 int sz = snprintf (pty_name, sizeof(pty_name), \
60 assert(sz>=0 && sz<sizeof(pty_name)); \
63 /* Must use 'cc' to link when build with motif toolkit. */
69 #define LIBS_SYSTEM "-lsocket -lPW"
71 /* SCO has gettimeofday in socket library */
72 /* Autoconf should determine this, but for now,
73 play safe to avoid error rather than deleting this
74 and risking the wrong result. */
75 #ifndef HAVE_GETTIMEOFDAY
76 #define HAVE_GETTIMEOFDAY
80 /* This enables configure to tell that we have alloca. */
82 #define LIBS_SYSTEM "-lPW"
86 /* configure can't get this right linking fails unless -lsocket is used. */
87 #undef HAVE_XSCREENNUMBEROFSCREEN
88 #define HAVE_XSCREENNUMBEROFSCREEN
91 /* We don't have -loldX, and we don't need it. */
94 /* SCO does have TIOCGWINSZ. */
95 #undef BROKEN_TIOCGWINSZ
98 /* We need to link with crt1.o and crtn.o. */
99 #define START_FILES "pre-crt0.o /lib/crt1.o"
100 #define LIB_STANDARD "-lc /lib/crtn.o"
102 /* Specify program for etc/fakemail to run. Define SMAIL if you are
103 using smail, don't for MMDF. */
106 #define MAIL_PROGRAM_NAME "/bin/smail -q0"
108 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail"
111 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */
114 /* wjs@wiis.wang.com says SCO 3.2 v4.2 "has sockets",
115 but only for network connections.
116 It doesn't have the kind of sockets that emacsclient.c
117 and emacsserver.c would use. */
118 #define NO_SOCKETS_IN_FILE_SYSTEM