From 87d3b47abba6a40fcf809c85a2b138bc1013d9c5 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Wed, 1 Oct 2014 14:26:34 +0200 Subject: BUILD: Use $(MKDIR_P) in Makefile.am MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was suggested by the Fedora automake maintainer to use the autoconf macro $(MKDIR_P) instead of calling "mkdir -p" directly as the macro is more portable and might actually expand to something else than "mkdir -p" on some platforms (usually it would be a variant of install.sh) Reviewed-by: Lukáš Slebodník --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2e1722deb..2852c2f8e 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,10 @@ m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) AC_DISABLE_STATIC AC_PROG_INSTALL AC_PROG_LIBTOOL +AC_PROG_MKDIR_P +m4_ifdef([AC_PROG_MKDIR_P], + [AC_PROG_MKDIR_P], + [MKDIR_P="mkdir -p"]) LT_LIB_DLLOAD AC_CONFIG_MACRO_DIR([m4]) AM_GNU_GETTEXT([external]) -- cgit