From 6e94a9a960fdebf2c58859e94974256dca75ab05 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 28 Jun 2012 12:50:41 +0200 Subject: [PATCH 1/1] 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 . --- ChangeLog | 7 +++++++ m4/remove.m4 | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0b3acd1b6..e2fcd0a08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-06-28 Bruno Haible + + 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 . + 2012-06-27 Eric Blake config: drop scripts that automake says are not independent diff --git a/m4/remove.m4 b/m4/remove.m4 index 809efb3cf..731dcd695 100644 --- 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_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 -- 2.11.0