From: Bruno Haible Date: Sat, 8 Apr 2023 13:26:13 +0000 (+0200) Subject: Avoid Autoconf "was expanded before it was required" warning. X-Git-Tag: v1.0~1485 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=70abd1f0c6d9fb2da6ebcb4234a9efc0b76bfff2;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index fe65c530d0..131a888051 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2023-04-08 Bruno Haible + + 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 striconveh tests: Avoid test failure on glibc 2.15. 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