From 1c6714d2eabbf20b4ba5be388744a58a71b6410e Mon Sep 17 00:00:00 2001
From: Sergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>
Date: Mon, 17 Feb 2025 12:15:07 +0100
Subject: [PATCH] autotools: update m4 macro

---
 .pre-commit-config.yaml | 2 +-
 m4/asx_common.m4        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1750bd1e..ada91f36 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -8,7 +8,7 @@ repos:
     rev: v5.0.0
     hooks:
       - id: end-of-file-fixer
-        exclude: '^((contrib|m4)/.*|configure$)'
+        exclude: '^(contrib/.*|configure$)'
       - id: trailing-whitespace
         exclude: '^((LICENSES|contrib)/.*|src/mtime_iso8601\.c$)'
   - repo: https://github.com/pre-commit/mirrors-clang-format
diff --git a/m4/asx_common.m4 b/m4/asx_common.m4
index dca39095..b721c13d 100644
--- a/m4/asx_common.m4
+++ b/m4/asx_common.m4
@@ -134,4 +134,4 @@ sed "s/'/'\\\\\\\\''/g"`])])])
 #
 AC_DEFUN([ASX_SRCDIRS],
   [AC_REQUIRE_SHELL_FN([acx_subdir_srcdirs_fn], [], [_AC_SRCDIRS(["$[]1"])])dnl
-   acx_subdir_srcdirs_fn $1])
\ No newline at end of file
+   acx_subdir_srcdirs_fn $1])
-- 
GitLab