changeset 4369:2497c88c03c3

* 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.
author Jim Blandy <jimb@redhat.com>
date Sat, 31 Jul 1993 01:39:30 +0000
parents 9a9867a9ee67
children 605e06926c35
files src/config.in src/m/ibmrs6000.h
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/config.in	Sat Jul 31 01:34:30 1993 +0000
+++ b/src/config.in	Sat Jul 31 01:39:30 1993 +0000
@@ -117,6 +117,8 @@
 
 #undef HAVE_BCOPY
 
+#undef HAVE_AIX_SMT_EXP
+
 /* If using GNU, then support inline function declarations. */
 #ifdef __GNUC__
 #define INLINE __inline__
--- a/src/m/ibmrs6000.h	Sat Jul 31 01:34:30 1993 +0000
+++ b/src/m/ibmrs6000.h	Sat Jul 31 01:39:30 1993 +0000
@@ -132,7 +132,11 @@
 
 #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.  */