aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-11-12 06:32:30 +0000
committerRichard M. Stallman1995-11-12 06:32:30 +0000
commit5e70aa9c271fe3426ba3c7abed4da872df2d1da5 (patch)
tree2f04520707cf7dada89be98e08bb2f1ff6e34fe5 /lib-src
parenta0879520493ce1e1b264c5c59bd37637017c0359 (diff)
downloademacs-5e70aa9c271fe3426ba3c7abed4da872df2d1da5.tar.gz
emacs-5e70aa9c271fe3426ba3c7abed4da872df2d1da5.zip
(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=
144#undef alloca 144#undef alloca
145#endif 145#endif
146 146
147/* Some machines don't find the standard C libraries in the usual place. */
148#ifndef ORDINARY_LINK
149#ifndef LIB_STANDARD
150#define LIB_STANDARD -lc
151#endif
152#else
153#ifndef LIB_STANDARD
154#define LIB_STANDARD
155#endif
156#endif
157
147/* Some s/*.h files define this to request special libraries. */ 158/* Some s/*.h files define this to request special libraries. */
148#ifndef LIBS_SYSTEM 159#ifndef LIBS_SYSTEM
149#define LIBS_SYSTEM 160#define LIBS_SYSTEM
@@ -175,7 +186,7 @@ MOVE_LIBS=
175#define BLESSMAIL 186#define BLESSMAIL
176#endif 187#endif
177 188
178LOADLIBES=LIBS_SYSTEM LIBS_MACHINE 189LOADLIBES=LIBS_SYSTEM LIBS_MACHINE LIB_STANDARD
179 190
180/* We need to #define emacs to get the right versions of some files. 191/* We need to #define emacs to get the right versions of some files.
181 Some other files - those shared with other GNU utilities - need 192 Some other files - those shared with other GNU utilities - need