aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/s/isc2-2.h54
1 files changed, 50 insertions, 4 deletions
diff --git a/src/s/isc2-2.h b/src/s/isc2-2.h
index a8a53310f5a..9af73a1a8b1 100644
--- a/src/s/isc2-2.h
+++ b/src/s/isc2-2.h
@@ -3,21 +3,67 @@
3 3
4#include "usg5-3.h" 4#include "usg5-3.h"
5 5
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
18 stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu*/
19#define USG_SHARED_LIBRARIES
20
21/* We can support lock files. */
22#define CLASH_DETECTION
23#define NO_FCHMOD
24
6#define HAVE_PTYS 25#define HAVE_PTYS
7#define HAVE_RENAME 26#define HAVE_RENAME
8#define HAVE_CLOSEDIR 27#define HAVE_CLOSEDIR
9#define MAXNAMLEN 512 28#define MAXNAMLEN 512
10#define LIB_STANDARD -lPW -lcposix -lc
11#define O_NDELAY O_NONBLOCK 29#define O_NDELAY O_NONBLOCK
12#define MEMORY_IN_STRING_H 30#define MEMORY_IN_STRING_H
13#undef SIGTSTP 31
32/* -lcposix is always needed for rename. -lPW is only needed if not gcc. */
33#ifdef __GNUC__
34#define LIB_STANDARD -lcposix -lc
35#else
36#define LIB_STANDARD -lPW -lcposix -lc
37#endif
38
39/* mt00@etherm.co.uk says this is needed for process.c. */
40#define USE_UTIME
41
42#define NO_X_DESTROY_DATABASE
14 43
15/* This communicates with m-intel386.h. */ 44/* This communicates with m-intel386.h. */
16#define DONT_DEFINE_SIGNAL 45#define DONT_DEFINE_SIGNAL
17 46
18/* May be needed to avoid undefined symbols 47/* May be needed to avoid undefined symbols such as gethostname,
19 such as gethostname, inet_addr, gethostbyname, socket, connect... */ 48 inet_addr, gethostbyname, socket, connect, ... But if we are not
49 compiling with X support, it's not needed. */
50#ifdef HAVE_X_WINDOWS
20#define LIBS_SYSTEM -linet 51#define LIBS_SYSTEM -linet
52#endif
21 53
22/* This system has job control. */ 54/* This system has job control. */
23#undef NOMULTIPLEJOBS 55#undef NOMULTIPLEJOBS
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/* The POSIX-ified system headers don't work with GCC. */
63#ifdef __GNUC__
64#define C_SWITCH_SYSTEM -traditional
65#endif
66
67/* Some versions of ISC are said to define S_IFLNK even tho
68 they don't really support symlinks. */
69#undef S_IFLNK