changeset 5800:0f2f00214187

getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
author Simon Josefsson <simon@josefsson.org>
date Sat, 16 Apr 2005 18:49:09 +0000
parents ad9eff556694
children 0a996c8a7620
files m4/ChangeLog m4/getpass.m4
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-15  Simon Josefsson  <jas@extundo.com>
+
+	* getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
+
 2005-03-28  Eric Blake  <ebb9@byu.net>  (tiny change)
 
 	* getcwd-path-max.m4: Return success on systems such as Cygwin
--- a/m4/getpass.m4
+++ b/m4/getpass.m4
@@ -7,6 +7,8 @@
 # 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