summaryrefslogtreecommitdiff
path: root/modules/hard-locale
blob: 2dbe64e4a90d899ef660e50406b120accedc8195 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Description:
Determine whether the current locale is different from the "C" locale.

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

Depends-on:
stdbool
setlocale-null

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