asn1: Better clang-format / makefile pattern

This commit is contained in:
Nicolas Williams
2022-01-16 13:41:37 -06:00
parent b889942340
commit fcfd380d15
2 changed files with 31 additions and 60 deletions

View File

@@ -20,6 +20,7 @@ AM_PROG_CC_C_O
AC_PROG_CPP
AM_PATH_PYTHON
AC_CHECK_PROG(CLANG_FORMAT, clang-format, [clang-format], [no])
test "$CLANG_FORMAT" = no && CLANG_FORMAT=true
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])