Mercurial > emacs
annotate src/s/isc2-2.h @ 14433:20e489e1a0ef
(vip-register-macro): Fix error format string.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 29 Jan 1996 23:19:49 +0000 |
parents | 628ea901db49 |
children | b5239b500b27 |
rev | line source |
---|---|
456 | 1 /* system description file for Interactive (ISC) Unix version 2.2 on |
2 the 386. */ | |
3 | |
4 #include "usg5-3.h" | |
5 | |
13029
a47af2f30446
(BROKEN_SELECT_NON_X): Define this instead of turning
Karl Heuer <kwzh@gnu.org>
parents:
9911
diff
changeset
|
6 /* select (in -linet) works okay on X ptys, but not on the serial port. |
a47af2f30446
(BROKEN_SELECT_NON_X): Define this instead of turning
Karl Heuer <kwzh@gnu.org>
parents:
9911
diff
changeset
|
7 karl@cs.umb.edu says that with that select call, subprocesses made by |
a47af2f30446
(BROKEN_SELECT_NON_X): Define this instead of turning
Karl Heuer <kwzh@gnu.org>
parents:
9911
diff
changeset
|
8 (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems |
a47af2f30446
(BROKEN_SELECT_NON_X): Define this instead of turning
Karl Heuer <kwzh@gnu.org>
parents:
9911
diff
changeset
|
9 have been observed in ISC 3.0. */ |
a47af2f30446
(BROKEN_SELECT_NON_X): Define this instead of turning
Karl Heuer <kwzh@gnu.org>
parents:
9911
diff
changeset
|
10 #define BROKEN_SELECT_NON_X |
2002 | 11 |
12 /* Although ISC has sockets, again in -linet, again it's not what Emacs | |
13 needs. With this defined, interrupt-shell-subjob and the like do | |
14 nothing. --karl@cs.umb.edu | |
15 #define HAVE_SOCKETS */ | |
16 | |
17 | |
18 /* This keeps the .cdbx section that gcc puts out when generating | |
4779
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
19 stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */ |
2002 | 20 #define USG_SHARED_LIBRARIES |
21 | |
22 /* We can support lock files. */ | |
23 #define CLASH_DETECTION | |
24 #define NO_FCHMOD | |
25 | |
456 | 26 #define HAVE_PTYS |
27 #define MAXNAMLEN 512 | |
28 #define O_NDELAY O_NONBLOCK | |
29 #define MEMORY_IN_STRING_H | |
2002 | 30 |
4779
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
31 /* Tell gmalloc.c that we don't have memmove (system include files to the |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
32 contrary!). */ |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
33 #define MEMMOVE_MISSING |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
34 |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
35 /* Send a signal to a subprocess by "typing" a signal character. */ |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
36 #define SIGNALS_VIA_CHARACTERS |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
37 |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
38 /* -lPW is only needed if not using Gcc. We used to include -lcposix here |
9911 | 39 for the rename function, but some people say ISC's rename doesn't |
4779
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
40 work correctly with Emacs so we use Emacs' emulation instead. */ |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
41 #if defined (__GNUC__) |
13464
65d38521e620
(LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents:
13029
diff
changeset
|
42 # define LIB_STANDARD_1 -lcposix |
4779
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
43 #else /* !__GNUC__ */ |
13464
65d38521e620
(LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents:
13029
diff
changeset
|
44 # define LIB_STANDARD_1 -lPW |
4779
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
45 #endif /* !__GNUC__ */ |
2002 | 46 |
13464
65d38521e620
(LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents:
13029
diff
changeset
|
47 /* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM |
65d38521e620
(LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents:
13029
diff
changeset
|
48 (the latter for the sake of configure). */ |
65d38521e620
(LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents:
13029
diff
changeset
|
49 #define LIB_STANDARD LIB_STANDARD_1 -lc |
65d38521e620
(LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents:
13029
diff
changeset
|
50 |
2002 | 51 #define NO_X_DESTROY_DATABASE |
524 | 52 |
13464
65d38521e620
(LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents:
13029
diff
changeset
|
53 /* -linet may be needed to avoid undefined symbols such as gethostname, |
2002 | 54 inet_addr, gethostbyname, socket, connect, ... But if we are not |
55 compiling with X support, it's not needed. */ | |
56 #ifdef HAVE_X_WINDOWS | |
13528
628ea901db49
(LIBS_SYSTEM): Fix typo in prev change.
Richard M. Stallman <rms@gnu.org>
parents:
13464
diff
changeset
|
57 #define LIBS_SYSTEM -linet LIB_STANDARD_1 |
13464
65d38521e620
(LIB_STANDARD_1): New macro.
Richard M. Stallman <rms@gnu.org>
parents:
13029
diff
changeset
|
58 #else |
13528
628ea901db49
(LIBS_SYSTEM): Fix typo in prev change.
Richard M. Stallman <rms@gnu.org>
parents:
13464
diff
changeset
|
59 #define LIBS_SYSTEM LIB_STANDARD_1 |
2002 | 60 #endif |
524 | 61 |
62 /* This system has job control. */ | |
63 #undef NOMULTIPLEJOBS | |
2002 | 64 |
65 /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary | |
66 when -traditional is being used, but it doesn't hurt to | |
67 unconditionally define this. */ | |
68 #define NO_ASM | |
69 | |
4779
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
70 /* -traditional is not necessary if the system header files are fixed to |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
71 define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4 |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
72 on do this. */ |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
73 #if !defined (__GNUC__) || __GNUC__ < 2 |
611531d01474
* Added fixes from Karl Berry for ISC-2.2.
Brian Fox <bfox@gnu.org>
parents:
3824
diff
changeset
|
74 # define C_SWITCH_SYSTEM -traditional |
2002 | 75 #endif |
76 | |
77 /* Some versions of ISC are said to define S_IFLNK even tho | |
78 they don't really support symlinks. */ | |
79 #undef S_IFLNK |