summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-03-30 07:41:47 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-03-30 07:41:47 +0000
commit015edf8dc7b3a5c9b0fcf4467b9bd5f294087e42 (patch)
tree31977cf9e153af90e31faf310c49d4ab1d515233 /m4
parentc5401e922ed4f5ca8c73d05988ccd539af1089c4 (diff)
downloadcoreutils-015edf8dc7b3a5c9b0fcf4467b9bd5f294087e42.tar.xz
(gl_READUTMP): Restore the requirement for gl_FUNC_FREE.
Diffstat (limited to 'm4')
-rw-r--r--m4/readutmp.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/readutmp.m4 b/m4/readutmp.m4
index d09294b25..ac413f6c1 100644
--- a/m4/readutmp.m4
+++ b/m4/readutmp.m4
@@ -1,4 +1,4 @@
-# readutmp.m4 serial 8
+# readutmp.m4 serial 9
dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -9,8 +9,9 @@ AC_DEFUN([gl_READUTMP],
AC_LIBSOURCES([readutmp.c, readutmp.h])
AC_LIBOBJ([readutmp])
- dnl Prerequisites of lib/readutmp.h.
+ dnl Prerequisites of lib/readutmp.h and lib/readutmp.c.
AC_REQUIRE([AC_C_INLINE])
+ AC_REQUIRE([gl_FUNC_FREE])
AC_CHECK_HEADERS_ONCE(utmp.h utmpx.h)
AC_CHECK_FUNCS_ONCE(utmpname utmpxname)
AC_CHECK_DECLS(getutent,,,[