diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2020-12-05 15:29:49 +0100 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-06-19 13:06:24 +0200 |
commit | cf46c63632d37f0f1a6ca7f03e3b9254f3494083 (patch) | |
tree | 9a115d8b0e4bee379b9db59024d424f68e5290ed /configure.ac | |
parent | 83b25a8418c441bf691f9187632bd180ec0c540e (diff) |
Check that the code is indented on distcheck.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 44d902b..9b3b3b0 100644 --- a/configure.ac +++ b/configure.ac @@ -3,9 +3,14 @@ AC_CONFIG_SRCDIR([src/libwebidoidc.c]) AM_INIT_AUTOMAKE([subdir-objects]) AM_SILENT_RULES([yes]) +AC_ARG_ENABLE([--enable-indent-check], + [When running tests, also check that the source code is indented]) + +AM_CONDITIONAL([INDENT_CHECK_ENABLED], [test "x$enable_indent_check" = "xyes"]) AC_PROG_CC AM_MISSING_PROG([SNARF], [guile-snarf]) AM_MISSING_PROG([HELP2MAN], [help2man]) +AM_MISSING_PROG([INDENT], [indent]) LT_INIT AC_CONFIG_HEADERS([config.h]) AM_GNU_GETTEXT([external]) |