(LOADLIBES): Use LIB_STANDARD.
#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
#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