From: Bruno Haible <bruno@clisp.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: bug-gnulib@gnu.org
Subject: Re: Messed up gl_COMPILER_PREPARE_CHECK_DECL
Date: Sat, 18 Jan 2020 14:34:16 +0100 [thread overview]
Message-ID: <2323216.mW919xj1Fl@omega> (raw)
In-Reply-To: <1836243.Q2fHsFcniS@omega>
> * m4/~~gnulib.m4: New file.
Not sure whether this is needed, but it feels safer with this patch:
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.
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])
next prev parent reply other threads:[~2020-01-18 13:34 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-10 15:11 Messed up gl_COMPILER_PREPARE_CHECK_DECL Mats Erik Andersson
2020-01-10 20:14 ` Bruno Haible
2020-01-10 21:36 ` Mats Erik Andersson
2020-01-10 22:06 ` Paul Eggert
2020-01-10 22:47 ` Bruno Haible
2020-01-11 1:32 ` Paul Eggert
2020-01-13 19:02 ` Bruno Haible
2020-01-14 0:38 ` Paul Eggert
2020-01-18 13:14 ` Bruno Haible
2020-01-18 13:34 ` Bruno Haible [this message]
2020-01-18 15:31 ` Mats Erik Andersson
2020-01-18 18:11 ` Bruno Haible
2020-01-18 22:02 ` Mats Erik Andersson
2020-01-18 22:19 ` Bruno Haible
2020-01-18 21:39 ` Paul Eggert
2020-01-18 22:11 ` Bruno Haible
2020-01-18 22:23 ` Paul Eggert
2020-01-18 22:32 ` Bruno Haible
2020-01-18 17:58 ` Bruno Haible
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2323216.mW919xj1Fl@omega \
--to=bruno@clisp.org \
--cc=bug-gnulib@gnu.org \
--cc=eggert@cs.ucla.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).