changeset 2113:525be9535652

* m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no need to include `-lPW'; that has been merged with `-lc'.
author Jim Blandy <jimb@redhat.com>
date Thu, 11 Mar 1993 07:08:47 +0000
parents 79865d704b20
children d14a85e43f27
files src/m/intel386.h
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/intel386.h	Thu Mar 11 07:07:43 1993 +0000
+++ b/src/m/intel386.h	Thu Mar 11 07:08:47 1993 +0000
@@ -154,14 +154,20 @@
 #define LIB_STANDARD /lib/386/Slibcfp.a /lib/386/Slibc.a
 #else /* not XENIX */
 
+/* this brings in alloca() if we're using cc */
 #ifdef USG
 #ifndef LIB_STANDARD
+#ifdef USG5_4
+#define LIB_STANDARD -lc
+#else /* not USG5_4 */
 #define LIB_STANDARD -lPW -lc
-#endif
+#endif /* not USG5_4 */
+#endif /* LIB_STANDARD */
+
 #define HAVE_ALLOCA
 #define NO_REMAP 
 #define TEXT_START 0
-#endif /* USG */
+#endif /* not USG */
 #endif /* not XENIX */
 
 #ifdef BSD