Description:
Determine whether the current locale is different from the "C" locale.

Files:
lib/hard-locale.h
lib/hard-locale.c

Depends-on:
bool
setlocale-null
stringeq

configure.ac:
AC_REQUIRE([gl_FUNC_SETLOCALE_NULL])
HARD_LOCALE_LIB="$SETLOCALE_NULL_LIB"
AC_SUBST([HARD_LOCALE_LIB])
dnl For backward compatibility.
LIB_HARD_LOCALE="$HARD_LOCALE_LIB"
AC_SUBST([LIB_HARD_LOCALE])

Makefile.am:
lib_SOURCES += hard-locale.c

Include:
"hard-locale.h"

Link:
$(HARD_LOCALE_LIB)

License:
LGPLv2+

Maintainer:
Paul Eggert
