aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy <[email protected]>1993-07-31 01:39:30 +0000
committerJim Blandy <[email protected]>1993-07-31 01:39:30 +0000
commitb84b186a3aa936cf585733a91d7ae2d5099efa8c (patch)
tree3d09c40c460e6e438a9d9be36d602f2652c6b994 /src
parent9b7cd36694dbcdaa53299747e197deb07c4e4463 (diff)
* 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.
Diffstat (limited to 'src')
-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 174f6bac19..7b19feef5a 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 d2e612f1b4..4988ca7f68 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
/* [email protected] 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. */