From: Karl Heuer Date: Tue, 21 Oct 1997 02:57:44 +0000 (+0000) Subject: (LD_SWITCH_MACHINE): Conditionalize this X-Git-Tag: emacs-20.3~2975 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c3a57e3debe388ec3959b94f6fd2b7cd9c27ab1;p=emacs.git (LD_SWITCH_MACHINE): Conditionalize this on THIS_IS_MAKEFILE instead of on emacs. --- diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index 11b0e519276..fe876cb9462 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h @@ -165,9 +165,7 @@ 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 THIS_IS_MAKEFILE /* Don't use this in configure. */ #ifdef AIX4 #define LD_SWITCH_MACHINE -Wl,-bnodelcsect #else /* not AIX4 */ @@ -177,7 +175,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 +#endif /* THIS_IS_MAKEFILE */ /* Avoid gcc 2.7.x collect2 bug by using /bin/ld instead. */ #if __GNUC__ == 2 && __GNUC_MINOR__ == 7