]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
depcomp: remove support for SGI C/C++ compilers
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 19 Dec 2012 17:12:04 +0000 (18:12 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 28 Dec 2012 20:41:01 +0000 (21:41 +0100)
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:
<http://www.sgi.com/services/support/irix_mips_support.html>

This change fixes automake bug#12967 and bug#12978.

* lib/depcomp (sgi): Remove this depmode.
* NEWS: Update.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NEWS
lib/depcomp

diff --git a/NEWS b/NEWS
index 2d63043052c93fcfe20a69b87214c62e244b9430..8ac6612c1d9b5c5f9bc9cbb0682ec577701c0c23 100644 (file)
--- 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 <http://www.sgi.com/services/support/irix_mips_support.html>
+    for more information.
+
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 New in 1.13:
index 3f02f5d008616707958aedde54d826f8991d2e7c..ab7cc70cdd88615fe69d421297387393534ba0ff 100755 (executable)
@@ -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,