]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 23 Jan 2007 18:54:37 +0000 (18:54 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 23 Jan 2007 18:54:37 +0000 (18:54 +0000)
AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
substitution will still be done by the special code.
Report by Jim Meyering.

ChangeLog
lib/autoconf/programs.m4

index 112119d0765a7047d024606c0cf691f9ed3ae7fe..374d4fd1cb56ff79c66961c75a2270ed7c1b41c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2007-01-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
+       AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
+       trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
+       substitution will still be done by the special code.
+       Report by Jim Meyering.
+
        * doc/autoconf.texi (File System Conventions): Mention that
        $PATH_SEPARATOR is for the build system only.
        Report by Keith Marshall.
index 3aeee4d35ffda50049fc7453441ff581424d34cb..d5d4d1c3c219a044e44a2ad3b660a23fb6d8ddf6 100644 (file)
@@ -682,8 +682,12 @@ if test -z "$MKDIR_P"; then
     MKDIR_P="$ac_install_sh -d"
   fi
 fi
-dnl Do special magic for MKDIR_P instead of AC_SUBST, to get
-dnl relative names right.
+dnl status.m4 does special magic for MKDIR_P instead of AC_SUBST,
+dnl to get relative names right.  However, also AC_SUBST here so
+dnl that Automake versions before 1.10 will pick it up (they do not
+dnl trace AC_SUBST_TRACE).
+dnl FIXME: Remove this once we drop support for Automake < 1.10.
+AC_SUBST([MKDIR_P])dnl
 AC_MSG_RESULT([$MKDIR_P])
 ])# AC_PROG_MKDIR_P