changeset 16953:0b8d637d4032

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>.
author Bruno Haible <bruno@clisp.org>
date Thu, 28 Jun 2012 12:50:41 +0200
parents 1b8b1b06fb47
children f581ed195ded
files ChangeLog m4/remove.m4
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/m4/remove.m4
+++ b/m4/remove.m4
@@ -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_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