changeset 9751:d185045bb021

Remove the last dependency on the "free" module. * m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE. Reported by Bob Proulx.
author Jim Meyering <meyering@redhat.com>
date Sun, 02 Mar 2008 21:02:48 +0100
parents 98643d71bad2
children 40496da79331
files ChangeLog m4/readutmp.m4
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/m4/readutmp.m4
+++ b/m4/readutmp.m4
@@ -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 @@
 
     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