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.
-# 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.
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