]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: avoid a spurious failure when $CC != cc
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 29 May 2013 09:31:25 +0000 (11:31 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 29 May 2013 09:33:47 +0000 (11:33 +0200)
Fixes automake bug#14500.

* t/subpkg.sh: Improve the grepping of configure output.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/subpkg.sh

index 1223b13a031fbfc679c07bb299c104cfa9281459..f15294331b8364e7a05b2dfc64b3641dd947c602 100644 (file)
@@ -104,7 +104,7 @@ cd ..
 
 ./configure >stdout || { cat stdout; exit 1; }
 cat stdout
-grep '^checking whether cc understands -c and -o together' stdout
+$FGREP "checking whether $CC understands -c and -o together" stdout
 
 $MAKE
 $MAKE distcheck