annotate src/s/isc2-2.h @ 329:58bac07dfa74 r21-0-62

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