[Python-Dev] Warning on use of "unset VARIABLE_NOT_SET" in Makefiles on FreeBSD 4.3

Mark Favas m.favas@per.dem.csiro.au
Tue, 24 Jul 2001 05:21:05 +0800


It seems that FreeBSD 4.3-RELEASE considers that 
"unset VARIABLE_NOT_ALREADY_SET" should be an error and sets the shell
return code to 1. This causes "make" to exit with an error when
executing (for example)

unset PYTHONPATH PYTHONHOME PYTHONSTARTUP; \
	./$(PYTHON) $(srcdir)/setup.py build

The "unset" is no longer in the CVS version, but is in 2.2a1...

uname -a
FreeBSD teche 4.3-RELEASE FreeBSD 4.3-RELEASE
sh
$ unset GGGG
$ echo $?
1
GGGG=42
unset GGGG
echo $?
0

-- 
Mark Favas  -   m.favas@per.dem.csiro.au
CSIRO, Private Bag No 5, Wembley, Western Australia 6913, AUSTRALIA