]> Savannah Git Hosting - gnulib.git/commitdiff
Ensure Automake does not drop ~~gnulib.m4.
authorBruno Haible <bruno@clisp.org>
Sat, 18 Jan 2020 13:33:33 +0000 (14:33 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Jan 2020 13:33:33 +0000 (14:33 +0100)
* m4/~~gnulib.m4 (gl_ZZGNULIB): New macro.
* m4/gnulib-common.m4 (gl_COMMON): Require it.

ChangeLog
m4/gnulib-common.m4
m4/~~gnulib.m4

index ac1caf6fcba61d9f5e6fe5641631d9c5cd852635..020dfb9df887d805839db51ebf24c9b35b911449 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-01-18  Bruno Haible  <bruno@clisp.org>
+
+       Ensure Automake does not drop ~~gnulib.m4.
+       * m4/~~gnulib.m4 (gl_ZZGNULIB): New macro.
+       * m4/gnulib-common.m4 (gl_COMMON): Require it.
+
 2020-01-18  Bruno Haible  <bruno@clisp.org>
 
        Fix major regression from 2020-01-10.
index 6c4cad6cef4dcb1bf6e56bd8222a8cfd04d92390..276ed1affa5f506408056ac10bb678628f4ad109 100644 (file)
@@ -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],
index bb5e910914a2988247aab777d89dc26e76a7a986..f47691850af0d0c81bd551a8d3e20272cb481a49 100644 (file)
@@ -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])