From 0952210a1a2f07324e9b055d40d346a15dbfc814 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 28 Nov 1993 11:30:23 +0000 Subject: (LIBS_SYSTEM): Always define this one way or another. Include -lPW in it. --- src/s/sco4.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/s/sco4.h') diff --git a/src/s/sco4.h b/src/s/sco4.h index 86df419ce6..16866059d1 100644 --- a/src/s/sco4.h +++ b/src/s/sco4.h @@ -79,7 +79,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #ifdef HAVE_SOCKETS -#define LIBS_SYSTEM -lsocket +#define LIBS_SYSTEM -lsocket -lPW /* SCO has gettimeofday in socket library */ /* Autoconf should determine this, but for now, @@ -90,6 +90,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #endif +/* This enables configure to tell that we have alloca. */ +#ifndef LIBS_SYSTEM +#define LIBS_SYSTEM -lPW +#endif + #ifdef HAVE_X11R5 /* configure can't get this right linking fails unless -lsocket is used. */ #undef HAVE_XSCREENNUMBEROFSCREEN -- cgit v1.2.3