From: Junio C Hamano Date: Sat, 18 Feb 2006 06:50:28 GMT Subject: Re: [PATCH 5/5] Optionally work without python Message-ID: <7vvevdtb2j.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin 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. > -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.