# HG changeset patch # User Paul Eggert # Date 1085119762 0 # Node ID d7698ffc0e5e6ebcf8bcb6d70c4e24a564f61893 # Parent d525afe1916c9abdf9bde2ec232585d34f058901 * free.m4: Replace free if it not known to work, not the other way round. diff --git a/m4/ChangeLog b/m4/ChangeLog --- 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 --- 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 @@ [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.])