summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-29 22:14:56 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-29 22:14:56 (GMT)
commit9b7127370e6588b9dba55014334c9df541f6420b (patch)
treee005d6cbce71c8710151ca42795cb7e9fe1ac6c8 /configure.in
parent07397974da017642f15d98361ce5eefca8b61f4d (diff)
downloadcpython-9b7127370e6588b9dba55014334c9df541f6420b.zip
cpython-9b7127370e6588b9dba55014334c9df541f6420b.tar.gz
cpython-9b7127370e6588b9dba55014334c9df541f6420b.tar.bz2
Get rid of the "-n32" options for SGI IRIX 6.x. Instead, substitute
the value at configure time of the SGI_ABI environment variable. See abi(5).
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 2746a99..4e95cd3 100644
--- a/configure.in
+++ b/configure.in
@@ -176,7 +176,7 @@ then
case $ac_sys_system/$ac_sys_release in
AIX*) LDSHARED="ld_so_aix \$(CC)";;
IRIX/5*) LDSHARED="ld -shared";;
- IRIX/6*) LDSHARED="ld -n32 -shared -all"; OPT="$OPT -n32";;
+ IRIX/6*) LDSHARED="ld $SGI_ABI -shared -all"; OPT="$OPT $SGI_ABI";;
SunOS/4*) LDSHARED="ld";;
SunOS/5*) LDSHARED="ld -G";;
hp*|HP*) LDSHARED="ld -b";;
@@ -203,7 +203,7 @@ then
Linux*) CCSHARED="-fpic";;
FreeBSD*) CCSHARED="-fpic";;
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
- IRIX/6*) CCSHARED="-n32 -all";;
+ IRIX/6*) CCSHARED="$SGI_ABI -all";;
esac
fi
AC_MSG_RESULT($CCSHARED)
@@ -219,7 +219,7 @@ then
Linux*) LINKFORSHARED="-rdynamic";;
next) LINKFORSHARED="-u libsys_s";;
SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
- IRIX/6*) LINKFORSHARED="-n32 -all";;
+ IRIX/6*) LINKFORSHARED="$SGI_ABI -all";;
esac
fi
AC_MSG_RESULT($LINKFORSHARED)