changeset 5072:d7698ffc0e5e

* free.m4: Replace free if it not known to work, not the other way round.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 21 May 2004 06:09:22 +0000
parents d525afe1916c
children d4c310e7951f
files m4/ChangeLog m4/free.m4
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-20  Andreas Schwab  <schwab@suse.de>
+
+	* free.m4: Replace free if it not known to work, not the other
+	way round.
+
 2004-05-17  Derek R. Price  <derek@ximbiot.com>
 	    Paul Eggert  <eggert@cs.ucla.edu>
 
--- 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.])