automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} depcomp: remove support for SGI C/C++ compilers


From: Stefano Lattarini
Subject: [FYI] {master} depcomp: remove support for SGI C/C++ compilers
Date: Fri, 28 Dec 2012 21:43:31 +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 <address@hidden>
---
 NEWS        |  8 ++++++++
 lib/depcomp | 35 -----------------------------------
 2 files changed, 8 insertions(+), 35 deletions(-)

diff --git a/NEWS b/NEWS
index 2d63043..8ac6612 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 <http://www.sgi.com/services/support/irix_mips_support.html>
+    for more information.
+
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 New in 1.13:
diff --git a/lib/depcomp b/lib/depcomp
index 3f02f5d..ab7cc70 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,
-- 
1.8.0.1.409.g252f922




reply via email to

[Prev in Thread] Current Thread [Next in Thread]