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: Tue, 23 Jan 2007 09:22:19 +0000

On 1/22/07, Bruno Haible <address@hidden> wrote:
> > 2007-01-22  James Youngman  <address@hidden>
> >
> >         * m4/gnulib-common.m4 (AC_PROG_MKDIR_P): If AC_PROG_MKDIR_P
> >         is already provided, call AC_SUBST on MKDIR_P anyway, since
> >         the version of AC_PROG_MKDIR_P in Autoconf-2.61 (at least)
> >         doesn't do that.

Actually, this patch had no effect at all.

Well, maybe not for you.  It had solved (worked around, perhaps) the
problem for me.

The AC_SUBST was apparently ignored.
So I backed it out and added the following instead. Tested with

     autoconf  | 2.59 | 2.60, 2.61 |
  automake     |      |            |
  -------------+------+------------+
  1.9, 1.9.6   |  OK  |     OK     |
  -------------+------+------------+
  1.10         | N/A  |     OK     |
  -------------+------+------------+

Yes, this also works for me (i.e. CVS head findutils now builds again
with Automake 1.9.6 and Autoconf 2.61).

James.




reply via email to

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