aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-03-11 07:11:06 +0000
committerJim Blandy1993-03-11 07:11:06 +0000
commit5447018c7bf83e6cce32958738e98c90fd2d28df (patch)
tree7795a608f519a66212d382b7e9e2d641e90679bf /src
parentaee87fc43225838250c70d5d5e3c1ace03994a93 (diff)
downloademacs-5447018c7bf83e6cce32958738e98c90fd2d28df.tar.gz
emacs-5447018c7bf83e6cce32958738e98c90fd2d28df.zip
* s/usg5-4.h: Changes from Eric Raymond:
If we're doing ordinary linking, define LIB_STANDARD appropriately. Give LIBS_DEBUG a null definition; usg5-4 has no -lg. #define LIBS_STANDARD as "-lc"; usg5-4 has no -lPW. #define NSIG, if it's not already defined. #define HAVE_TERMIOS instead of HAVE_TCATTR. Provide our own definition of LIB_X11_LIB.
Diffstat (limited to 'src')
-rw-r--r--src/s/usg5-4.h26
1 files changed, 23 insertions, 3 deletions
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h
index 731154c604d..3adb80ac1fc 100644
--- a/src/s/usg5-4.h
+++ b/src/s/usg5-4.h
@@ -18,7 +18,8 @@ along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ 18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19 19
20/* This file written by James Van Artsdalen of Dell Computer Corporation. 20/* This file written by James Van Artsdalen of Dell Computer Corporation.
21 * james@bigtex.cactus.org. 21 * james@bigtex.cactus.org. Subsequently improved for Dell 2.2 by Eric
22 * S. Raymond <esr@snark.thyrsus.com>.
22 */ 23 */
23 24
24/* Use the SysVr3 file for at least base configuration. */ 25/* Use the SysVr3 file for at least base configuration. */
@@ -34,11 +35,18 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
34#define LIBS_SYSTEM -lsocket -lnsl -lelf 35#define LIBS_SYSTEM -lsocket -lnsl -lelf
35#define ORDINARY_LINK 36#define ORDINARY_LINK
36 37
37#if 0 /* These should be unnecessary now because of ORDINARY_LINK. */ 38#ifdef ORDINARY_LINK
39#define LIB_STANDARD -lc /usr/ucblib/libucb.a
40#else
38#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o 41#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o
39#define LIB_STANDARD -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o 42#define LIB_STANDARD -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o
40#endif 43#endif
41 44
45/* there are no -lg libraries on this system, and no libPW */
46
47#define LIBS_DEBUG
48#define LIBS_STANDARD -lc
49
42/* No <sioctl.h> */ 50/* No <sioctl.h> */
43 51
44#define NO_SIOCTL_H 52#define NO_SIOCTL_H
@@ -66,6 +74,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
66#undef SIGIO 74#undef SIGIO
67#endif 75#endif
68 76
77/* Some SVr4s don't define NSIG in sys/signal.h for ANSI environments;
78 * instead, there's a system variable _sys_nsig. Unfortunately, we need the
79 * constant to dimension an array. So wire in the appropriate value here.
80 */
81
82#ifndef NSIG
83#define NSIG 32
84#endif
85
69/* libc has this stuff, but not utimes. */ 86/* libc has this stuff, but not utimes. */
70 87
71#define HAVE_RENAME 88#define HAVE_RENAME
@@ -93,7 +110,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
93 110
94#define HAVE_PTYS 111#define HAVE_PTYS
95#define HAVE_SETSID 112#define HAVE_SETSID
96#define HAVE_TCATTR 113#define HAVE_TERMIOS
97 114
98/* It is possible to receive SIGCHLD when there are no children 115/* It is possible to receive SIGCHLD when there are no children
99 waiting, because a previous waitsys(2) cleaned up the carcass of child 116 waiting, because a previous waitsys(2) cleaned up the carcass of child
@@ -153,6 +170,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
153 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ 170 if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \
154 fatal ("ioctl I_PUSH ttcompat", errno); 171 fatal ("ioctl I_PUSH ttcompat", errno);
155 172
173/* Undo the SVr3 X11 library definition */
174#undef LIB_X11_LIB -lX11
175
156/* The definition of this in s-usg5-3.h is not needed in 5.4. */ 176/* The definition of this in s-usg5-3.h is not needed in 5.4. */
157/* liblnsl_s should never be used. The _s suffix implies a shared 177/* liblnsl_s should never be used. The _s suffix implies a shared
158 library, as opposed to a DLL. Share libraries were used in SVR3, and are 178 library, as opposed to a DLL. Share libraries were used in SVR3, and are