Mercurial > emacs
changeset 19106:4a5ab08209ee
(LD_SWITCH_MACHINE):
Add #ifdef emacs around all the definitions of this.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 03 Aug 1997 22:59:26 +0000 |
parents | fe86a22972fa |
children | 218d5b131575 |
files | src/m/ibmrs6000.h |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/m/ibmrs6000.h Sun Aug 03 22:58:19 1997 +0000 +++ b/src/m/ibmrs6000.h Sun Aug 03 22:59:26 1997 +0000 @@ -165,6 +165,9 @@ which most machines don't have. We use the name .inp instead of .imp because .inp is a better convention to use in make-dist for naming random input files. */ +#ifdef emacs /* Prevent this from being used in configure. + This also makes it not be used in lib-src, + but that is probably ok. */ #ifdef AIX4 #define LD_SWITCH_MACHINE -Wl,-bnodelcsect #else /* not AIX4 */ @@ -174,6 +177,7 @@ #define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp #endif #endif /* not AIX4 */ +#endif /* Avoid gcc 2.7.x collect2 bug by using /bin/ld instead. */ #if __GNUC__ == 2 && __GNUC_MINOR__ == 7