changeset 15738:e340df7b8034

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.
author Rik <rik@octave.org>
date Thu, 06 Dec 2012 12:06:08 -0800
parents 71dfd53ed47a
children 3171006463f5
files build-aux/common.mk configure.ac
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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@
--- 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}'