From d3640d300b16b3796a2c69db3825de0e9c5357af Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sat, 16 Apr 2005 18:49:09 +0000 Subject: [PATCH] getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES. --- m4/ChangeLog | 4 ++++ m4/getpass.m4 | 2 ++ 2 files changed, 6 insertions(+) diff --git a/m4/ChangeLog b/m4/ChangeLog index 7c9a177501..ac55c256be 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2005-04-15 Simon Josefsson + + * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES. + 2005-03-28 Eric Blake (tiny change) * getcwd-path-max.m4: Return success on systems such as Cygwin diff --git a/m4/getpass.m4 b/m4/getpass.m4 index 29d15e8844..3816253fd1 100644 --- a/m4/getpass.m4 +++ b/m4/getpass.m4 @@ -7,6 +7,8 @@ dnl with or without modifications, as long as this notice is preserved. # Provide a getpass() function if the system doesn't have it. AC_DEFUN([gl_FUNC_GETPASS], [ + AC_LIBSOURCES([getpass.c, getpass.h]) + AC_REPLACE_FUNCS(getpass) AC_CHECK_DECLS_ONCE(getpass) if test $ac_cv_func_getpass = no; then -- 2.30.2