summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-03-24 11:46:24 +0100
committerBruno Haible <bruno@clisp.org>2023-03-24 11:46:24 +0100
commit9b58230c21b08eec75539978269668e0213f4608 (patch)
tree6640ceedec687dbe38cfaf2244acdefa98e45f83 /modules
parentd00bce3996ec46b0c4ad1690c1d153b9101d2239 (diff)
downloadgnulib-9b58230c21b08eec75539978269668e0213f4608.tar.gz
vprintf-gnu: New module.
* m4/vprintf-posix.m4 (gl_FUNC_VPRINTF_IS_POSIX): New macro. (gl_FUNC_VPRINTF_POSIX): Require it. Don't require gl_FUNC_VFPRINTF_POSIX. Invoke gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS and gl_REPLACE_VASNPRINTF. * m4/vprintf-gnu.m4: New file, based on m4/vfprintf-posix.m4. * modules/vprintf-gnu: New file, based on modules/vasnprintf-gnu. * doc/posix-functions/vprintf.texi: Mention the new module.
Diffstat (limited to 'modules')
-rw-r--r--modules/vprintf-gnu29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/vprintf-gnu b/modules/vprintf-gnu
new file mode 100644
index 0000000000..0fbefc85ba
--- /dev/null
+++ b/modules/vprintf-gnu
@@ -0,0 +1,29 @@
+Description:
+POSIX and GNU compatible vprintf() function: print formatted output to
+standard output
+
+Comment:
+This module should not be used as a dependency from a test module,
+otherwise when this module occurs as a tests-related module, it will
+have side effects on the compilation of the 'vasnprintf' module, if
+that module occurs among the main modules in lib/.
+
+Files:
+m4/vprintf-gnu.m4
+
+Depends-on:
+vprintf-posix
+
+configure.ac:
+gl_FUNC_VPRINTF_GNU
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+all