* free.m4: Replace free if it not known to work, not the other way round.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 21 May 2004 06:09:22 +0000 (06:09 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 21 May 2004 06:09:22 +0000 (06:09 +0000)
m4/ChangeLog
m4/free.m4

index a87d3d7..02d81a2 100644 (file)
@@ -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>
 
index 537fb89..5e75465 100644 (file)
@@ -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.])