summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-11-12 06:32:30 +0000
committerRichard M. Stallman <rms@gnu.org>1995-11-12 06:32:30 +0000
commitc856d422474e3b8e25a9cbefd4db1ab1241f6ed2 (patch)
tree8ff2fca17c4476baa27b31cebe7e68c97c2d5b97 /lib-src
parentaf147c983df6d87fc858b77465e86d3986ae4435 (diff)
downloademacs-c856d422474e3b8e25a9cbefd4db1ab1241f6ed2.tar.gz
(LIB_STANDARD): Extract this as in src/Makefile.in.
(LOADLIBES): Use LIB_STANDARD.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 2f4de9e7f8f..411e7fec6c6 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -144,6 +144,17 @@ MOVE_LIBS=
#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 @@ MOVE_LIBS=
#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