aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/sco4.h
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-11-28 11:30:23 +0000
committerRichard M. Stallman <[email protected]>1993-11-28 11:30:23 +0000
commit0952210a1a2f07324e9b055d40d346a15dbfc814 (patch)
tree107b823be9348da960ac872c7e4120857ac653b0 /src/s/sco4.h
parentf9d78f50cf09a6db9af78f73657df012ee20204d (diff)
(LIBS_SYSTEM): Always define this one way or another.
Include -lPW in it.
Diffstat (limited to 'src/s/sco4.h')
-rw-r--r--src/s/sco4.h7
1 files changed, 6 insertions, 1 deletions
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