| version=`gnuindent --version 2>/dev/null` |
| if test "x$version" = "x"; then |
| version=`indent --version 2>/dev/null` |
| if test "x$version" = "x"; then |
| echo "GStreamer git pre-commit hook:" |
| echo "Did not find GNU indent, please install it before continuing." |
| case `$INDENT --version` in |
| echo "Did not find GNU indent, please install it before continuing." |
| echo "(Found $INDENT, but it doesn't seem to be GNU indent)" |
| --case-brace-indentation0 \ |
| --braces-after-struct-decl-line \ |
| --dont-line-up-parentheses \ |
| --continuation-indentation4 \ |
| --leave-preprocessor-space \ |