]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
fix: autoreconf fails due to .m4 files added but not installed
authorJim Meyering <meyering@fb.com>
Tue, 24 May 2022 06:20:37 +0000 (23:20 -0700)
committerJim Meyering <meyering@fb.com>
Tue, 24 May 2022 06:20:37 +0000 (23:20 -0700)
* m4/local.mk (dist_automake_ac_DATA): Add both rmf.m4 and xargsn.m4.
Building grep from "make maintainer-clean" state, failed like this:
  configure.ac:41: warning: _AM_PROG_RM_F is m4_require'd but not\
    m4_defun'd
  configure.ac:41: warning: _AM_PROG_XARGS_N is m4_require'd but not\
    m4_defun'd
  configure:5058: error: possibly undefined macro: _AM_PROG_RM_F
  configure:5059: error: possibly undefined macro: _AM_PROG_XARGS_N

m4/local.mk

index 3bc333b7be16e673dd957b0e45cfe3d1fe8d25a6..7ed018996a4694f466545df5810fb9ee4af6bdad 100644 (file)
@@ -46,6 +46,7 @@ dist_automake_ac_DATA = \
   %D%/options.m4 \
   %D%/python.m4 \
   %D%/prog-cc-c-o.m4 \
+  %D%/rmf.m4 \
   %D%/runlog.m4 \
   %D%/sanity.m4 \
   %D%/silent.m4 \
@@ -53,7 +54,8 @@ dist_automake_ac_DATA = \
   %D%/substnot.m4 \
   %D%/tar.m4 \
   %D%/upc.m4 \
-  %D%/vala.m4
+  %D%/vala.m4 \
+  %D%/xargsn.m4
 
 dist_system_ac_DATA = %D%/acdir/README