1991-12-13 18:49:49 +00:00
|
|
|
/* system description file for Interactive (ISC) Unix version 2.2 on
|
|
|
|
the 386. */
|
|
|
|
|
|
|
|
#include "usg5-3.h"
|
|
|
|
|
1995-09-12 17:38:38 +00:00
|
|
|
/* select (in -linet) works okay on X ptys, but not on the serial port.
|
|
|
|
karl@cs.umb.edu says that with that select call, subprocesses made by
|
|
|
|
(e.g.) M-x grep don't exit cleanly, they just hang. Similar problems
|
|
|
|
have been observed in ISC 3.0. */
|
|
|
|
#define BROKEN_SELECT_NON_X
|
1993-03-02 22:25:16 +00:00
|
|
|
|
1996-01-30 20:38:53 +00:00
|
|
|
/* karl@cs.umb.edu says that ISC's socket support (in -linet) isn't
|
|
|
|
what Emacs needs; it makes interrupt-shell-subjob and the like do
|
|
|
|
nothing. But that appears to have been another manifestation of
|
|
|
|
the broken select, so it should now be safe to define this again. */
|
|
|
|
#define HAVE_SOCKETS
|
1993-03-02 22:25:16 +00:00
|
|
|
|
1996-01-30 20:38:53 +00:00
|
|
|
#define NO_SOCKETS_IN_FILE_SYSTEM
|
|
|
|
#define NEED_NET_ERRNO_H
|
1993-03-02 22:25:16 +00:00
|
|
|
|
|
|
|
/* This keeps the .cdbx section that gcc puts out when generating
|
1993-09-22 18:27:28 +00:00
|
|
|
stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */
|
1993-03-02 22:25:16 +00:00
|
|
|
#define USG_SHARED_LIBRARIES
|
|
|
|
|
|
|
|
/* We can support lock files. */
|
|
|
|
#define CLASH_DETECTION
|
|
|
|
#define NO_FCHMOD
|
|
|
|
|
1991-12-13 18:49:49 +00:00
|
|
|
#define HAVE_PTYS
|
|
|
|
#define MAXNAMLEN 512
|
|
|
|
#define O_NDELAY O_NONBLOCK
|
|
|
|
#define MEMORY_IN_STRING_H
|
1993-03-02 22:25:16 +00:00
|
|
|
|
1993-09-22 18:27:28 +00:00
|
|
|
/* Tell gmalloc.c that we don't have memmove (system include files to the
|
|
|
|
contrary!). */
|
|
|
|
#define MEMMOVE_MISSING
|
|
|
|
|
|
|
|
/* Send a signal to a subprocess by "typing" a signal character. */
|
|
|
|
#define SIGNALS_VIA_CHARACTERS
|
|
|
|
|
|
|
|
/* -lPW is only needed if not using Gcc. We used to include -lcposix here
|
1994-11-14 18:06:28 +00:00
|
|
|
for the rename function, but some people say ISC's rename doesn't
|
1993-09-22 18:27:28 +00:00
|
|
|
work correctly with Emacs so we use Emacs' emulation instead. */
|
|
|
|
#if defined (__GNUC__)
|
1995-11-10 16:38:55 +00:00
|
|
|
# define LIB_STANDARD_1 -lcposix
|
1993-09-22 18:27:28 +00:00
|
|
|
#else /* !__GNUC__ */
|
1995-11-10 16:38:55 +00:00
|
|
|
# define LIB_STANDARD_1 -lPW
|
1993-09-22 18:27:28 +00:00
|
|
|
#endif /* !__GNUC__ */
|
1993-03-02 22:25:16 +00:00
|
|
|
|
1995-11-10 16:38:55 +00:00
|
|
|
/* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM
|
|
|
|
(the latter for the sake of configure). */
|
|
|
|
#define LIB_STANDARD LIB_STANDARD_1 -lc
|
|
|
|
|
1993-03-02 22:25:16 +00:00
|
|
|
#define NO_X_DESTROY_DATABASE
|
1992-01-31 21:19:17 +00:00
|
|
|
|
1995-11-10 16:38:55 +00:00
|
|
|
/* -linet may be needed to avoid undefined symbols such as gethostname,
|
1996-01-30 20:38:53 +00:00
|
|
|
inet_addr, gethostbyname, socket, connect, ... */
|
1995-11-12 06:34:20 +00:00
|
|
|
#define LIBS_SYSTEM -linet LIB_STANDARD_1
|
1992-01-31 21:19:17 +00:00
|
|
|
|
|
|
|
/* This system has job control. */
|
|
|
|
#undef NOMULTIPLEJOBS
|
1993-03-02 22:25:16 +00:00
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
1993-09-22 18:27:28 +00:00
|
|
|
/* -traditional is not necessary if the system header files are fixed to
|
|
|
|
define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4
|
|
|
|
on do this. */
|
|
|
|
#if !defined (__GNUC__) || __GNUC__ < 2
|
|
|
|
# define C_SWITCH_SYSTEM -traditional
|
1993-03-02 22:25:16 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Some versions of ISC are said to define S_IFLNK even tho
|
|
|
|
they don't really support symlinks. */
|
|
|
|
#undef S_IFLNK
|