summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-11-23 01:46:00 +0100
committerBruno Haible <bruno@clisp.org>2009-11-23 01:48:36 +0100
commit3f0d472e052865baf722ea457e35dd067b94a477 (patch)
tree1a6f787abe701f0b87c23d2291012b743268c419 /modules
parent15b8a93426dff14b43cc5e1dc340a869a0096f02 (diff)
downloadgnulib-3f0d472e052865baf722ea457e35dd067b94a477.tar.gz
New module 'duplocale'.
Diffstat (limited to 'modules')
-rw-r--r--modules/duplocale24
-rw-r--r--modules/locale2
2 files changed, 26 insertions, 0 deletions
diff --git a/modules/duplocale b/modules/duplocale
new file mode 100644
index 0000000000..00852fd5b0
--- /dev/null
+++ b/modules/duplocale
@@ -0,0 +1,24 @@
+Description:
+duplocale() function: duplicate a locale object.
+
+Files:
+lib/duplocale.c
+m4/duplocale.m4
+
+Depends-on:
+locale
+
+configure.ac:
+gl_FUNC_DUPLOCALE
+gl_LOCALE_MODULE_INDICATOR([duplocale])
+
+Makefile.am:
+
+Include:
+<locale.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
diff --git a/modules/locale b/modules/locale
index 953237dea7..8b4b3b6562 100644
--- a/modules/locale
+++ b/modules/locale
@@ -24,7 +24,9 @@ locale.h: locale.in.h
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' \
+ -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
-e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
+ -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
< $(srcdir)/locale.in.h; \
} > $@-t && \
mv $@-t $@