changeset 5380:9cd2693d18a3

getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of fflush_unlocked, flockfile, funlockfile, funlockfile, fputs_unlocked, putc_unlocked.
author Simon Josefsson <simon@josefsson.org>
date Mon, 01 Nov 2004 21:46:25 +0000
parents 0f39ce3026e9
children 20b173a370ec
files m4/ChangeLog m4/getpass.m4
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
+	fflush_unlocked, flockfile, funlockfile, funlockfile,
+	fputs_unlocked, putc_unlocked.
+
 2004-10-22  Paul Eggert  <eggert@cs.ucla.edu>
 
 	* getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
--- a/m4/getpass.m4
+++ b/m4/getpass.m4
@@ -34,5 +34,6 @@
 # Prerequisites of lib/getpass.c.
 AC_DEFUN([gl_PREREQ_GETPASS], [
   AC_CHECK_HEADERS_ONCE(stdio_ext.h)
+  AC_CHECK_DECLS_ONCE([fflush_unlocked flockfile fputs_unlocked funlockfile putc_unlocked])
   :
 ])