mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
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.
This commit is contained in:
@@ -11,11 +11,11 @@ getpass
|
||||
|
||||
configure.ac:
|
||||
gl_FUNC_GETPASS_GNU
|
||||
if test $HAVE_GETPASS = 0 || test $REPLACE_GETPASS = 1; then
|
||||
if test $HAVE_GETPASS = 0 || test $REPLACE_GETPASS_FOR_GETPASS_GNU = 1; then
|
||||
AC_LIBOBJ([getpass])
|
||||
gl_PREREQ_GETPASS
|
||||
fi
|
||||
gl_UNISTD_MODULE_INDICATOR([getpass])
|
||||
gl_UNISTD_MODULE_INDICATOR([getpass-gnu])
|
||||
|
||||
Makefile.am:
|
||||
|
||||
|
Reference in New Issue
Block a user