bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug fix: conftest.dSYM is not removed on Darwin


From: Sam Steingold
Subject: bug fix: conftest.dSYM is not removed on Darwin
Date: Wed, 06 Dec 2017 12:27:22 -0500

$ac_rmfiles may contain *.dSYM which is a directory on Darwin and thus
must be removed with `rm -rf` rather than `rm -f`.

>From 480332c9a91e882c444e55ae5e445869e7b143e3 Mon Sep 17 00:00:00 2001
From: Sam Steingold <address@hidden>
Date: Wed, 6 Dec 2017 12:24:25 -0500
Subject: [PATCH] ac_rmfiles must be removed with "rm -rf" because it includes
 dSYM directory on Darwin

---
 lib/autoconf/lang.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4
index 4ce403ba..3d41e665 100644
--- a/lib/autoconf/lang.m4
+++ b/lib/autoconf/lang.m4
@@ -534,7 +534,7 @@ do
     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   esac
 done
-rm -f $ac_rmfiles
+rm -f -r $ac_rmfiles
 
 AS_IF([_AC_DO_VAR(ac_link_default)],
 [# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-- 
2.15.1

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
http://steingoldpsychology.com http://www.childpsy.net http://iris.org.il
http://honestreporting.com http://no2bds.org http://mideasttruth.com
Good programmers treat Microsoft products as damage and route around it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]