From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Subject: isnanl: Avoid autoconf warning
Date: Thu, 18 Jan 2024 15:17:45 +0100 [thread overview]
Message-ID: <2123737.otsE0voPBg@nimes> (raw)
When creating a testdir with the modules 'modfl' and 'log10l', I see this
warning:
executing autoconf
configure.ac:342: warning: AC_REQUIRE: 'gl_FUNC_ISNANL' was expanded before it was required
configure.ac:342: https://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required
glm4/logl.m4:7: gl_FUNC_LOGL is expanded from...
glm4/log10l.m4:7: gl_FUNC_LOG10L is expanded from...
configure.ac:30: gl_INIT is expanded from...
configure.ac:342: the top level
This patch fixes it.
2024-01-18 Bruno Haible <bruno@clisp.org>
isnanl: Avoid autoconf warning.
* m4/isnanl.m4 (gl_FUNC_ISNANL): Declare through AC_DEFUN_ONCE.
diff --git a/m4/isnanl.m4 b/m4/isnanl.m4
index b04d9bc984..9f7a5f133c 100644
--- a/m4/isnanl.m4
+++ b/m4/isnanl.m4
@@ -1,10 +1,10 @@
-# isnanl.m4 serial 25
+# isnanl.m4 serial 26
dnl Copyright (C) 2007-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
-AC_DEFUN([gl_FUNC_ISNANL],
+AC_DEFUN_ONCE([gl_FUNC_ISNANL],
[
AC_REQUIRE([gl_MATH_H_DEFAULTS])
ISNANL_LIBM=
reply other threads:[~2024-01-18 14:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=2123737.otsE0voPBg@nimes \
--to=bruno@clisp.org \
--cc=bug-gnulib@gnu.org \
/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).