Merge branch 'cygnus-test-fixes'
[platform/upstream/automake.git] / tests / cygnus-dependency-tracking.test
index 5f0051e..1bfec25 100755 (executable)
@@ -66,6 +66,7 @@ $MAKE test-nodeps
 $MAKE clean
 $MAKE >out 2>&1 && { cat out; Exit 1; }
 cat out
-$FGREP 'GIVE_BACK' out
+# Not all compilers mention the undefined symbol in the error message.
+grep GIVE_BACK out || grep main out
 
 :