Junio C Hamano schrieb:
Erik Faye-Lund [off-list ref] writes:
quoted
quoted
On Fri, 8 Jan 2010, Johannes Sixt wrote:
quoted
(how do you undefine a Makefile variable?);
How about
NO_PYTHON=
in config.mak?
That doesn't work for me, at least not out of the box. NO_PYTHON is
still defined, it's just defined to an empty string.
I think Dscho is right. "ifdef FOO" yields (and should yield) false if
FOO is set to empty.
Indeed. Strange. It didn't work when I tested it a few hours ago, but no
it works as you say. According to the docs, 'ifdef' actually does not test
defined-ness, but emptyness. So, Erik's original version is fine:
Acked-by: Johannes Sixt <redacted>
-- Hannes