[Top][All Lists]
[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
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., (continued)
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Simon Josefsson, 2007/01/22
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Jim Meyering, 2007/01/22
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., James Youngman, 2007/01/22
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Bruno Haible, 2007/01/22
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Jim Meyering, 2007/01/22
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Bruno Haible, 2007/01/22
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Andreas Schwab, 2007/01/22
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys".,
Ralf Wildenhues <=
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Ralf Wildenhues, 2007/01/22
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Paul Eggert, 2007/01/22
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Ralf Wildenhues, 2007/01/23
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Bruno Haible, 2007/01/22
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., James Youngman, 2007/01/23
- Re: Use "$(MKDIR_P) sys", not race-prone "test -d sys || mkdir sys"., Simon Josefsson, 2007/01/22