]> Savannah Git Hosting - gnulib.git/commitdiff
vasnwprintf-posix: New module.
authorBruno Haible <bruno@clisp.org>
Fri, 17 Mar 2023 11:47:49 +0000 (12:47 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 17 Mar 2023 11:47:49 +0000 (12:47 +0100)
* m4/vasnwprintf-posix.m4: New file.
* modules/vasnwprintf-posix: New file, based on
modules/vasnprintf-posix.

ChangeLog
m4/vasnwprintf-posix.m4 [new file with mode: 0644]
modules/vasnwprintf-posix [new file with mode: 0644]

index d1a3edde047cb544979e0a73920d3e79e11bd75a..ea52155e294aa7724a7a64767f03215efcf322f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-03-17  Bruno Haible  <bruno@clisp.org>
+
+       vasnwprintf-posix: New module.
+       * m4/vasnwprintf-posix.m4: New file.
+       * modules/vasnwprintf-posix: New file, based on
+       modules/vasnprintf-posix.
+
 2023-03-17  Bruno Haible  <bruno@clisp.org>
 
        vasnprintf-posix: Relicense under LGPLv2+.
diff --git a/m4/vasnwprintf-posix.m4 b/m4/vasnwprintf-posix.m4
new file mode 100644 (file)
index 0000000..9561bcf
--- /dev/null
@@ -0,0 +1,21 @@
+# vasnwprintf-posix.m4 serial 1
+dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_FUNC_VASNWPRINTF_POSIX],
+[
+  gl_FUNC_VASNWPRINTF
+  gl_PREREQ_VASNPRINTF_LONG_DOUBLE
+  gl_PREREQ_VASNPRINTF_INFINITE_DOUBLE
+  gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE
+  gl_PREREQ_VASNPRINTF_DIRECTIVE_A
+  gl_PREREQ_VASNPRINTF_DIRECTIVE_F
+  gl_PREREQ_VASNPRINTF_DIRECTIVE_LS
+  gl_PREREQ_VASNPRINTF_FLAG_GROUPING
+  gl_PREREQ_VASNPRINTF_FLAG_LEFTADJUST
+  gl_PREREQ_VASNPRINTF_FLAG_ZERO
+  gl_PREREQ_VASNPRINTF_PRECISION
+  gl_PREREQ_VASNPRINTF_ENOMEM
+])
diff --git a/modules/vasnwprintf-posix b/modules/vasnwprintf-posix
new file mode 100644 (file)
index 0000000..ca14e64
--- /dev/null
@@ -0,0 +1,42 @@
+Description:
+POSIX compatible vswprintf with automatic memory allocation and bounded output
+size.
+
+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 'vasnwprintf' module, if
+that module occurs among the main modules in lib/.
+
+Files:
+m4/vasnwprintf-posix.m4
+m4/printf.m4
+m4/math_h.m4
+
+Depends-on:
+vasnwprintf
+isnand-nolibm
+isnanl-nolibm
+frexp-nolibm
+frexpl-nolibm
+printf-frexp
+printf-frexpl
+signbit
+fpucw
+nocrash
+printf-safe
+multiarch
+
+configure.ac:
+gl_FUNC_VASNWPRINTF_POSIX
+
+Makefile.am:
+
+Include:
+"vasnwprintf.h"
+
+License:
+LGPLv2+
+
+Maintainer:
+all