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: Ralf Wildenhues
Subject: Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys".
Date: Mon, 22 Jan 2007 19:45:36 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Bruno, all,

* Bruno Haible wrote on Mon, Jan 22, 2007 at 05:48:53PM CET:
> Jim Meyering wrote:
> > I wonder which use case made it so using AC_SUBST wasn't an option.
> 
> IIRC, it is when the user specifies
>   ../path/configure --srcdir=../path
> with a relative pathname. Normally you can omit --srcdir, because configure
> finds it by itself;

This is correct.

> then $ac_srcdir is an absolute path;

This is wrong.

> then $(install_sh) is an absolute path as well.


> Such a usage is rare.

With due respect, this is wrong, too.

Hope that helps.

Cheers,
Ralf




reply via email to

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