From bbe3a5c49043d2109dc7b091c326a48633f127b9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 21 May 2004 06:09:22 +0000 Subject: [PATCH] * free.m4: Replace free if it not known to work, not the other way round. --- m4/ChangeLog | 5 +++++ m4/free.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/m4/ChangeLog b/m4/ChangeLog index a87d3d735..02d81a276 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2004-05-20 Andreas Schwab + + * free.m4: Replace free if it not known to work, not the other + way round. + 2004-05-17 Derek R. Price Paul Eggert diff --git a/m4/free.m4 b/m4/free.m4 index 537fb893e..5e7546530 100644 --- a/m4/free.m4 +++ b/m4/free.m4 @@ -1,6 +1,6 @@ # Check whether free (NULL) is supposed to work. -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004 Free Software Foundation, Inc. # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General @@ -35,7 +35,7 @@ AC_DEFUN([gl_FUNC_FREE], [gl_cv_func_free=yes], [gl_cv_func_free=no])]) - if test $gl_cv_func_free = yes; then + if test $gl_cv_func_free = no; then AC_LIBOBJ(free) AC_DEFINE(free, rpl_free, [Define to rpl_free if the replacement function should be used.]) -- 2.11.0