remove: No longer override on all platforms. Fixes bug from 2012-03-20.
authorBruno Haible <bruno@clisp.org>
Thu, 28 Jun 2012 10:50:41 +0000 (12:50 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 28 Jun 2012 10:50:41 +0000 (12:50 +0200)
* m4/remove.m4 (gl_FUNC_REMOVE): Test gl_cv_func_unlink_honors_slashes,
not gl_cv_func_unlink_works.
Reported by Carlos O'Donell <carlos_odonell@mentor.com>.

ChangeLog
m4/remove.m4

index 0b3acd1..e2fcd0a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-06-28  Bruno Haible  <bruno@clisp.org>
+
+       remove: No longer override on all platforms. Fixes bug from 2012-03-20.
+       * m4/remove.m4 (gl_FUNC_REMOVE): Test gl_cv_func_unlink_honors_slashes,
+       not gl_cv_func_unlink_works.
+       Reported by Carlos O'Donell <carlos_odonell@mentor.com>.
+
 2012-06-27  Eric Blake  <eblake@redhat.com>
 
        config: drop scripts that automake says are not independent
index 809efb3..731dcd6 100644 (file)
@@ -1,4 +1,4 @@
-# remove.m4 serial 4
+# remove.m4 serial 5
 dnl Copyright (C) 2009-2012 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_REMOVE],
   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
   AC_REQUIRE([gl_FUNC_RMDIR])
   AC_REQUIRE([gl_FUNC_UNLINK])
-  if { case "$gl_cv_func_rmdir_works:$gl_cv_func_unlink_works" in
+  if { case "$gl_cv_func_rmdir_works:$gl_cv_func_unlink_honors_slashes" in
          *yes:*yes) false;;
          *) true;;
        esac