changeset 13527:6a7c2ee3c94f

(LIB_STANDARD): Extract this as in src/Makefile.in. (LOADLIBES): Use LIB_STANDARD.
author Richard M. Stallman <rms@gnu.org>
date Sun, 12 Nov 1995 06:32:30 +0000
parents 34382f4e23cb
children 628ea901db49
files lib-src/Makefile.in
diffstat 1 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/Makefile.in	Sun Nov 12 05:20:12 1995 +0000
+++ b/lib-src/Makefile.in	Sun Nov 12 06:32:30 1995 +0000
@@ -144,6 +144,17 @@
 #undef alloca
 #endif
 
+/* Some machines don't find the standard C libraries in the usual place.  */
+#ifndef ORDINARY_LINK
+#ifndef LIB_STANDARD
+#define LIB_STANDARD -lc
+#endif
+#else
+#ifndef LIB_STANDARD
+#define LIB_STANDARD
+#endif
+#endif
+
 /* Some s/*.h files define this to request special libraries.  */
 #ifndef LIBS_SYSTEM
 #define LIBS_SYSTEM
@@ -175,7 +186,7 @@
 #define BLESSMAIL
 #endif
 
-LOADLIBES=LIBS_SYSTEM LIBS_MACHINE
+LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_STANDARD
 
 /* We need to #define emacs to get the right versions of some files.
    Some other files - those shared with other GNU utilities - need