diff options
author | Jim Blandy <jimb@redhat.com> | 1993-03-11 07:11:06 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1993-03-11 07:11:06 +0000 |
commit | 234ba1bd33b216dac71fb1c7ff7d08c97ec63e17 (patch) | |
tree | 76195bd07454399eb896273d619f3d7f8353152c /src/s/usg5-4.h | |
parent | 454b947ed0be8783db933ee149b3b55c0d316369 (diff) | |
download | emacs-234ba1bd33b216dac71fb1c7ff7d08c97ec63e17.tar.gz |
* 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/s/usg5-4.h')
-rw-r--r-- | src/s/usg5-4.h | 26 |
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 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* This file written by James Van Artsdalen of Dell Computer Corporation. - * james@bigtex.cactus.org. + * james@bigtex.cactus.org. Subsequently improved for Dell 2.2 by Eric + * S. Raymond <esr@snark.thyrsus.com>. */ /* Use the SysVr3 file for at least base configuration. */ @@ -34,11 +35,18 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define LIBS_SYSTEM -lsocket -lnsl -lelf #define ORDINARY_LINK -#if 0 /* These should be unnecessary now because of ORDINARY_LINK. */ +#ifdef ORDINARY_LINK +#define LIB_STANDARD -lc /usr/ucblib/libucb.a +#else #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o #define LIB_STANDARD -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o #endif +/* there are no -lg libraries on this system, and no libPW */ + +#define LIBS_DEBUG +#define LIBS_STANDARD -lc + /* No <sioctl.h> */ #define NO_SIOCTL_H @@ -66,6 +74,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef SIGIO #endif +/* Some SVr4s don't define NSIG in sys/signal.h for ANSI environments; + * instead, there's a system variable _sys_nsig. Unfortunately, we need the + * constant to dimension an array. So wire in the appropriate value here. + */ + +#ifndef NSIG +#define NSIG 32 +#endif + /* libc has this stuff, but not utimes. */ #define HAVE_RENAME @@ -93,7 +110,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HAVE_PTYS #define HAVE_SETSID -#define HAVE_TCATTR +#define HAVE_TERMIOS /* It is possible to receive SIGCHLD when there are no children 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. */ if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ fatal ("ioctl I_PUSH ttcompat", errno); +/* Undo the SVr3 X11 library definition */ +#undef LIB_X11_LIB -lX11 + /* The definition of this in s-usg5-3.h is not needed in 5.4. */ /* liblnsl_s should never be used. The _s suffix implies a shared library, as opposed to a DLL. Share libraries were used in SVR3, and are |