view modules/vfprintf-posix @ 16498:e04c5a489c44

remainderf-ieee: Work around test failure on OSF/1. * m4/remainderf-ieee.m4: New file. * m4/remainderf.m4 (gl_FUNC_REMAINDERF): If gl_FUNC_REMAINDERF_IEEE is present, test whether remainderf works with a zero second argument. Replace it if not. * lib/math.in.h (remainderf): Override if REPLACE_REMAINDERF is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERF. * modules/math (Makefile.am): Substitute REPLACE_REMAINDERF. * modules/remainderf (configure.ac): Consider REPLACE_REMAINDERF. (Depends-on): Update conditions. * modules/remainderf-ieee (Files): Add m4/remainderf-ieee.m4. (Depends-on): Add remainder-ieee. (configure.ac): Invoke gl_FUNC_REMAINDERF_IEEE. * doc/posix-functions/remainderf.texi: Mention the remainderf-ieee module.
author Bruno Haible <bruno@clisp.org>
date Mon, 27 Feb 2012 19:33:31 +0100
parents 53e09ee0d19a
children 1f14c6dd175d
line wrap: on
line source

Description:
POSIX compatible vfprintf() 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:
lib/vfprintf.c
m4/vfprintf-posix.m4
m4/printf.m4
m4/math_h.m4

Depends-on:
stdio
nocrash
printf-safe
multiarch
fseterr         [test $REPLACE_VFPRINTF = 1]
vasnprintf      [test $REPLACE_VFPRINTF = 1]
isnand-nolibm   [test $REPLACE_VFPRINTF = 1]
isnanl-nolibm   [test $REPLACE_VFPRINTF = 1]
frexp-nolibm    [test $REPLACE_VFPRINTF = 1]
frexpl-nolibm   [test $REPLACE_VFPRINTF = 1]
printf-frexp    [test $REPLACE_VFPRINTF = 1]
printf-frexpl   [test $REPLACE_VFPRINTF = 1]
signbit         [test $REPLACE_VFPRINTF = 1]
fpucw           [test $REPLACE_VFPRINTF = 1]
errno           [test $REPLACE_VFPRINTF = 1]

configure.ac:
gl_FUNC_VFPRINTF_POSIX
gl_STDIO_MODULE_INDICATOR([vfprintf-posix])

Makefile.am:

Include:
<stdio.h>

License:
LGPL

Maintainer:
Bruno Haible