Add arch taglines
[bpt/emacs.git] / src / s / isc2-2.h
CommitLineData
20c428fd
JB
1/* system description file for Interactive (ISC) Unix version 2.2 on
2 the 386. */
3
4#include "usg5-3.h"
5
88225383
KH
6/* select (in -linet) works okay on X ptys, but not on the serial port.
7 karl@cs.umb.edu says that with that select call, subprocesses made by
8 (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems
9 have been observed in ISC 3.0. */
10#define BROKEN_SELECT_NON_X
c751ebb6 11
7339384c
KH
12/* karl@cs.umb.edu says that ISC's socket support (in -linet) isn't
13 what Emacs needs; it makes interrupt-shell-subjob and the like do
14 nothing. But that appears to have been another manifestation of
15 the broken select, so it should now be safe to define this again. */
16#define HAVE_SOCKETS
c751ebb6 17
7339384c
KH
18#define NO_SOCKETS_IN_FILE_SYSTEM
19#define NEED_NET_ERRNO_H
c751ebb6
RS
20
21/* This keeps the .cdbx section that gcc puts out when generating
08ae9134 22 stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */
c751ebb6
RS
23#define USG_SHARED_LIBRARIES
24
25/* We can support lock files. */
26#define CLASH_DETECTION
27#define NO_FCHMOD
28
20c428fd 29#define HAVE_PTYS
20c428fd 30#define MAXNAMLEN 512
20c428fd
JB
31#define O_NDELAY O_NONBLOCK
32#define MEMORY_IN_STRING_H
c751ebb6 33
08ae9134
BF
34/* Tell gmalloc.c that we don't have memmove (system include files to the
35 contrary!). */
36#define MEMMOVE_MISSING
37
38/* Send a signal to a subprocess by "typing" a signal character. */
39#define SIGNALS_VIA_CHARACTERS
40
41/* -lPW is only needed if not using Gcc. We used to include -lcposix here
49b862cf 42 for the rename function, but some people say ISC's rename doesn't
08ae9134
BF
43 work correctly with Emacs so we use Emacs' emulation instead. */
44#if defined (__GNUC__)
e3bebca7 45# define LIB_STANDARD_1 -lcposix
08ae9134 46#else /* !__GNUC__ */
e3bebca7 47# define LIB_STANDARD_1 -lPW
08ae9134 48#endif /* !__GNUC__ */
c751ebb6 49
e3bebca7
RS
50/* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM
51 (the latter for the sake of configure). */
52#define LIB_STANDARD LIB_STANDARD_1 -lc
53
c751ebb6 54#define NO_X_DESTROY_DATABASE
93a37120 55
e3bebca7 56/* -linet may be needed to avoid undefined symbols such as gethostname,
7339384c 57 inet_addr, gethostbyname, socket, connect, ... */
c57bc20f 58#define LIBS_SYSTEM -linet LIB_STANDARD_1
93a37120
JB
59
60/* This system has job control. */
61#undef NOMULTIPLEJOBS
c751ebb6
RS
62
63/* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary
64 when -traditional is being used, but it doesn't hurt to
65 unconditionally define this. */
66#define NO_ASM
67
08ae9134
BF
68/* -traditional is not necessary if the system header files are fixed to
69 define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4
70 on do this. */
71#if !defined (__GNUC__) || __GNUC__ < 2
72# define C_SWITCH_SYSTEM -traditional
c751ebb6
RS
73#endif
74
75/* Some versions of ISC are said to define S_IFLNK even tho
76 they don't really support symlinks. */
77#undef S_IFLNK
ab5796a9
MB
78
79/* arch-tag: 4de02713-eac5-4360-9d36-fd82c7a3ae44
80 (do not change this comment) */