diff options
author | Bruno Haible <bruno@clisp.org> | 2022-01-03 16:34:39 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-01-03 16:34:39 +0100 |
commit | 11d41f8739f2c4ea375e785682935b11f0ab1967 (patch) | |
tree | da9b33797cdcd26f1414561a3731f420a4e35bc7 /m4/getpass.m4 | |
parent | a690f1be8debcbe5d5265915233d533a7f9dcbaf (diff) | |
download | gnulib-11d41f8739f2c4ea375e785682935b11f0ab1967.tar.gz |
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.
Diffstat (limited to 'm4/getpass.m4')
-rw-r--r-- | m4/getpass.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/getpass.m4 b/m4/getpass.m4 index 2238a5e787..863cb35485 100644 --- a/m4/getpass.m4 +++ b/m4/getpass.m4 @@ -1,4 +1,4 @@ -# getpass.m4 serial 16 +# getpass.m4 serial 17 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2022 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation @@ -42,7 +42,7 @@ AC_DEFUN([gl_FUNC_GETPASS_GNU], [gl_cv_func_getpass_good=no]) ]) if test $gl_cv_func_getpass_good != yes; then - REPLACE_GETPASS=1 + REPLACE_GETPASS_FOR_GETPASS_GNU=1 fi fi ]) |