Hi Simon,

> +     @if ! indent --version 2> /dev/null | grep -q 'GNU indent'; then\

As mentioned in the Autoconf manual [1], the grep option '-q' is not portable.
E.g. on Solaris 10:

$ echo | grep -q x
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .

The portable alternative is
  grep 'GNU indent' > /dev/null

Bruno

[1] 
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/html_node/Limitations-of-Usual-Tools.html




Reply via email to