Hi Paul,

* Paul Eggert wrote on Fri, May 19, 2006 at 06:15:11AM CEST:
> Ralf Wildenhues <[EMAIL PROTECTED]> writes:
> 
> > you need a different method in the config.status code to
> > detect whether you need to munge with $MKDIR_P for subdirectories,
> 
> Thanks for explaining that, and for the test case.  I installed this:

Thanks.  I simply failed to see such a nice and simple solution.
I installed this further patch to fix the failure Ralf Menzel reported.

Cheers,
Ralf

        * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary
        variable `ac_d' instead of `d' to avoid infringing namespace.
        Report by Ralf Menzel.

Index: lib/autoconf/programs.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/programs.m4,v
retrieving revision 1.53
diff -u -r1.53 programs.m4
--- lib/autoconf/programs.m4    13 May 2006 09:54:51 -0000      1.53
+++ lib/autoconf/programs.m4    19 May 2006 08:10:52 -0000
@@ -660,9 +660,9 @@
 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   MKDIR_P='mkdir -p'
 else
-  for d in ./-p ./--version
+  for ac_d in ./-p ./--version
   do
-    test -d $d && rmdir $d
+    test -d $ac_d && rmdir $ac_d
   done
   MKDIR_P="$ac_install_sh -d"
 fi


Reply via email to