* top/maint.mk (sc_indent): Don't use non-GNU indent.
+2022-10-31 Simon Josefsson <simon@josefsson.org>
+
+ maintainer-makefile: Fix Apple Xcode 'make syntax-check'.
+ * top/maint.mk (sc_indent): Don't use non-GNU indent.
+
2022-10-16 Bruno Haible <bruno@clisp.org>
getdelim: Work around buggy implementation on macOS 10.13.
indent $(indent_args) $(INDENT_SOURCES)
sc_indent:
- @if ! command -v indent > /dev/null; then \
- echo 1>&2 '$(ME): sc_indent: indent is missing'; \
+ @if ! indent --version 2> /dev/null | grep -q 'GNU indent'; then\
+ echo 1>&2 '$(ME): sc_indent: GNU indent is missing'; \
else \
fail=0; files="$(INDENT_SOURCES)"; \
for f in $$files; do \