bug-make
[Top][All Lists]
Advanced

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

Re: Problem with CURDIR variable


From: Eli Zaretskii
Subject: Re: Problem with CURDIR variable
Date: Tue, 12 Dec 2006 06:29:01 +0200

> From: Paul Smith <address@hidden>
> Date: Mon, 11 Dec 2006 19:42:51 -0500
> Cc: address@hidden
> 
> This test is kind of strange.  Unless there's some specific reason the
> makefile REQUIRES the CURDIR variable to be set by make, it should be
> rewritten:
> 
> ifndef CURDIR
> $(error Please define the CURDIR variable (or use a newer version of GNU 
> make))
> endif

But this test could be defeated if CURDIR was defined in the
environment, right?  If so, the test should make sure CURDIR doesn't
come from the environment.




reply via email to

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