[Python-checkins] remove configure.ac support for SGI_ABI (#3294)

Benjamin Peterson webhook-mailer at python.org
Mon Sep 4 17:05:35 EDT 2017


https://github.com/python/cpython/commit/14ce158e3d7c64cfcd2e74246bcafe088b95af2c
commit: 14ce158e3d7c64cfcd2e74246bcafe088b95af2c
branch: master
author: Benjamin Peterson <benjamin at python.org>
committer: GitHub <noreply at github.com>
date: 2017-09-04T14:05:32-07:00
summary:

remove configure.ac support for SGI_ABI (#3294)

files:
M configure
M configure.ac

diff --git a/configure b/configure
index b5d57676e38..5b742b884dc 100755
--- a/configure
+++ b/configure
@@ -728,7 +728,6 @@ CFLAGS
 CC
 EXPORT_MACOSX_DEPLOYMENT_TARGET
 CONFIGURE_MACOSX_DEPLOYMENT_TARGET
-SGI_ABI
 _PYTHON_HOST_PLATFORM
 MACHDEP
 FRAMEWORKINSTALLAPPSPREFIX
@@ -3448,25 +3447,6 @@ $as_echo "#define _INCLUDE__STDC_A1_SOURCE 1" >>confdefs.h
 
 fi
 
-#
-# SGI compilers allow the specification of the both the ABI and the
-# ISA on the command line.  Depending on the values of these switches,
-# different and often incompatible code will be generated.
-#
-# The SGI_ABI variable can be used to modify the CC and LDFLAGS and
-# thus supply support for various ABI/ISA combinations.  The MACHDEP
-# variable is also adjusted.
-#
-
-if test ! -z "$SGI_ABI"
-then
-        CC="cc $SGI_ABI"
-        LDFLAGS="$SGI_ABI $LDFLAGS"
-        MACHDEP=`echo "${MACHDEP}${SGI_ABI}" | sed 's/ *//g'`
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACHDEP" >&5
-$as_echo "$MACHDEP" >&6; }
-
 # Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
 # it may influence the way we can build extensions, so distutils
 # needs to check it
diff --git a/configure.ac b/configure.ac
index 5786525b291..57f4492e484 100644
--- a/configure.ac
+++ b/configure.ac
@@ -546,24 +546,6 @@ then
   AC_DEFINE(_INCLUDE__STDC_A1_SOURCE, 1, Define to include mbstate_t for mbrtowc)
 fi
 
-#
-# SGI compilers allow the specification of the both the ABI and the
-# ISA on the command line.  Depending on the values of these switches,
-# different and often incompatible code will be generated.
-#
-# The SGI_ABI variable can be used to modify the CC and LDFLAGS and
-# thus supply support for various ABI/ISA combinations.  The MACHDEP
-# variable is also adjusted.
-#
-AC_SUBST(SGI_ABI)
-if test ! -z "$SGI_ABI"
-then
-        CC="cc $SGI_ABI"
-        LDFLAGS="$SGI_ABI $LDFLAGS"
-        MACHDEP=`echo "${MACHDEP}${SGI_ABI}" | sed 's/ *//g'`
-fi
-AC_MSG_RESULT($MACHDEP)
-
 # Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
 # it may influence the way we can build extensions, so distutils
 # needs to check it



More information about the Python-checkins mailing list