# HG changeset patch # User Richard M. Stallman # Date 870649166 0 # Node ID 4a5ab08209ee5c23b0925944d4f352927379697e # Parent fe86a22972fa20d5d1c83404df6e37c56ade0d0f (LD_SWITCH_MACHINE): Add #ifdef emacs around all the definitions of this. diff -r fe86a22972fa -r 4a5ab08209ee src/m/ibmrs6000.h --- 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