1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

fprintf-gnu: New module.

* m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_IS_POSIX): New macro,
extracted from gl_FUNC_FPRINTF_POSIX.
(gl_FUNC_FPRINTF_POSIX): Require it. Invoke
gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS.
* m4/fprintf-gnu.m4: New file, based on m4/fprintf-posix.m4.
* modules/fprintf-gnu: New file, based on modules/vasnprintf-gnu.
* doc/posix-functions/fprintf.texi: Mention the new module.
This commit is contained in:
Bruno Haible
2023-03-24 11:39:47 +01:00
parent dc8fb6206a
commit 005377bde6
5 changed files with 88 additions and 22 deletions

28
modules/fprintf-gnu Normal file
View File

@@ -0,0 +1,28 @@
Description:
POSIX and GNU compatible fprintf() function: print formatted output to a stream
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/fprintf-gnu.m4
Depends-on:
fprintf-posix
configure.ac:
gl_FUNC_FPRINTF_GNU
Makefile.am:
Include:
<stdio.h>
License:
LGPL
Maintainer:
all