freebsd-dev/usr.bin/make
Crist J. Clark c62ec993b4 make(1) claims to ignore the remainder of a conditional once its value
has been determined similar to C. That is, one expects a construction
like,

.if defined(TEST) && (${TEST:L} == "test")

Never to generate an error since the second expression should never be
evaluated when TEST is undefined.

However, this was not the case. The above fails with the current
make(1) if TEST is undefined. This patch fixes the above and many
similar cases.

PR:		bin/34032
Submitted by:	Alan Eldridge <alane@geeksrus.net>
MFC after:	1 week
2002-02-20 14:31:19 +00:00
..
lst.lib
PSD.doc
arch.c
buf.c
buf.h
compat.c
cond.c
config.h
dir.c
dir.h
for.c
hash.c
hash.h
job.c
job.h
list.h
lst.h
main.c
make.1
make.c
make.h
Makefile
Makefile.dist
nonints.h
parse.c
pathnames.h
sprite.h
str.c
suff.c
targ.c
util.c
var.c make(1) claims to ignore the remainder of a conditional once its value 2002-02-20 14:31:19 +00:00