From: Stefano Lattarini Date: Wed, 19 Dec 2012 17:12:04 +0000 (+0100) Subject: depcomp: remove support for SGI C/C++ compilers X-Git-Tag: v1.16~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35da6083f8c3be18b6109a28752fe2f9f14f6c12;p=thirdparty%2Fautomake.git depcomp: remove support for SGI C/C++ compilers These compilers are only meant to run on IRIX, and that system has seen its last release in 2006, and is expected to lose support from SGI in December 2013: This change fixes automake bug#12967 and bug#12978. * lib/depcomp (sgi): Remove this depmode. * NEWS: Update. Signed-off-by: Stefano Lattarini --- diff --git a/NEWS b/NEWS index 2d6304305..8ac6612c1 100644 --- a/NEWS +++ b/NEWS @@ -23,6 +23,14 @@ New in 1.14: 'ACLOCAL_AMFLAGS' has proved to be a bad idea anyway -- see automake bug#9037. +* Removed support for obsolete platforms: + + - Support for the SGI C/C++ compilers has been removed: these compilers + are only meant to run on IRIX, and that system has seen its last + release in 2006, and is expected to lose support from SGI in December + 2013; see + for more information. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New in 1.13: diff --git a/lib/depcomp b/lib/depcomp index 3f02f5d00..ab7cc70cd 100755 --- a/lib/depcomp +++ b/lib/depcomp @@ -251,41 +251,6 @@ hp) exit 1 ;; -sgi) - if test "$libtool" = yes; then - "$@" "-Wp,-MDupdate,$tmpdepfile" - else - "$@" -MDupdate "$tmpdepfile" - fi - stat=$? - if test $stat -ne 0; then - rm -f "$tmpdepfile" - exit $stat - fi - rm -f "$depfile" - - if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files - echo "$object : \\" > "$depfile" - # Clip off the initial element (the dependent). Don't try to be - # clever and replace this with sed code, as IRIX sed won't handle - # lines with more than a fixed number of characters (4096 in - # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; - # the IRIX cc adds comments like '#:fec' to the end of the - # dependency line. - tr ' ' "$nl" < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ - | tr "$nl" ' ' >> "$depfile" - echo >> "$depfile" - # The second pass generates a dummy entry for each header file. - tr ' ' "$nl" < "$tmpdepfile" \ - | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ - >> "$depfile" - else - make_dummy_depfile - fi - rm -f "$tmpdepfile" - ;; - xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run,