diff options
author | Bruno Haible <bruno@clisp.org> | 2023-01-07 11:42:52 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-01-07 18:06:51 +0100 |
commit | 7d19811f99083c87c761eff0e5fbe1ab32156fb6 (patch) | |
tree | f1eaf280018a27da10f5e2c0d092cb4b522a67c3 /modules | |
parent | 353a6ecc8bbfc2bfef0b1abc585662bee5f84699 (diff) | |
download | gnulib-7d19811f99083c87c761eff0e5fbe1ab32156fb6.tar.gz |
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.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/hard-locale | 7 | ||||
-rw-r--r-- | modules/hard-locale-tests | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/modules/hard-locale b/modules/hard-locale index df07d4a6ed..2c7846442e 100644 --- a/modules/hard-locale +++ b/modules/hard-locale @@ -11,7 +11,10 @@ setlocale-null 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: @@ -21,7 +24,7 @@ Include: "hard-locale.h" Link: -$(LIB_HARD_LOCALE) +$(HARD_LOCALE_LIB) License: LGPLv2+ diff --git a/modules/hard-locale-tests b/modules/hard-locale-tests index 7ed85754e5..90677d996f 100644 --- a/modules/hard-locale-tests +++ b/modules/hard-locale-tests @@ -13,7 +13,7 @@ AC_CHECK_FUNCS_ONCE([duplocale]) 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 |