summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-03 22:59:26 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-03 22:59:26 +0000
commit47adf45238fc8a93c355cba95b246349172ce009 (patch)
treee9d2238e49d942de4f224f43508b2ca8a0bc6614
parent0e6d70d571e9bc54861fd00853c10774a0f18c83 (diff)
(LD_SWITCH_MACHINE):
Add #ifdef emacs around all the definitions of this.
-rw-r--r--src/m/ibmrs6000.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h
index 13ea5324955..11b0e519276 100644
--- a/src/m/ibmrs6000.h
+++ b/src/m/ibmrs6000.h
@@ -165,6 +165,9 @@ Boston, MA 02111-1307, USA. */
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 @@ Boston, MA 02111-1307, USA. */
#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