From: Bruno Haible Date: Tue, 15 Jul 2025 08:52:14 +0000 (+0200) Subject: getlocalename_l-unsafe: Make configuration more robust. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0808e27aa74e4778363eda722a2b4f08e2dcb1a;p=thirdparty%2Fgnulib.git getlocalename_l-unsafe: Make configuration more robust. * m4/getlocalename_l.m4 (gl_FUNC_GETLOCALENAME_L_UNSAFE): Require gl_LOCALE_H_DEFAULTS. --- diff --git a/ChangeLog b/ChangeLog index f74c56bbb3..80a388503a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2025-07-15 Bruno Haible + + getlocalename_l-unsafe: Make configuration more robust. + * m4/getlocalename_l.m4 (gl_FUNC_GETLOCALENAME_L_UNSAFE): Require + gl_LOCALE_H_DEFAULTS. + 2025-07-15 Bruno Haible localename-unsafe: Reduce dependencies. diff --git a/m4/getlocalename_l.m4 b/m4/getlocalename_l.m4 index 6c9d766ffa..629e510bef 100644 --- a/m4/getlocalename_l.m4 +++ b/m4/getlocalename_l.m4 @@ -1,5 +1,5 @@ # getlocalename_l.m4 -# serial 3 +# serial 4 dnl Copyright (C) 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, @@ -24,6 +24,7 @@ AC_DEFUN([gl_PREREQ_GETLOCALENAME_L_SIMPLE], AC_DEFUN_ONCE([gl_FUNC_GETLOCALENAME_L_UNSAFE], [ + AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) AC_REQUIRE([gl_FUNC_SETLOCALE_NULL]) AC_CHECK_FUNCS_ONCE([getlocalename_l]) if test $ac_cv_func_getlocalename_l = yes; then