Commit | Line | Data |
---|---|---|
b26bb2e7 GM |
1 | /* system description file for Interactive (ISC) Unix version 2.2 on the 386. |
2 | ||
3 | Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, | |
4 | 2007 Free Software Foundation, Inc. | |
5 | ||
6 | This file is part of GNU Emacs. | |
7 | ||
8 | GNU Emacs is free software; you can redistribute it and/or modify | |
9 | it under the terms of the GNU General Public License as published by | |
4a9f99bd | 10 | the Free Software Foundation; either version 3, or (at your option) |
b26bb2e7 GM |
11 | any later version. |
12 | ||
13 | GNU Emacs is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with GNU Emacs; see the file COPYING. If not, write to | |
20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
21 | Boston, MA 02110-1301, USA. */ | |
22 | ||
20c428fd JB |
23 | |
24 | #include "usg5-3.h" | |
25 | ||
88225383 KH |
26 | /* select (in -linet) works okay on X ptys, but not on the serial port. |
27 | karl@cs.umb.edu says that with that select call, subprocesses made by | |
28 | (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems | |
29 | have been observed in ISC 3.0. */ | |
30 | #define BROKEN_SELECT_NON_X | |
c751ebb6 | 31 | |
7339384c KH |
32 | /* karl@cs.umb.edu says that ISC's socket support (in -linet) isn't |
33 | what Emacs needs; it makes interrupt-shell-subjob and the like do | |
34 | nothing. But that appears to have been another manifestation of | |
35 | the broken select, so it should now be safe to define this again. */ | |
36 | #define HAVE_SOCKETS | |
c751ebb6 | 37 | |
7339384c KH |
38 | #define NO_SOCKETS_IN_FILE_SYSTEM |
39 | #define NEED_NET_ERRNO_H | |
c751ebb6 RS |
40 | |
41 | /* This keeps the .cdbx section that gcc puts out when generating | |
08ae9134 | 42 | stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */ |
c751ebb6 RS |
43 | #define USG_SHARED_LIBRARIES |
44 | ||
45 | /* We can support lock files. */ | |
46 | #define CLASH_DETECTION | |
47 | #define NO_FCHMOD | |
48 | ||
20c428fd | 49 | #define HAVE_PTYS |
20c428fd | 50 | #define MAXNAMLEN 512 |
20c428fd JB |
51 | #define O_NDELAY O_NONBLOCK |
52 | #define MEMORY_IN_STRING_H | |
c751ebb6 | 53 | |
08ae9134 BF |
54 | /* Tell gmalloc.c that we don't have memmove (system include files to the |
55 | contrary!). */ | |
56 | #define MEMMOVE_MISSING | |
57 | ||
58 | /* Send a signal to a subprocess by "typing" a signal character. */ | |
59 | #define SIGNALS_VIA_CHARACTERS | |
60 | ||
61 | /* -lPW is only needed if not using Gcc. We used to include -lcposix here | |
49b862cf | 62 | for the rename function, but some people say ISC's rename doesn't |
08ae9134 BF |
63 | work correctly with Emacs so we use Emacs' emulation instead. */ |
64 | #if defined (__GNUC__) | |
e3bebca7 | 65 | # define LIB_STANDARD_1 -lcposix |
08ae9134 | 66 | #else /* !__GNUC__ */ |
e3bebca7 | 67 | # define LIB_STANDARD_1 -lPW |
08ae9134 | 68 | #endif /* !__GNUC__ */ |
c751ebb6 | 69 | |
e3bebca7 RS |
70 | /* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM |
71 | (the latter for the sake of configure). */ | |
72 | #define LIB_STANDARD LIB_STANDARD_1 -lc | |
73 | ||
c751ebb6 | 74 | #define NO_X_DESTROY_DATABASE |
93a37120 | 75 | |
e3bebca7 | 76 | /* -linet may be needed to avoid undefined symbols such as gethostname, |
7339384c | 77 | inet_addr, gethostbyname, socket, connect, ... */ |
c57bc20f | 78 | #define LIBS_SYSTEM -linet LIB_STANDARD_1 |
93a37120 JB |
79 | |
80 | /* This system has job control. */ | |
81 | #undef NOMULTIPLEJOBS | |
c751ebb6 RS |
82 | |
83 | /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary | |
84 | when -traditional is being used, but it doesn't hurt to | |
85 | unconditionally define this. */ | |
86 | #define NO_ASM | |
87 | ||
08ae9134 BF |
88 | /* -traditional is not necessary if the system header files are fixed to |
89 | define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4 | |
90 | on do this. */ | |
91 | #if !defined (__GNUC__) || __GNUC__ < 2 | |
92 | # define C_SWITCH_SYSTEM -traditional | |
c751ebb6 RS |
93 | #endif |
94 | ||
95 | /* Some versions of ISC are said to define S_IFLNK even tho | |
96 | they don't really support symlinks. */ | |
97 | #undef S_IFLNK | |
ab5796a9 MB |
98 | |
99 | /* arch-tag: 4de02713-eac5-4360-9d36-fd82c7a3ae44 | |
100 | (do not change this comment) */ |