summaryrefslogtreecommitdiff
path: root/gl/m4/getpass.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/getpass.m4')
-rw-r--r--gl/m4/getpass.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/gl/m4/getpass.m4 b/gl/m4/getpass.m4
index 29d15e8844..3816253fd1 100644
--- a/gl/m4/getpass.m4
+++ b/gl/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