summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.in2
-rw-r--r--src/m/ibmrs6000.h4
2 files changed, 6 insertions, 0 deletions
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. */