* t/cscope.tap: Also check that the cscope program in use supports the
'-q' option; if this is not the case, some cscope usages in the generated
Makefiles would fail, so we must skip the checks involving those usages.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
$AUTOCONF || fatal_ "autoconf failed"
$AUTOMAKE -i -a || fatal_ "automake -i -a failed"
-# Sun cscope is interactive without redirection.
-if cscope --version </dev/null; then
+# Sun cscope is interactive without redirection; also, it might not
+# support the '-q' option, which is required by our generated recipes.
+if cscope -q --version </dev/null; then
have_cscope=yes
else
have_cscope=no
if test $have_cscope = no; then
# For later tests.
touch cscope.files cscope.out cscope.in.out cscope.po.out
- skip_row_ 3 -r "no cscope program avaiable"
+ skip_row_ 3 -r "no proper cscope program available"
return 0
fi