From 96f023c5e537dd4afbdb294de7065f65effe3eb2 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 4 May 2012 03:35:27 +0200 Subject: [PATCH] Simplify last commit. --- m4/remove.m4 | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/m4/remove.m4 b/m4/remove.m4 index b4a468a99..809efb3cf 100644 --- a/m4/remove.m4 +++ b/m4/remove.m4 @@ -10,16 +10,11 @@ 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" in - *yes) false;; + if { case "$gl_cv_func_rmdir_works:$gl_cv_func_unlink_works" in + *yes:*yes) false;; *) true;; esac - } \ - || { case "$gl_cv_func_unlink_works" in - *yes) false;; - *) true;; - esac - }; then + }; then dnl If either underlying syscall is broken, then remove likely has dnl the same bug; blindly use our replacement. REPLACE_REMOVE=1 -- 2.11.0