cccl: Respect silent flags.
authorJoe Stringer <joestringer@nicira.com>
Thu, 4 Dec 2014 00:34:08 +0000 (16:34 -0800)
committerJoe Stringer <joestringer@nicira.com>
Thu, 4 Dec 2014 22:31:48 +0000 (14:31 -0800)
Automake sets $V to tell the compiler whether to print verbose messages
as it compiles or not. Add support for this variable in cccl, allowing
more quiet build output on windows if the build is configured with
--silent or the developer runs make V=0.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
build-aux/cccl

index b182805..2a4dccc 100644 (file)
@@ -202,6 +202,8 @@ else
     opts=$linkopt
 fi
 
-echo "$prog $opts"
+if test x$V = x1 ; then
+    echo "$prog $opts"
+fi
 exec $prog $opts
 exit 0