mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +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-unusedFunction \
|
||||||
cppcheck-missingInclude
|
cppcheck-missingInclude
|
||||||
|
|
||||||
INDENT_CMD = indent \
|
INDENT_CMD = $(INDENT) \
|
||||||
--gnu-style \
|
--gnu-style \
|
||||||
--format-first-column-comments \
|
--format-first-column-comments \
|
||||||
--indent-level4 \
|
--indent-level4 \
|
||||||
|
@ -212,6 +212,7 @@ dnl Check for other tools
|
|||||||
dnl ############################################################################
|
dnl ############################################################################
|
||||||
|
|
||||||
AC_CHECK_TOOL(AR, ar, ar)
|
AC_CHECK_TOOL(AR, ar, ar)
|
||||||
|
AC_CHECK_TOOL(INDENT, gindent, indent)
|
||||||
mc_UNIT_TESTS
|
mc_UNIT_TESTS
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user