Alexandre Duret-Lutz writes:
"RW" == Ralf Wildenhues <[EMAIL PROTECTED]> writes:
RW> Another possibility would be to back out the relevant
RW> change of AM_PROG_MKDIR_P for Automake-1.10;
I've installed this simple change in Automake.
By which you have re-introduced a bug we fixed before.
Please revert this patch, $(MKDIR_P) is not the same in all
Makefiles.
Cheers,
Ralf
--- m4/mkdirp.m4 19 Aug 2006 13:58:03 -0000 1.12
+++ m4/mkdirp.m4 19 Aug 2006 15:45:36 -0000
@@ -11,5 +11,9 @@
AC_DEFUN([AM_PROG_MKDIR_P],
[AC_PREREQ([2.60])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
-AC_SUBST([mkdir_p], ['$(MKDIR_P)'])dnl
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p.
+dnl We now use MKDIR_P, while keeping a definition of mkdir_p for
+dnl backward compatibility. Do not define mkdir_p as $(MKDIR_P) for
+dnl the sake of Makefile.ins that do not define MKDIR_P.
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
])