summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2017-09-23 12:22:17 +0200
committerBruno Haible <bruno@clisp.org>2017-09-23 17:29:45 +0200
commit19882ec15628386c45977ade98293e26791b7a15 (patch)
tree852f03b877af3fbd5048fbd4f3d431906c0cfdff /modules
parentb2fc4a431927a6fbdd523bef93357134d9c489a9 (diff)
downloadgnulib-19882ec15628386c45977ade98293e26791b7a15.tar.gz
strfmon_l: New module.
* modules/strfmon_l: New file. * lib/strfmon_l.c: New file. * m4/strfmon_l.m4: New file. * doc/posix-functions/strfmon_l.texi: Mention the new module. * modules/strfmon_l-tests: New file. * tests/test-strfmon_l.c: New file.
Diffstat (limited to 'modules')
-rw-r--r--modules/strfmon_l31
-rw-r--r--modules/strfmon_l-tests12
2 files changed, 43 insertions, 0 deletions
diff --git a/modules/strfmon_l b/modules/strfmon_l
new file mode 100644
index 0000000000..42a4c96221
--- /dev/null
+++ b/modules/strfmon_l
@@ -0,0 +1,31 @@
+Description:
+strfmon_l() function: formatted conversion of monetary value to string.
+
+Files:
+lib/strfmon_l.c
+m4/strfmon_l.m4
+
+Depends-on:
+monetary
+extensions
+
+configure.ac:
+gl_FUNC_STRFMON_L
+if test $REPLACE_STRFMON_L = 1; then
+ AC_LIBOBJ([strfmon_l])
+ gl_PREREQ_STRFMON_L
+fi
+gl_MONETARY_MODULE_INDICATOR([strfmon_l])
+
+Makefile.am:
+
+Include:
+#if HAVE_MONETARY_H
+<monetary.h>
+#endif
+
+License:
+LGPLv2+
+
+Maintainer:
+all
diff --git a/modules/strfmon_l-tests b/modules/strfmon_l-tests
new file mode 100644
index 0000000000..871962c6f9
--- /dev/null
+++ b/modules/strfmon_l-tests
@@ -0,0 +1,12 @@
+Files:
+tests/test-strfmon_l.c
+tests/signature.h
+tests/macros.h
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-strfmon_l
+check_PROGRAMS += test-strfmon_l