From 8c2e899b47ea095e6af9dbfc10fb100b1e60814a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 21 Mar 2025 07:17:53 +0100 Subject: [PATCH] setlocale-null: Fix autoconf warning. * m4/setlocale_null.m4 (gl_FUNC_SETLOCALE_NULL): Define through AC_DEFUN_ONCE. --- ChangeLog | 6 ++++++ m4/setlocale_null.m4 | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77e0a4ca2b..51e381ad0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2025-03-21 Bruno Haible + + setlocale-null: Fix autoconf warning. + * m4/setlocale_null.m4 (gl_FUNC_SETLOCALE_NULL): Define through + AC_DEFUN_ONCE. + 2025-03-20 Bruno Haible Fix compilation errors in C++ mode on Android. diff --git a/m4/setlocale_null.m4 b/m4/setlocale_null.m4 index e5b7d28b16..70e5e1e0f4 100644 --- a/m4/setlocale_null.m4 +++ b/m4/setlocale_null.m4 @@ -1,11 +1,11 @@ # setlocale_null.m4 -# serial 9 -dnl Copyright (C) 2019-2024 Free Software Foundation, Inc. +# serial 10 +dnl Copyright (C) 2019-2025 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_FUNC_SETLOCALE_NULL], +AC_DEFUN_ONCE([gl_FUNC_SETLOCALE_NULL], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_PTHREADLIB]) -- 2.39.5