diff options
| author | Richard M. Stallman <rms@gnu.org> | 1993-03-02 22:25:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1993-03-02 22:25:16 +0000 |
| commit | c751ebb6a3632b879cd7efbffdfeafa364c3a6cc (patch) | |
| tree | 4953b80e7456f11120bb5f1db8944d1dcbd2c95c | |
| parent | 45cd7208bb994fd6feae72188e9f1d36d48c4660 (diff) | |
| download | emacs-c751ebb6a3632b879cd7efbffdfeafa364c3a6cc.tar.gz | |
(S_IFLNK): Add #undef.
(C_SWITCH_SYSTEM): Add conditional definition.
(NO_ASM, USE_UTIME, NO_X_DESTROY_DATABASE): Defined.
(LIB_STANDARD): Alternate definition if __GNUC__.
(SIGTSTP): #undef deleted.
(LIBS_SYSTEM): Define only if HAVE_X_WINDOWS.
(USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD): Define.
(HAVE_TIMEVAL): Do not define.
(NO_ASM): Only define once.
| -rw-r--r-- | src/s/isc2-2.h | 54 |
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 @@ #include "usg5-3.h" +/* With this defined, subprocesses made by (e.g.) M-x grep don't exit + cleanly, they just hang. ISC 2.2.1 does have select, in the -linet + library, but I guess it's not what Emacs needs. --karl@cs.umb.edu +#define HAVE_SELECT */ + +/* Although ISC has sockets, again in -linet, again it's not what Emacs + needs. With this defined, interrupt-shell-subjob and the like do + nothing. --karl@cs.umb.edu +#define HAVE_SOCKETS */ + + +/* This keeps the .cdbx section that gcc puts out when generating + stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu*/ +#define USG_SHARED_LIBRARIES + +/* We can support lock files. */ +#define CLASH_DETECTION +#define NO_FCHMOD + #define HAVE_PTYS #define HAVE_RENAME #define HAVE_CLOSEDIR #define MAXNAMLEN 512 -#define LIB_STANDARD -lPW -lcposix -lc #define O_NDELAY O_NONBLOCK #define MEMORY_IN_STRING_H -#undef SIGTSTP + +/* -lcposix is always needed for rename. -lPW is only needed if not gcc. */ +#ifdef __GNUC__ +#define LIB_STANDARD -lcposix -lc +#else +#define LIB_STANDARD -lPW -lcposix -lc +#endif + +/* mt00@etherm.co.uk says this is needed for process.c. */ +#define USE_UTIME + +#define NO_X_DESTROY_DATABASE /* This communicates with m-intel386.h. */ #define DONT_DEFINE_SIGNAL -/* May be needed to avoid undefined symbols - such as gethostname, inet_addr, gethostbyname, socket, connect... */ +/* May be needed to avoid undefined symbols such as gethostname, + inet_addr, gethostbyname, socket, connect, ... But if we are not + compiling with X support, it's not needed. */ +#ifdef HAVE_X_WINDOWS #define LIBS_SYSTEM -linet +#endif /* This system has job control. */ #undef NOMULTIPLEJOBS + +/* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary + when -traditional is being used, but it doesn't hurt to + unconditionally define this. */ +#define NO_ASM + +/* The POSIX-ified system headers don't work with GCC. */ +#ifdef __GNUC__ +#define C_SWITCH_SYSTEM -traditional +#endif + +/* Some versions of ISC are said to define S_IFLNK even tho + they don't really support symlinks. */ +#undef S_IFLNK |
