bug-automake
[Top][All Lists]
Advanced

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

[PATCH] * tests/defs.in (required=GNUmake): Do not call $MAKE with -v.


From: Stepan Kasal
Subject: [PATCH] * tests/defs.in (required=GNUmake): Do not call $MAKE with -v.
Date: Fri, 14 Dec 2007 20:51:45 +0100

---
Hi,
  I noticed the following detail.  Since we have to grep the output of
make --version for GNU, we catch SGI make, I suppose.

So I think the special trick for SGI, which was in use before the
commit 693c934 is no longer needed.

If you agree, please commit and push the following patch.

Have a nice day,
        Stepan

 ChangeLog     |    4 ++++
 tests/defs.in |    9 ++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 191b99d..8eb9b7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-14  Stepan Kasal  <address@hidden>
+
+       * tests/defs.in (required=GNUmake): Do not call $MAKE with -v.
+
 2007-12-08  Ralf Wildenhues  <address@hidden>
 
        * lib/Automake/FileUtils.pm (open_quote): New function.
diff --git a/tests/defs.in b/tests/defs.in
index a797a82..e8ebd3a 100644
--- a/tests/defs.in
+++ b/tests/defs.in
@@ -119,11 +119,10 @@ do
       ( etags --version -o /dev/null ) || exit 77
       ;;
     GNUmake)
-      # Use --version AND -v, because SGI Make doesn't fail on --version.
-      # Also grep for GNU because newer versions of FreeBSD make do
-      # not complain about `--version' (they seem to silently ignore it).
-      echo "$me: running $MAKE --version -v | grep GNU"
-      ( $MAKE --version -v | grep GNU ) || exit 77
+      # grep for GNU because newer versions of FreeBSD make do not
+      # complain about `--version' (they seem to silently ignore it).
+      echo "$me: running $MAKE --version | grep GNU"
+      ( $MAKE --version | grep GNU ) || exit 77
       ;;
     gcc)
       # When gcc is required, export `CC=gcc' so that ./configure
-- 
1.5.3.4





reply via email to

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