]> git.eshelyaron.com Git - emacs.git/commitdiff
(LIB_STANDARD): Extract this as in src/Makefile.in.
authorRichard M. Stallman <rms@gnu.org>
Sun, 12 Nov 1995 06:32:30 +0000 (06:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 12 Nov 1995 06:32:30 +0000 (06:32 +0000)
(LOADLIBES): Use LIB_STANDARD.

lib-src/Makefile.in

index 2f4de9e7f8f742ac24b86bf6ca76e12c1943ec5f..411e7fec6c6421879de58c911e18d690f5ef4fe0 100644 (file)
@@ -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