From 4c70c05ca1c085156eba1c61c06f858885c63755 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 8 Jul 2016 13:20:52 -0400 Subject: [PATCH] Use AC_PROG_MKDIR_P (generic mkdir -p) Signed-off-by: Philippe Proulx Signed-off-by: Mathieu Desnoyers --- configure.ac | 1 + doc/examples/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c2b0535c..4256f665 100644 --- a/configure.ac +++ b/configure.ac @@ -49,6 +49,7 @@ AC_SUBST([PATCHLEVEL_VERSION], [V_PATCH]) AC_PROG_SED AC_PROG_GREP AC_PROG_LN_S +AC_PROG_MKDIR_P # libtool link_all_deplibs fixup. See http://bugs.lttng.org/issues/321. AC_ARG_ENABLE([libtool-linkdep-fixup], [ diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 50a534e8..c7e5b68f 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -147,7 +147,7 @@ all-local: for subdir in $(SUBDIRS_CMAKE); do \ ( \ cd $(SUBDIRS_CMAKE) && \ - mkdir -p build && \ + $(MKDIR_P) build && \ cd build && \ cmake -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include" -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/liblttng-ust/.libs" .. && \ $(MAKE) && \ -- 2.34.1