]> Savannah Git Hosting - gnulib.git/commit
fopen-gnu: Allow use as dependency from test modules.
authorBruno Haible <bruno@clisp.org>
Mon, 3 Jan 2022 15:17:18 +0000 (16:17 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 3 Jan 2022 15:17:18 +0000 (16:17 +0100)
commita690f1be8debcbe5d5265915233d533a7f9dcbaf
treed95f02000227834221e0a0eeec51039e1adb62e8
parent918e06951df709672d744e7600cc808b065a8e9e
fopen-gnu: Allow use as dependency from test modules.

* m4/fopen.m4 (gl_FUNC_FOPEN_GNU): Set REPLACE_FOPEN_FOR_FOPEN_GNU
instead of REPLACE_FOPEN.
* m4/stdio_h.m4 (gl_STDIO_H_REQUIRE_DEFAULTS): Initialize the fopen-gnu
module indicator.
(gl_STDIO_H_DEFAULTS): Initialize REPLACE_FOPEN_FOR_FOPEN_GNU.
* modules/stdio (Makefile.am): Substitute GNULIB_FOPEN_GNU,
REPLACE_FOPEN_FOR_FOPEN_GNU.
* modules/fopen-gnu (Depends-on): Add more dependencies.
(configure.ac): Test REPLACE_FOPEN_FOR_FOPEN_GNU instead of
REPLACE_FOPEN.
* lib/stdio.in.h (fopen): Test REPLACE_FOPEN,
REPLACE_FOPEN_FOR_FOPEN_GNU, and the respective module indicators
instead of just REPLACE_FOPEN.
ChangeLog
lib/stdio.in.h
m4/fopen.m4
m4/stdio_h.m4
modules/fopen-gnu
modules/stdio