From 8e4523a4412d593d090d413c39ebd3f14161e963 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 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 641f7df8b6..1d681ea6e2 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 e8f5d7c492..3c8b693ee5 100644 --- a/m4/setlocale_null.m4 +++ b/m4/setlocale_null.m4 @@ -1,12 +1,12 @@ # setlocale_null.m4 -# serial 9 +# 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. dnl This file is offered as-is, without any warranty. -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