From b84b186a3aa936cf585733a91d7ae2d5099efa8c Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 31 Jul 1993 01:39:30 +0000 Subject: [PATCH] * config.h.in (HAVE_AIX_SMT_EXP): New #undef for configure to edit. * m/ibmrs6000.h (LD_SWITCH_MACHINE): Don't mention /usr/lpp/X11/bin/smt.exp unless HAVE_AIX_SMT_EXP is #defined. --- src/config.in | 2 ++ src/m/ibmrs6000.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/config.in b/src/config.in index 174f6bac195..7b19feef5a9 100644 --- a/src/config.in +++ b/src/config.in @@ -117,6 +117,8 @@ and this notice must be preserved on all copies. */ #undef HAVE_BCOPY +#undef HAVE_AIX_SMT_EXP + /* If using GNU, then support inline function declarations. */ #ifdef __GNUC__ #define INLINE __inline__ diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index d2e612f1b4d..4988ca7f681 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h @@ -132,7 +132,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define ORDINARY_LINK /* sfreed@unm.edu says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */ +#ifdef HAVE_AIX_SMT_EXP #define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:/usr/lpp/X11/bin/smt.exp +#else +#define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp +#endif /* AIX supposedly doesn't use this interface, but on thr RS/6000 it apparently does. */ -- 2.39.5