changeset 14881:a45bd474f320

canonicalize-lgpl: use common idiom * 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>
author Eric Blake <eblake@redhat.com>
date Mon, 06 Jun 2011 17:16:18 -0600
parents 608708e78fec
children 6bda4d963605
files ChangeLog m4/canonicalize.m4
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/m4/canonicalize.m4
+++ b/m4/canonicalize.m4
@@ -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 @@
       ]])
     ], [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()