]> Savannah Git Hosting - gnulib.git/commitdiff
Avoid Autoconf "was expanded before it was required" warning.
authorBruno Haible <bruno@clisp.org>
Sat, 8 Apr 2023 13:26:13 +0000 (15:26 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 21 Apr 2023 01:18:32 +0000 (03:18 +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 2be487ebaed4d5c92a66d99f46728bc51c50274a..325b2b7164214768efda898b2e655976bc1c6da0 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 2ef46437deb543d04128f600a3433f511b171c2d..163114b89ec6ceddd4a26382374d9f747433fbda 100644 (file)
@@ -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],
index f6395f23f2700f3d38b292527c1cb2ee339c2fd9..e761883939b32935e2fa22714d0cfb844f2e90d9 100644 (file)
@@ -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],
index e1fa5c48cc771b8cfc136839430f01d69829deb1..bc5638737e574db9b8c43a60987d617aa8d72876 100644 (file)
@@ -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