]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Tests required tools: also try `-v' option for GNU compilers.
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 12 Nov 2010 16:18:09 +0000 (17:18 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 7 Dec 2010 00:07:20 +0000 (01:07 +0100)
* tests/defs.in: In the loop on "$required" tools, for gcc
and g++, also run "gcc -v" (resp. "g++ -v"), to get more
information, and for consistency with gcj.

ChangeLog
tests/defs

index 480a9e672d55d997f2784ffdbc567a4081ecdccc..b3f0e4920de539fac448b7be9258119be127840e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       Tests required tools: also try `-v' option for GNU compilers.
+       * tests/defs.in: In the loop on "$required" tools, for gcc
+       and g++, also run "gcc -v" (resp. "g++ -v"), to get more
+       information, and for consistency with gcj.
+
 2010-11-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
index bb162552869734a3decb77116aab981d71031097..02f9ad07efe9ab761c81cea4eb1d25991f55acad 100644 (file)
@@ -186,6 +186,8 @@ do
       export CC
       echo "$me: running $CC --version"
       $CC --version || exit 77
+      echo "$me: running $CC -v"
+      $CC -v || exit 77
       ;;
     gcj)
       GCJ=gcj
@@ -200,6 +202,8 @@ do
       export CXX
       echo "$me: running $CXX --version"
       $CXX --version || exit 77
+      echo "$me: running $CXX -v"
+      $CXX -v || exit 77
       ;;
     icc)
       CC=icc