Commit | Line | Data |
---|---|---|
20c428fd JB |
1 | /* system description file for Interactive (ISC) Unix version 2.2 on |
2 | the 386. */ | |
3 | ||
4 | #include "usg5-3.h" | |
5 | ||
c751ebb6 RS |
6 | /* With this defined, subprocesses made by (e.g.) M-x grep don't exit |
7 | cleanly, they just hang. ISC 2.2.1 does have select, in the -linet | |
8 | library, but I guess it's not what Emacs needs. --karl@cs.umb.edu | |
9 | #define HAVE_SELECT */ | |
10 | ||
11 | /* Although ISC has sockets, again in -linet, again it's not what Emacs | |
12 | needs. With this defined, interrupt-shell-subjob and the like do | |
13 | nothing. --karl@cs.umb.edu | |
14 | #define HAVE_SOCKETS */ | |
15 | ||
16 | ||
17 | /* This keeps the .cdbx section that gcc puts out when generating | |
08ae9134 | 18 | stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */ |
c751ebb6 RS |
19 | #define USG_SHARED_LIBRARIES |
20 | ||
21 | /* We can support lock files. */ | |
22 | #define CLASH_DETECTION | |
23 | #define NO_FCHMOD | |
24 | ||
20c428fd | 25 | #define HAVE_PTYS |
20c428fd | 26 | #define MAXNAMLEN 512 |
20c428fd JB |
27 | #define O_NDELAY O_NONBLOCK |
28 | #define MEMORY_IN_STRING_H | |
c751ebb6 | 29 | |
08ae9134 BF |
30 | /* Tell gmalloc.c that we don't have memmove (system include files to the |
31 | contrary!). */ | |
32 | #define MEMMOVE_MISSING | |
33 | ||
34 | /* Send a signal to a subprocess by "typing" a signal character. */ | |
35 | #define SIGNALS_VIA_CHARACTERS | |
36 | ||
37 | /* -lPW is only needed if not using Gcc. We used to include -lcposix here | |
38 | for the rename function, but some pepople saus ISC's renames doesn't | |
39 | work correctly with Emacs so we use Emacs' emulation instead. */ | |
40 | #if defined (__GNUC__) | |
41 | # define LIB_STANDARD -lcposix -lc | |
42 | #else /* !__GNUC__ */ | |
43 | # define LIB_STANDARD -lPW -lc | |
44 | #endif /* !__GNUC__ */ | |
c751ebb6 RS |
45 | |
46 | /* mt00@etherm.co.uk says this is needed for process.c. */ | |
47 | #define USE_UTIME | |
48 | ||
49 | #define NO_X_DESTROY_DATABASE | |
93a37120 JB |
50 | |
51 | /* This communicates with m-intel386.h. */ | |
52 | #define DONT_DEFINE_SIGNAL | |
53 | ||
c751ebb6 RS |
54 | /* May be needed to avoid undefined symbols such as gethostname, |
55 | inet_addr, gethostbyname, socket, connect, ... But if we are not | |
56 | compiling with X support, it's not needed. */ | |
57 | #ifdef HAVE_X_WINDOWS | |
93a37120 | 58 | #define LIBS_SYSTEM -linet |
c751ebb6 | 59 | #endif |
93a37120 JB |
60 | |
61 | /* This system has job control. */ | |
62 | #undef NOMULTIPLEJOBS | |
c751ebb6 RS |
63 | |
64 | /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary | |
65 | when -traditional is being used, but it doesn't hurt to | |
66 | unconditionally define this. */ | |
67 | #define NO_ASM | |
68 | ||
08ae9134 BF |
69 | /* -traditional is not necessary if the system header files are fixed to |
70 | define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4 | |
71 | on do this. */ | |
72 | #if !defined (__GNUC__) || __GNUC__ < 2 | |
73 | # define C_SWITCH_SYSTEM -traditional | |
c751ebb6 RS |
74 | #endif |
75 | ||
76 | /* Some versions of ISC are said to define S_IFLNK even tho | |
77 | they don't really support symlinks. */ | |
78 | #undef S_IFLNK |