]> 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>
Wed, 31 Aug 2022 22:25:49 +0000 (00:25 +0200)
commite6a84cc2223004f2b068ef4d23b1fe15b98e5e3a
tree7a29e8d9072254c4a275072ba747a2d7b2d6d1c3
parent259efc37322c2549607aef66941c3358a8f254a8
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