diff options
Diffstat (limited to 'maintainer/syntax-checks.mk')
-rw-r--r-- | maintainer/syntax-checks.mk | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/maintainer/syntax-checks.mk b/maintainer/syntax-checks.mk index 07a12ab6f..699203ad8 100644 --- a/maintainer/syntax-checks.mk +++ b/maintainer/syntax-checks.mk @@ -111,10 +111,10 @@ sc_perl_protos: $(srcdir)/maintainer/check-perl-protos <$(srcdir)/bin/automake.in # These check avoids accidental configure substitutions in the source. -# There are exactly 8 lines that should be modified from automake.in to +# There are exactly 7 lines that should be modified from automake.in to # automake, and 9 lines that should be modified from aclocal.in to # aclocal. -automake_diff_no = 8 +automake_diff_no = 7 aclocal_diff_no = 9 sc_diff_automake sc_diff_aclocal: in=$($*_in) sc_diff_automake sc_diff_aclocal: out=$($*_script) @@ -451,16 +451,12 @@ sc_m4_am_plain_egrep_fgrep: exit 1; \ fi -# Prefer 'configure.ac' over the obsolescent 'configure.in' as the name +# Use 'configure.ac', not the obsolete 'configure.in', as the name # for configure input files in our testsuite. The latter has been -# deprecated for several years (at least since autoconf 2.50). +# deprecated for several years (at least since autoconf 2.50) and +# support for it will be removed in Automake 2.0. sc_tests_no_configure_in: - @if grep -E '\bconfigure\\*\.in\b' $(xtests) $(xdefs) \ - | grep -Ev '/backcompat.*\.(sh|tap):' \ - | grep -Ev '/autodist-configure-no-subdir\.sh:' \ - | grep -Ev '/(configure|help)\.sh:' \ - | grep .; \ - then \ + @if grep -E '\bconfigure\\*\.in\b' $(xtests) $(xdefs); then \ echo "Use 'configure.ac', not 'configure.in', as the name" >&2; \ echo "for configure input files in the test cases above." >&2; \ exit 1; \ |