# HG changeset patch # User Rik # Date 1354824368 28800 # Node ID e340df7b8034c56cdedfce8f586ee35c6613dd92 # Parent 71dfd53ed47a0b101eb70648890d13a416bd7d27 build: Check for 'mkdir -p' and then use it in Makefiles. * build-aux/common.mk: Substitute MKDIR_P variable with results from configure. * configure.ac: Add AC_PROG_MKDIR_P check. diff -r 71dfd53ed47a -r e340df7b8034 build-aux/common.mk --- a/build-aux/common.mk Thu Dec 06 11:54:22 2012 -0800 +++ b/build-aux/common.mk Thu Dec 06 12:06:08 2012 -0800 @@ -51,6 +51,7 @@ RANLIB = @RANLIB@ LN_S = @LN_S@ +MKDIR_P = @MKDIR_P@ MAKEINFO = @MAKEINFO@ TEXI2DVI = @TEXI2DVI@ diff -r 71dfd53ed47a -r e340df7b8034 configure.ac --- a/configure.ac Thu Dec 06 11:54:22 2012 -0800 +++ b/configure.ac Thu Dec 06 12:06:08 2012 -0800 @@ -2085,6 +2085,7 @@ OCTAVE_PROG_BISON AC_PROG_LN_S +AC_PROG_MKDIR_P AC_PROG_INSTALL INSTALL_SCRIPT='${INSTALL}'