comparison src/s/isc2-2.h @ 14442:b5239b500b27

(HAVE_SOCKETS): Moved here from s/isc4-1.h. (NO_SOCKETS_IN_FILE_SYSTEM, NEED_NET_ERRNO_H): Likewise. (LIBS_SYSTEM): Use -linet unconditionally.
author Karl Heuer <kwzh@gnu.org>
date Tue, 30 Jan 1996 20:38:53 +0000
parents 628ea901db49
children 695cf19ef79e
comparison
equal deleted inserted replaced
14441:a29eda7ceb21 14442:b5239b500b27
7 karl@cs.umb.edu says that with that select call, subprocesses made by 7 karl@cs.umb.edu says that with that select call, subprocesses made by
8 (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems 8 (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems
9 have been observed in ISC 3.0. */ 9 have been observed in ISC 3.0. */
10 #define BROKEN_SELECT_NON_X 10 #define BROKEN_SELECT_NON_X
11 11
12 /* Although ISC has sockets, again in -linet, again it's not what Emacs 12 /* karl@cs.umb.edu says that ISC's socket support (in -linet) isn't
13 needs. With this defined, interrupt-shell-subjob and the like do 13 what Emacs needs; it makes interrupt-shell-subjob and the like do
14 nothing. --karl@cs.umb.edu 14 nothing. But that appears to have been another manifestation of
15 #define HAVE_SOCKETS */ 15 the broken select, so it should now be safe to define this again. */
16 #define HAVE_SOCKETS
16 17
18 #define NO_SOCKETS_IN_FILE_SYSTEM
19 #define NEED_NET_ERRNO_H
17 20
18 /* This keeps the .cdbx section that gcc puts out when generating 21 /* This keeps the .cdbx section that gcc puts out when generating
19 stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */ 22 stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */
20 #define USG_SHARED_LIBRARIES 23 #define USG_SHARED_LIBRARIES
21 24
49 #define LIB_STANDARD LIB_STANDARD_1 -lc 52 #define LIB_STANDARD LIB_STANDARD_1 -lc
50 53
51 #define NO_X_DESTROY_DATABASE 54 #define NO_X_DESTROY_DATABASE
52 55
53 /* -linet may be needed to avoid undefined symbols such as gethostname, 56 /* -linet may be needed to avoid undefined symbols such as gethostname,
54 inet_addr, gethostbyname, socket, connect, ... But if we are not 57 inet_addr, gethostbyname, socket, connect, ... */
55 compiling with X support, it's not needed. */
56 #ifdef HAVE_X_WINDOWS
57 #define LIBS_SYSTEM -linet LIB_STANDARD_1 58 #define LIBS_SYSTEM -linet LIB_STANDARD_1
58 #else
59 #define LIBS_SYSTEM LIB_STANDARD_1
60 #endif
61 59
62 /* This system has job control. */ 60 /* This system has job control. */
63 #undef NOMULTIPLEJOBS 61 #undef NOMULTIPLEJOBS
64 62
65 /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary 63 /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary