From: Bruno Haible Date: Wed, 7 May 2025 07:05:02 +0000 (+0200) Subject: Fix "make sc_prefer_ac_check_funcs_once" failure. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efe8025860337643078d288428ea1e27d1d13ac8;p=thirdparty%2Fgnulib.git Fix "make sc_prefer_ac_check_funcs_once" failure. * Makefile (exclude_file_name_regexp--sc_prefer_ac_check_funcs_once): New variable. (sc_prefer_ac_check_funcs_once): Use it. --- diff --git a/ChangeLog b/ChangeLog index dab0dc17df..1610ccd9eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2025-05-07 Bruno Haible + + Fix "make sc_prefer_ac_check_funcs_once" failure. + * Makefile (exclude_file_name_regexp--sc_prefer_ac_check_funcs_once): + New variable. + (sc_prefer_ac_check_funcs_once): Use it. + 2025-05-07 Bruno Haible Fix "make sc_prohibit_leading_TABs" failures. diff --git a/Makefile b/Makefile index 5fcc02510a..06ecc5d7c1 100644 --- a/Makefile +++ b/Makefile @@ -33,10 +33,14 @@ check: $(syntax-check-rules) sc_prefer_ac_check_funcs_once: @if test -d .git; then \ - git grep -w -l AC_CHECK_FUNCS modules \ + git grep -l -w AC_CHECK_FUNCS modules \ + | grep -Ev '$(exclude_file_name_regexp--sc_prefer_ac_check_funcs_once)' \ + | grep . \ && { echo use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS \ in modules/ 1>&2; exit 1; } || : \ else :; fi +exclude_file_name_regexp--sc_prefer_ac_check_funcs_once = \ + ^modules/(jit/cache) sc_prohibit_leading_TABs: @if test -d .git; then \