Re: [PATCH 5/5] Optionally work without python
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 18, 2006, 06:50 UTC
- Message-ID
- <7vvevdtb2j.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0602171523510.24274@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> In some setups (notably server setups) you do not need that dependency. > Gracefully handle the absence of python when NO_PYTHON is defined.
> +ifdef NO_PYTHON > + TEST_DEFS += NO_PYTHON=YesPlease > +endif
I wonder if there is a better way to do this. All future NO_BLAH that may affect tests need to have something like this otherwise.
Show 6 quoted lines
> -default_strategies='recursive' > +if test -z "@@NO_PYTHON@@"; then > + default_strategies='recursive' > +else > + default_strategies='resolve' > +fi
Somebody commented on this part to make it shorter...
I'll take 2, 3, and 4 from this series for now. They will appear in "next". Thanks.