+2023-01-07 Bruno Haible <bruno@clisp.org>
+
+ hard-locale: Rename LIB_HARD_LOCALE to HARD_LOCALE_LIB.
+ * modules/hard-locale (configure.ac): Rename LIB_HARD_LOCALE to
+ HARD_LOCALE_LIB.
+ All uses changed.
+ * NEWS: Mention the change.
+
2023-01-07 Bruno Haible <bruno@clisp.org>
getrandom: Rename LIB_GETRANDOM to GETRANDOM_LIB.
Date Modules Changes
+2023-01-07 hard-locale Link with $(HARD_LOCALE_LIB) instead of
+ $(LIB_HARD_LOCALE).
+
2023-01-07 getrandom Link with $(GETRANDOM_LIB) instead of
$(LIB_GETRANDOM).
configure.ac:
AC_REQUIRE([gl_FUNC_SETLOCALE_NULL])
-LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL"
+HARD_LOCALE_LIB="$LIB_SETLOCALE_NULL"
+AC_SUBST([HARD_LOCALE_LIB])
+dnl For backward compatibility.
+LIB_HARD_LOCALE="$HARD_LOCALE_LIB"
AC_SUBST([LIB_HARD_LOCALE])
Makefile.am:
"hard-locale.h"
Link:
-$(LIB_HARD_LOCALE)
+$(HARD_LOCALE_LIB)
License:
LGPLv2+
Makefile.am:
TESTS += test-hard-locale
check_PROGRAMS += test-hard-locale
-test_hard_locale_LDADD = $(LDADD) $(LIB_SETLOCALE) @LIB_HARD_LOCALE@
+test_hard_locale_LDADD = $(LDADD) $(LIB_SETLOCALE) @HARD_LOCALE_LIB@
# We cannot call this program 'locale', because the C++ compiler on Mac OS X
# would then barf upon '#include <locale>'. So, call it 'current-locale'.
noinst_PROGRAMS += current-locale