Mercurial > hg > xemacs-beta
comparison src/s/isc2-2.h @ 428:3ecd8885ac67 r21-2-22
Import from CVS: tag r21-2-22
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:28:15 +0200 |
parents | |
children | c69610198c35 |
comparison
equal
deleted
inserted
replaced
427:0a0253eac470 | 428:3ecd8885ac67 |
---|---|
1 /* Synched up with: FSF 19.31. */ | |
2 | |
3 /* system description file for Interactive (ISC) Unix version 2.2 on | |
4 the 386. */ | |
5 | |
6 #include "usg5-3.h" | |
7 | |
8 /* select (in -linet) works okay on X ptys, but not on the serial port. | |
9 karl@cs.umb.edu says that with that select call, subprocesses made by | |
10 (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems | |
11 have been observed in ISC 3.0. */ | |
12 #define BROKEN_SELECT_NON_X | |
13 | |
14 /* karl@cs.umb.edu says that ISC's socket support (in -linet) isn't | |
15 what Emacs needs; it makes interrupt-shell-subjob and the like do | |
16 nothing. But that appears to have been another manifestation of | |
17 the broken select, so it should now be safe to define this again. */ | |
18 #define HAVE_SOCKETS | |
19 | |
20 #define NO_SOCKETS_IN_FILE_SYSTEM | |
21 #define NEED_NET_ERRNO_H | |
22 | |
23 /* This keeps the .cdbx section that gcc puts out when generating | |
24 stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */ | |
25 #define USG_SHARED_LIBRARIES | |
26 | |
27 #define NO_FCHMOD | |
28 | |
29 #define HAVE_PTYS | |
30 #define MAXNAMLEN 512 | |
31 #define O_NDELAY O_NONBLOCK | |
32 #define MEMORY_IN_STRING_H | |
33 | |
34 /* Tell gmalloc.c that we don't have memmove (system include files to the | |
35 contrary!). */ | |
36 #define MEMMOVE_MISSING | |
37 | |
38 /* -lPW is only needed if not using Gcc. We used to include -lcposix here | |
39 for the rename function, but some people say ISC's rename doesn't | |
40 work correctly with Emacs so we use Emacs' emulation instead. */ | |
41 #if defined (__GNUC__) | |
42 # define LIB_STANDARD_1 -lcposix | |
43 #else /* !__GNUC__ */ | |
44 # define LIB_STANDARD_1 -lPW | |
45 #endif /* !__GNUC__ */ | |
46 | |
47 /* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM | |
48 (the latter for the sake of configure). */ | |
49 #define LIB_STANDARD LIB_STANDARD_1 -lc | |
50 | |
51 #define NO_X_DESTROY_DATABASE | |
52 | |
53 /* -linet may be needed to avoid undefined symbols such as gethostname, | |
54 inet_addr, gethostbyname, socket, connect, ... */ | |
55 #define LIBS_SYSTEM -linet LIB_STANDARD_1 | |
56 | |
57 /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary | |
58 when -traditional is being used, but it doesn't hurt to | |
59 unconditionally define this. */ | |
60 #define NO_ASM | |
61 | |
62 /* -traditional is not necessary if the system header files are fixed to | |
63 define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4 | |
64 on do this. */ | |
65 #if !defined (__GNUC__) || __GNUC__ < 2 | |
66 # define C_SWITCH_SYSTEM "-traditional" | |
67 #endif | |
68 | |
69 /* Some versions of ISC are said to define S_IFLNK even tho | |
70 they don't really support symlinks. */ | |
71 #undef S_IFLNK |