aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1996-01-30 20:38:53 +0000
committerKarl Heuer1996-01-30 20:38:53 +0000
commit7339384c9e4bba39f177f339ffcd8bbb53511274 (patch)
tree9d6a6f4c86fbab8ac5fc417edaaf4c3ee3fda741
parent27aaf8c241626b66c1c2a99f74a28df252b9e8d3 (diff)
downloademacs-7339384c9e4bba39f177f339ffcd8bbb53511274.tar.gz
emacs-7339384c9e4bba39f177f339ffcd8bbb53511274.zip
(HAVE_SOCKETS): Moved here from s/isc4-1.h.
(NO_SOCKETS_IN_FILE_SYSTEM, NEED_NET_ERRNO_H): Likewise. (LIBS_SYSTEM): Use -linet unconditionally.
-rw-r--r--src/s/isc2-2.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/s/isc2-2.h b/src/s/isc2-2.h
index e2f4c988e5e..f669fc2c141 100644
--- a/src/s/isc2-2.h
+++ b/src/s/isc2-2.h
@@ -9,11 +9,14 @@
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. */
@@ -51,13 +54,8 @@
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