autoconf
[Top][All Lists]
Advanced

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

Re: ensure a VPATH build (was: new macro)


From: Keith Marshall
Subject: Re: ensure a VPATH build (was: new macro)
Date: Sat, 18 Feb 2006 10:26:30 +0000

On Friday 17 February 2006 1:12 pm, Ralf Wildenhues wrote:
> >   pwd_curdir="`$1`"
> >   pwd_srcdir="`cd $srcdir && $1`"
>
> The double quotes are not necessary here.

Not just unnecessary, but positively harmful.  Several shells will fail 
to parse this correctly, *including* the MSYS version of bash.  See:
https://sourceforge.net/mailarchive/message.php?msg_id=14306922
https://sourceforge.net/mailarchive/message.php?msg_id=14354463

> `pwd' may not support `-W' either.

`pwd -W' is an MSYS extension, (it displays the native MS-Windows path, 
rather than the POSIX style favoured by MSYS).  Some shells will simply 
ignore it, (e.g. `sh' on SunOS-5); others treat it as an error, (e.g. 
`bash' other than in MSYS, Cygwin's `ash').

Regards,
Keith.




reply via email to

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