]> Savannah Git Hosting - gnulib.git/commitdiff
Avoid Autoconf "was expanded before it was required" warning.
authorBruno Haible <bruno@clisp.org>
Fri, 21 Apr 2023 01:59:19 +0000 (03:59 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 21 Apr 2023 01:59:19 +0000 (03:59 +0200)
* 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.

ChangeLog
m4/exponentd.m4
m4/exponentf.m4
m4/exponentl.m4

index 06d6c1d5f5760679891c1a035d358f225a7612f6..c6d4c360bef9e21c8b342cfa26768321fd3a52dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-04-08  Bruno Haible  <bruno@clisp.org>
+
+       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.
+
 2023-04-08  Bruno Haible  <bruno@clisp.org>
 
        striconveh tests: Avoid test failure on glibc 2.15.
index 83ac08bf26a7281d1e94efba411ad9dee4b22491..163114b89ec6ceddd4a26382374d9f747433fbda 100644 (file)
@@ -1,9 +1,9 @@
-# exponentd.m4 serial 3
-dnl Copyright (C) 2007-2008, 2010-2022 Free Software Foundation, Inc.
+# 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],
index 32fdb6a25283e983d2d5be753a5620363b7f38f2..e761883939b32935e2fa22714d0cfb844f2e90d9 100644 (file)
@@ -1,9 +1,9 @@
-# exponentf.m4 serial 2
-dnl Copyright (C) 2007-2008, 2010-2022 Free Software Foundation, Inc.
+# 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],
index 653ad5a9451f8aa26916dc8d2cd5f82ad4168121..bc5638737e574db9b8c43a60987d617aa8d72876 100644 (file)
@@ -1,9 +1,9 @@
-# exponentl.m4 serial 5
-dnl Copyright (C) 2007-2022 Free Software Foundation, Inc.
+# 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