Thread (9 messages) 9 messages, 4 authors, 2016-06-15

Re: [PATCH] mingw: disable Python

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:47:59

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help