mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
buildsys: prefer gnu indent (gindent) to bsd indent if available
BSD indent does not have `--gnu-style` flag ;-) Signed-off-by: Yury V. Zaytsev <yury@shurup.com> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
87bdeeb591
commit
482025a286
@ -115,7 +115,7 @@ cppcheck-split-all: \
|
||||
cppcheck-unusedFunction \
|
||||
cppcheck-missingInclude
|
||||
|
||||
INDENT_CMD = indent \
|
||||
INDENT_CMD = $(INDENT) \
|
||||
--gnu-style \
|
||||
--format-first-column-comments \
|
||||
--indent-level4 \
|
||||
|
@ -212,6 +212,7 @@ dnl Check for other tools
|
||||
dnl ############################################################################
|
||||
|
||||
AC_CHECK_TOOL(AR, ar, ar)
|
||||
AC_CHECK_TOOL(INDENT, gindent, indent)
|
||||
mc_UNIT_TESTS
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user