[SSSD] [PATCH] BUILD: Use $(MKDIR_P) in Makefile.am
Lukas Slebodnik
lslebodn at redhat.com
Fri Oct 3 15:37:29 UTC 2014
On (03/10/14 11:00), Stephen Gallagher wrote:
>
>
>
>On Fri, 2014-10-03 at 16:46 +0200, Jakub Hrozek wrote:
>> Hi,
>>
>> While I was talking to the Fedora automake maintainer about an
>> enhancement related to test environment, he suggested to make the change
>> in the attached patch.
>
>
>How far back does that macro go? Does it cover all platforms that SSSD
>presently supports? (I'm thinking primarily of RHEL 6 here)
I checked and it is on rhel6, (/usr/share/autoconf/autoconf/programs.m4)
but if we want to be good we can provide fallback,
which was used in Makefile.am anyway.
diff --git a/configure.ac b/configure.ac
index 2e1722d..eefb4e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,9 @@ AM_PROG_CC_C_O
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_DISABLE_STATIC
AC_PROG_INSTALL
+m4_ifdef([AC_PROG_MKDIR_P],
+ [AC_PROG_MKDIR_P],
+ [MKDIR_P="mkdir -p"])
AC_PROG_LIBTOOL
LT_LIB_DLLOAD
AC_CONFIG_MACRO_DIR([m4])
LS
More information about the sssd-devel
mailing list