428
|
1 /* System description file for SCO 3.2v4.
|
|
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc.
|
|
3
|
613
|
4 This file is part of XEmacs.
|
428
|
5
|
613
|
6 XEmacs is free software; you can redistribute it and/or modify
|
428
|
7 it under the terms of the GNU General Public License as published by
|
|
8 the Free Software Foundation; either version 2, or (at your option)
|
|
9 any later version.
|
|
10
|
613
|
11 XEmacs is distributed in the hope that it will be useful,
|
428
|
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.
|
|
15
|
|
16 You should have received a copy of the GNU General Public License
|
|
17 along with XEmacs; see the file COPYING. If not, write to
|
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
19 Boston, MA 02111-1307, USA. */
|
|
20
|
|
21 /* Synched up with: FSF 19.31. */
|
|
22
|
|
23 /* Contributed by Ian Lance Taylor, ian@cygnus.com. */
|
|
24
|
|
25 /* SCO is sort of like SVR3. */
|
|
26 #include "usg5-3.h"
|
|
27 #define SC0_R4
|
|
28
|
|
29 #if 0 /* Turned off rather than make the Lisp code check for this. -- rms.
|
|
30 I am assuming that (at least most of) the tests for usg-unix-v
|
|
31 do the right thing for sco3.2v4 also. Things that *might* be wrong
|
|
32 as a result of turning off these lines include the values of
|
|
33 ange-ftp-remote-shell-file-name (now remsh)
|
|
34 dired-chown-program (now just chown)
|
|
35 lpr-command (now lp)
|
|
36 nntp-buggy-select (now t)
|
|
37 rmail-spool-directory (now /usr/mail?)
|
|
38 and the actions of the function print-region-1. */
|
|
39
|
|
40 /* SYSTEM_TYPE should indicate the kind of system you are using. */
|
|
41 #undef SYSTEM_TYPE
|
|
42 #define SYSTEM_TYPE "SCO 3.2v4"
|
|
43 #endif
|
|
44
|
|
45 /* SCO has ptys with unusual names. */
|
|
46
|
|
47 #define PTY_ITERATION \
|
|
48 for (i = 0; ; i++)
|
|
49 #define PTY_NAME_SPRINTF \
|
|
50 sprintf (pty_name, "/dev/ptyp%d", i);
|
|
51 #define PTY_TTY_NAME_SPRINTF \
|
|
52 sprintf (pty_name, "/dev/ttyp%d", i);
|
|
53
|
|
54 /* Must use 'cc' to link when build with motif toolkit. */
|
|
55 #ifndef __GNUC__
|
|
56 #define LINKER "cc"
|
|
57 #endif
|
|
58
|
|
59 #ifdef HAVE_SOCKETS
|
|
60 #define LIBS_SYSTEM "-lsocket -lPW"
|
|
61
|
|
62 /* SCO has gettimeofday in socket library */
|
|
63 /* Autoconf should determine this, but for now,
|
|
64 play safe to avoid error rather than deleting this
|
|
65 and risking the wrong result. */
|
|
66 #ifndef HAVE_GETTIMEOFDAY
|
|
67 #define HAVE_GETTIMEOFDAY
|
|
68 #endif
|
|
69 #endif
|
|
70
|
|
71 /* This enables configure to tell that we have alloca. */
|
|
72 #ifndef LIBS_SYSTEM
|
|
73 #define LIBS_SYSTEM "-lPW"
|
|
74 #endif
|
|
75
|
|
76 #ifdef HAVE_X11R5
|
|
77 /* configure can't get this right linking fails unless -lsocket is used. */
|
|
78 #undef HAVE_XSCREENNUMBEROFSCREEN
|
|
79 #define HAVE_XSCREENNUMBEROFSCREEN
|
|
80 #endif
|
|
81
|
|
82 /* We don't have -loldX, and we don't need it. */
|
|
83 #define LIB_XMENU_LIB
|
|
84
|
|
85 /* SCO does have TIOCGWINSZ. */
|
|
86 #undef BROKEN_TIOCGWINSZ
|
|
87 #define NEED_PTEM_H
|
|
88
|
|
89 /* We need to link with crt1.o and crtn.o. */
|
|
90 #define START_FILES "pre-crt0.o /lib/crt1.o"
|
|
91 #define LIB_STANDARD "-lc /lib/crtn.o"
|
|
92
|
|
93 /* Specify program for etc/fakemail to run. Define SMAIL if you are
|
|
94 using smail, don't for MMDF. */
|
|
95
|
|
96 #ifdef SMAIL
|
|
97 #define MAIL_PROGRAM_NAME "/bin/smail -q0"
|
|
98 #else
|
|
99 #define MAIL_PROGRAM_NAME "/usr/lib/mail/execmail"
|
|
100 #endif
|
|
101
|
|
102 /* Tell process_send_signal to use VSUSP instead of VSWTCH. */
|
|
103 #define PREFER_VSUSP
|
|
104
|
|
105 /* wjs@wiis.wang.com says SCO 3.2 v4.2 "has sockets",
|
|
106 but only for network connections.
|
|
107 It doesn't have the kind of sockets that emacsclient.c
|
|
108 and emacsserver.c would use. */
|
|
109 #define NO_SOCKETS_IN_FILE_SYSTEM
|