Makefile.am already contains "ACLOCAL_AMFLAGS = -I m4",
that is enough for autoreconf to do the right thing.

Tested with
autoreconf -if && ./configure --enable-maintainer-mode && make && make distcheck

Signed-off-by: Dmitry V. Levin <l...@altlinux.org>
---
 ChangeLog    | 4 ++++
 configure.ac | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 2b2f7437..28a11e75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-12-15  Dmitry V. Levin  <l...@altlinux.org>
+
+       * configure.ac (AC_CONFIG_MACRO_DIR): Remove.
+
 2020-12-12  Dmitry V. Levin  <l...@altlinux.org>
 
        * configure.ac: Fix spelling typos in comments.
diff --git a/configure.ac b/configure.ac
index 9e29f169..268a4674 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,6 @@ AC_CONFIG_SRCDIR([libelf/libelf.h])
 AC_CONFIG_FILES([Makefile])
 AC_CONFIG_HEADERS([config.h])
 
-AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_FILES([m4/Makefile])
 
 dnl The RPM spec file.  We substitute a few values in the file.
-- 
ldv

Reply via email to