summaryrefslogtreecommitdiff
path: root/modules/locale
blob: d15d5d3473719dbf6d3dc1edae166d4a21ac5c37 (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
34
35
36
37
Description:
A <locale.h> that conforms to POSIX.

Files:
lib/locale.in.h
m4/locale_h.m4

Depends-on:
include_next

configure.ac:
gl_LOCALE_H

Makefile.am:
BUILT_SOURCES += $(LOCALE_H)

# We need the following in order to create <locale.h> when the system
# doesn't have one that provides all definitions.
locale.h: locale.in.h
	rm -f $@-t $@
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
	  sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
	      -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
	      < $(srcdir)/locale.in.h; \
	} > $@-t
	mv $@-t $@
MOSTLYCLEANFILES += locale.h locale.h-t

Include:
<locale.h>

License:
LGPL

Maintainer:
Bruno Haible