Remove the last dependency on the "free" module.
authorJim Meyering <meyering@redhat.com>
Sun, 2 Mar 2008 20:02:48 +0000 (21:02 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 2 Mar 2008 20:02:48 +0000 (21:02 +0100)
* m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE.
Reported by Bob Proulx.

ChangeLog
m4/readutmp.m4

index 29dc04a..9573a79 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-03-02  Jim Meyering  <meyering@redhat.com>
 
+       Remove the last dependency on the "free" module.
+       * m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE.
+       Reported by Bob Proulx.
+
        * lib/getdelim.c (getdelim): Don't leak memory upon failed realloc.
 
        Remove useless "if" tests before free.  Deprecate "free" module.
index eb6369f..6931dc5 100644 (file)
@@ -1,5 +1,5 @@
-# readutmp.m4 serial 14
-dnl Copyright (C) 2002-2007 Free Software Foundation, Inc.
+# readutmp.m4 serial 15
+dnl Copyright (C) 2002-2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -15,7 +15,6 @@ AC_DEFUN([gl_READUTMP],
 
     dnl Prerequisites of lib/readutmp.h and lib/readutmp.c.
     AC_REQUIRE([AC_C_INLINE])
-    AC_REQUIRE([gl_FUNC_FREE])
     AC_CHECK_FUNCS_ONCE(utmpname utmpxname)
     AC_CHECK_DECLS(getutent,,,[
 #ifdef HAVE_UTMP_H