[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VPATH build failure on cygwin
From: |
Chet Ramey |
Subject: |
Re: VPATH build failure on cygwin |
Date: |
Thu, 04 Jun 2015 14:50:37 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/2/15 9:10 AM, Eric Blake wrote:
> That is, the use of .: in VPATH is redundant, and will NOT find any
> files that were not already found if you had omitted it, because make
> already searches the current directory before resorting to VPATH.
>
> Thus, in all of your Makefile.in files, you should change:
>
> VPATH = .:@srcdir@
>
> to be:
>
> VPATH = @srcdir@
>
> so that bash can once again be built with the current cygwin build of
> make; such a change will not break any other platforms.
Thanks. As I recall, the rationale for including `.' in the VPATH had to
do with old BSD make incompatibilities or Solaris make VPATH rewriting and
y.tab.[ch]. I'll try your suggestion and see how it goes.
Chet
- --
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlVwnfUACgkQu1hp8GTqdKufUwCdE9HXgr09bKyyLjTie2X5FRHX
CG8An0tq3viXOUmxq+npVJTCbUhKSFW+
=LMKr
-----END PGP SIGNATURE-----