canonicalize-lgpl: use common idiom
authorEric Blake <eblake@redhat.com>
Mon, 6 Jun 2011 23:16:18 +0000 (17:16 -0600)
committerIan Beckwith <ianb@erislabs.net>
Fri, 10 Jun 2011 00:39:07 +0000 (01:39 +0100)
* m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Prefer older rm -rf
over newer POSIX -Rf.
Reported by Bruno Haible.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 79aac72351f56c4998c4cd176a7fd30a1598972b)

ChangeLog
m4/canonicalize.m4

index 5e21745..b33393a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-06-06  Eric Blake  <eblake@redhat.com>
 
+       canonicalize-lgpl: use common idiom
+       * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Prefer older rm -rf
+       over newer POSIX -Rf.
+       Reported by Bruno Haible.
+
        canonicalize-lgpl: work around AIX realpath bug
        * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Expose AIX bug.
        * doc/posix-functions/realpath.texi (realpath): Document it.
index dffdcc3..c08a786 100644 (file)
@@ -1,4 +1,4 @@
-# canonicalize.m4 serial 20
+# canonicalize.m4 serial 21
 
 dnl Copyright (C) 2003-2007, 2009-2011 Free Software Foundation, Inc.
 
@@ -95,7 +95,7 @@ AC_DEFUN([gl_FUNC_REALPATH_WORKS],
       ]])
     ], [gl_cv_func_realpath_works=yes], [gl_cv_func_realpath_works=no],
        [gl_cv_func_realpath_works="guessing no"])
-    rm -Rf conftest.a conftest.d
+    rm -rf conftest.a conftest.d
   ])
   if test "$gl_cv_func_realpath_works" = yes; then
     AC_DEFINE([FUNC_REALPATH_WORKS], [1], [Define to 1 if realpath()