> * m4/~~gnulib.m4: New file. Not sure whether this is needed, but it feels safer with this patch:
2020-01-18 Bruno Haible <br...@clisp.org> Ensure Automake does not drop ~~gnulib.m4. * m4/~~gnulib.m4 (gl_ZZGNULIB): New macro. * m4/gnulib-common.m4 (gl_COMMON): Require it. diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4 index 6c4cad6..276ed1a 100644 --- a/m4/gnulib-common.m4 +++ b/m4/gnulib-common.m4 @@ -1,4 +1,4 @@ -# gnulib-common.m4 serial 46 +# gnulib-common.m4 serial 47 dnl Copyright (C) 2007-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -12,6 +12,7 @@ AC_DEFUN([gl_COMMON], [ dnl Use AC_REQUIRE here, so that the code is expanded once only. AC_REQUIRE([gl_00GNULIB]) AC_REQUIRE([gl_COMMON_BODY]) + AC_REQUIRE([gl_ZZGNULIB]) ]) AC_DEFUN([gl_COMMON_BODY], [ AH_VERBATIM([_Noreturn], diff --git a/m4/~~gnulib.m4 b/m4/~~gnulib.m4 index bb5e910..f476918 100644 --- a/m4/~~gnulib.m4 +++ b/m4/~~gnulib.m4 @@ -15,3 +15,9 @@ m4_define([AC_PROG_CC], gl_COMPILER_CLANG gl_COMPILER_PREPARE_CHECK_DECL ]) + +# gl_ZZGNULIB +# ----------- +# Witness macro that this file has been included. Needed to force +# Automake to include this file after all other gnulib .m4 files. +AC_DEFUN([gl_ZZGNULIB])