Re: extra error messages on Mac OS X

Nobuyoshi Nakada <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <[email protected]>
(13/03/08 22:01), Eric Blake wrote:
> On 03/07/2013 11:03 PM, Nobuyoshi Nakada wrote:
>>  From a464734a61366f6ff91c5a2ef147bbdfd11e2f62 Mon Sep 17 00:00:00 2001 From: 
>> Nobuyoshi Nakada Date: Fri, 8 Mar 2013 14:57:17 +0900 Subject: [PATCH] Avoid 
> 
> ...and completely mangled your attachment.  Can you please resend in a
> legible format?
> 

Sorry, seems Thunderbird sent it as text/html for some reason.


From a464734a61366f6ff91c5a2ef147bbdfd11e2f62 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <[email protected]>
Date: Fri, 8 Mar 2013 14:57:17 +0900
Subject: [PATCH] Avoid warnings about conftest.dSYM directories on Mac OS X.

* lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Remove `conftest.*'
recursively.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
* lib/autoconf/functions.m4 (AC_FUNC_SELECT_ARGTYPES): Likewise.
* lib/autoconf/general.m4 (AC_EGREP_CPP): Likewise.
---
 lib/autoconf/c.m4         | 2 +-
 lib/autoconf/fortran.m4   | 2 +-
 lib/autoconf/functions.m4 | 2 +-
 lib/autoconf/general.m4   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
index 6fe00fb..abf4a66 100644
--- a/lib/autoconf/c.m4
+++ b/lib/autoconf/c.m4
@@ -823,7 +823,7 @@ if _AC_DO_VAR(ac_try) &&
 else
   ac_cv_prog_cxx_c_o=no
 fi
-rm -f conftest*])
+rm -rf conftest*])
 if test $ac_cv_prog_cxx_c_o = no; then
   AC_DEFINE(CXX_NO_MINUS_C_MINUS_O, 1,
 	    [Define to 1 if your C++ compiler doesn't accept
diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4
index 3293657..f20b029 100644
--- a/lib/autoconf/fortran.m4
+++ b/lib/autoconf/fortran.m4
@@ -451,7 +451,7 @@ if _AC_DO_VAR(ac_try) &&
 else
   ac_cv_prog_[]_AC_LANG_ABBREV[]_c_o=no
 fi
-rm -f conftest*])
+rm -rf conftest*])
 if test $ac_cv_prog_[]_AC_LANG_ABBREV[]_c_o = no; then
   AC_DEFINE([]_AC_FC[]_NO_MINUS_C_MINUS_O, 1,
 	    [Define to 1 if your Fortran compiler doesn't accept
diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
index 1b56641..f994a4a 100644
--- a/lib/autoconf/functions.m4
+++ b/lib/autoconf/functions.m4
@@ -1510,7 +1510,7 @@ AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG234, ($[2]),
 		   [Define to the type of args 2, 3 and 4 for `select'.])
 AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG5, ($[3]),
 		   [Define to the type of arg 5 for `select'.])
-rm -f conftest*
+rm -rf conftest*
 ])# AC_FUNC_SELECT_ARGTYPES
 
 
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index 805535a..70b0168 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -2584,7 +2584,7 @@ dnl Quote $1 to prevent m4 from eating character classes
   $EGREP "[$1]" >/dev/null 2>&1],
   [$3],
   [$4])
-rm -f conftest*
+rm -rf conftest*
 ])# AC_EGREP_CPP
 
 
-- 
1.8.1.3


-- 
Nobu Nakada
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.