]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
getlocalename_l-unsafe: Make configuration more robust.
authorBruno Haible <bruno@clisp.org>
Tue, 15 Jul 2025 08:52:14 +0000 (10:52 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 15 Jul 2025 08:55:21 +0000 (10:55 +0200)
* m4/getlocalename_l.m4 (gl_FUNC_GETLOCALENAME_L_UNSAFE): Require
gl_LOCALE_H_DEFAULTS.

ChangeLog
m4/getlocalename_l.m4

index f74c56bbb363bbe82abbc16dae974ede4ad15613..80a388503a45262cefb9959cdcc06b9a5e606a9d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-07-15  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        localename-unsafe: Reduce dependencies.
index 6c9d766ffa8cc6277c8027c4361a271f666cc974..629e510bef147401cdd0268e4b145beed62f02c6 100644 (file)
@@ -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