From: Benjamin Peterson Date: Mon, 4 Sep 2017 21:05:32 +0000 (-0700) Subject: remove configure.ac support for SGI_ABI (#3294) X-Git-Tag: v3.7.0a1~172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14ce158e3d7c64cfcd2e74246bcafe088b95af2c;p=python remove configure.ac support for SGI_ABI (#3294) --- diff --git a/configure b/configure index b5d57676e3..5b742b884d 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 5786525b29..57f4492e48 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