(x_window): Test FRAME_EXTERNAL_MENU_BAR
[emacs.git] / src / s / isc2-2.h
blobb15b15c830cbe6a7ae65e44fc7b89dd261678dc0
1 /* system description file for Interactive (ISC) Unix version 2.2 on
2 the 386. */
4 #include "usg5-3.h"
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 */
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 */
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
21 /* We can support lock files. */
22 #define CLASH_DETECTION
23 #define NO_FCHMOD
25 #define HAVE_PTYS
26 #define MAXNAMLEN 512
27 #define O_NDELAY O_NONBLOCK
28 #define MEMORY_IN_STRING_H
30 /* Tell gmalloc.c that we don't have memmove (system include files to the
31 contrary!). */
32 #define MEMMOVE_MISSING
34 /* Send a signal to a subprocess by "typing" a signal character. */
35 #define SIGNALS_VIA_CHARACTERS
37 /* -lPW is only needed if not using Gcc. We used to include -lcposix here
38 for the rename function, but some pepople saus ISC's renames doesn't
39 work correctly with Emacs so we use Emacs' emulation instead. */
40 #if defined (__GNUC__)
41 # define LIB_STANDARD -lcposix -lc
42 #else /* !__GNUC__ */
43 # define LIB_STANDARD -lPW -lc
44 #endif /* !__GNUC__ */
46 /* mt00@etherm.co.uk says this is needed for process.c. */
47 #define USE_UTIME
49 #define NO_X_DESTROY_DATABASE
51 /* This communicates with m-intel386.h. */
52 #define DONT_DEFINE_SIGNAL
54 /* May be needed to avoid undefined symbols such as gethostname,
55 inet_addr, gethostbyname, socket, connect, ... But if we are not
56 compiling with X support, it's not needed. */
57 #ifdef HAVE_X_WINDOWS
58 #define LIBS_SYSTEM -linet
59 #endif
61 /* This system has job control. */
62 #undef NOMULTIPLEJOBS
64 /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary
65 when -traditional is being used, but it doesn't hurt to
66 unconditionally define this. */
67 #define NO_ASM
69 /* -traditional is not necessary if the system header files are fixed to
70 define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4
71 on do this. */
72 #if !defined (__GNUC__) || __GNUC__ < 2
73 # define C_SWITCH_SYSTEM -traditional
74 #endif
76 /* Some versions of ISC are said to define S_IFLNK even tho
77 they don't really support symlinks. */
78 #undef S_IFLNK