bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys".


From: James Youngman
Subject: Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys".
Date: Mon, 22 Jan 2007 10:10:31 +0000

On 1/22/07, Bruno Haible <address@hidden> wrote:
James Youngman wrote:
> My generated aclocal.m4 file wants to substiture mkdir_p (courtesy of
> AM_PROG_MKDIR_P) but doesn't define AC_PROG_MKDIR_P.   Nevertheless my
> gnulib-common.m4 file is indeed at serial 2 and the gl_INIT in
> gnulib/m4/gnulib-comp.m4 does indeed invoke AC_PROG_MKDIR_P.

Huh? gnulib-common.m4 is not supposed to pull in automake's mkdirp.m4
(because 'aclocal' follows only the executed branches of m4_ifdef, not
all branches, since automake-1.8 or so). But AM_INIT should pull in
automake's mkdirp.m4. No??

Well, it seems that the problem is that AC_PROG_MKDIR_P from Autoconf
2.61 doesn't substitute MKDIR_P.  See my other email for a workaround
(I don't want to call it a fix since I'm not sure if it's the right
way to fix it).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]