Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This consists of two changes: 1. The syntax in `configure.ac` was incorrect; the effect was that the build script always thought that the `clang-format` command was available, even if `$CLANG_FORMAT` was equal to `no`. 2. `format.sh` did not notice if `$CLANG_FORMAT` was not an actual command; in this case it would actually report that the code was formatted correctly and exit with a 0 status code. (This happened because the result of `clang-format` was being piped through `grep` and so the failure code from the invalid `clang-format` command was silently ignored.)
- Loading branch information