diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-10 05:43:11 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-10 05:43:11 +0000 |
commit | 1b26801391ff8981c211d55f462cf6a6294a8ed8 (patch) | |
tree | 1bc2cc7879ba9d87bfd40514aec4d3d93e231086 /m4/getpass.m4 | |
parent | 557ed575e8f209487e245851b6841ecc74970291 (diff) | |
download | coreutils-1b26801391ff8981c211d55f462cf6a6294a8ed8.tar.xz |
Sync with gnulib.
Diffstat (limited to 'm4/getpass.m4')
-rw-r--r-- | m4/getpass.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/getpass.m4 b/m4/getpass.m4 index 4449bc5fb..0c4d8050f 100644 --- a/m4/getpass.m4 +++ b/m4/getpass.m4 @@ -1,4 +1,4 @@ -# getpass.m4 serial 3 +# getpass.m4 serial 4 dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General @@ -10,6 +10,7 @@ dnl the same distribution terms as the rest of that program. AC_DEFUN([gl_FUNC_GETPASS], [ AC_REPLACE_FUNCS(getpass) + AC_CHECK_DECLS_ONCE(getpass) if test $ac_cv_func_getpass = no; then gl_PREREQ_GETPASS fi @@ -19,6 +20,7 @@ AC_DEFUN([gl_FUNC_GETPASS], # arbitrary length (not just 8 bytes as on HP-UX). AC_DEFUN([gl_FUNC_GETPASS_GNU], [ + AC_CHECK_DECLS_ONCE(getpass) dnl TODO: Detect when GNU getpass() is already found in glibc. AC_LIBOBJ(getpass) gl_PREREQ_GETPASS |