summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-08 15:26:13 +0200
committerBruno Haible <bruno@clisp.org>2023-04-08 15:26:13 +0200
commit70abd1f0c6d9fb2da6ebcb4234a9efc0b76bfff2 (patch)
tree0babce537092414a0824ddb5575d5104f8a268d2 /m4
parent4a5183c461e092a322f250326ada143c5d0c381a (diff)
downloadgnulib-70abd1f0c6d9fb2da6ebcb4234a9efc0b76bfff2.tar.gz
Avoid Autoconf "was expanded before it was required" warning.
* m4/exponentf.m4 (gl_FLOAT_EXPONENT_LOCATION): Define through AC_DEFUN_ONCE. * m4/exponentd.m4 (gl_DOUBLE_EXPONENT_LOCATION): Likewise. * m4/exponentl.m4 (gl_LONG_DOUBLE_EXPONENT_LOCATION): Likewise.
Diffstat (limited to 'm4')
-rw-r--r--m4/exponentd.m44
-rw-r--r--m4/exponentf.m44
-rw-r--r--m4/exponentl.m44
3 files changed, 6 insertions, 6 deletions
diff --git a/m4/exponentd.m4 b/m4/exponentd.m4
index 2ef46437de..163114b89e 100644
--- a/m4/exponentd.m4
+++ b/m4/exponentd.m4
@@ -1,9 +1,9 @@
-# exponentd.m4 serial 3
+# exponentd.m4 serial 4
dnl Copyright (C) 2007-2008, 2010-2023 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_DOUBLE_EXPONENT_LOCATION],
+AC_DEFUN_ONCE([gl_DOUBLE_EXPONENT_LOCATION],
[
AC_CACHE_CHECK([where to find the exponent in a 'double'],
[gl_cv_cc_double_expbit0],
diff --git a/m4/exponentf.m4 b/m4/exponentf.m4
index f6395f23f2..e761883939 100644
--- a/m4/exponentf.m4
+++ b/m4/exponentf.m4
@@ -1,9 +1,9 @@
-# exponentf.m4 serial 2
+# exponentf.m4 serial 3
dnl Copyright (C) 2007-2008, 2010-2023 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_FLOAT_EXPONENT_LOCATION],
+AC_DEFUN_ONCE([gl_FLOAT_EXPONENT_LOCATION],
[
AC_CACHE_CHECK([where to find the exponent in a 'float'],
[gl_cv_cc_float_expbit0],
diff --git a/m4/exponentl.m4 b/m4/exponentl.m4
index e1fa5c48cc..bc5638737e 100644
--- a/m4/exponentl.m4
+++ b/m4/exponentl.m4
@@ -1,9 +1,9 @@
-# exponentl.m4 serial 5
+# exponentl.m4 serial 6
dnl Copyright (C) 2007-2023 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_LONG_DOUBLE_EXPONENT_LOCATION],
+AC_DEFUN_ONCE([gl_LONG_DOUBLE_EXPONENT_LOCATION],
[
AC_REQUIRE([gl_BIGENDIAN])
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles