]> Savannah Git Hosting - gnulib.git/commitdiff
snprintf: Avoid autoconf warning regarding gl_PRINTF_POSITIONS.
authorBruno Haible <bruno@clisp.org>
Thu, 30 Mar 2023 10:52:14 +0000 (12:52 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 8 Apr 2023 10:54:59 +0000 (12:54 +0200)
* m4/printf.m4 (gl_PRINTF_POSITIONS): Define through AC_DEFUN_ONCE.

ChangeLog
m4/printf.m4

index dea4f9de2c1e3cafdf8f68a968294d82a63b0762..b40d7ed7575a06459815f8333537b9fae3b0451a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-03-30  Bruno Haible  <bruno@clisp.org>
+
+       snprintf: Avoid autoconf warning regarding gl_PRINTF_POSITIONS.
+       * m4/printf.m4 (gl_PRINTF_POSITIONS): Define through AC_DEFUN_ONCE.
+
 2023-03-25  Bruno Haible  <bruno@clisp.org>
 
        is* tests: Ensure needed .m4 files are packaged.
index 667452e34ecab0d2525931d24245ef9e012e666c..e639e92fdedc07ff2f5fdab660ca0d23e65a0753 100644 (file)
@@ -1,5 +1,5 @@
-# printf.m4 serial 73
-dnl Copyright (C) 2003, 2007-2022 Free Software Foundation, Inc.
+# printf.m4 serial 73.1
+dnl Copyright (C) 2003, 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.
@@ -833,7 +833,7 @@ dnl Test whether the *printf family of functions supports POSIX/XSI format
 dnl strings with positions. (POSIX:2001)
 dnl Result is gl_cv_func_printf_positions.
 
-AC_DEFUN([gl_PRINTF_POSITIONS],
+AC_DEFUN_ONCE([gl_PRINTF_POSITIONS],
 [
   AC_REQUIRE([AC_PROG_CC])
   AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles