]> Savannah Git Hosting - gnulib.git/commit
getpass-gnu: Allow use as dependency from test modules.
authorBruno Haible <bruno@clisp.org>
Mon, 3 Jan 2022 15:34:39 +0000 (16:34 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 3 Jan 2022 15:34:39 +0000 (16:34 +0100)
commit11d41f8739f2c4ea375e785682935b11f0ab1967
treeda9b33797cdcd26f1414561a3731f420a4e35bc7
parenta690f1be8debcbe5d5265915233d533a7f9dcbaf
getpass-gnu: Allow use as dependency from test modules.

* m4/getpass.m4 (gl_FUNC_GETPASS_GNU): Set
REPLACE_GETPASS_FOR_GETPASS_GNU instead of REPLACE_GETPASS.
* m4/unistd_h.m4 (gl_UNISTD_H_REQUIRE_DEFAULTS): Initialize the
getpass-gnu module indicator.
(gl_UNISTD_H_DEFAULTS): Initialize REPLACE_GETPASS_FOR_GETPASS_GNU.
* modules/unistd (Makefile.am): Substitute GNULIB_GETPASS_GNU,
REPLACE_GETPASS_FOR_GETPASS_GNU.
* modules/getpass-gnu (configure.ac): Test
REPLACE_GETPASS_FOR_GETPASS_GNU instead of REPLACE_GETPASS. Set a module
indicator.
* lib/unistd.in.h (getpass): Test REPLACE_GETPASS,
REPLACE_GETPASS_FOR_GETPASS_GNU, and the respective module indicators
instead of just REPLACE_GETPASS.
ChangeLog
lib/unistd.in.h
m4/getpass.m4
m4/unistd_h.m4
modules/getpass-gnu
modules/unistd