git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Radoslaw SzkodzinskiNext: Johannes Schindelin
Message 3 of 4 in “Optionally work without python”
  1. 5/5 Optionally work without pythonJohannes Schindelin, Feb 17, 2006
  2. Radoslaw SzkodzinskiFeb 17, 2006
  3. Junio C HamanoFeb 18, 2006
  4. 5/5 Optionally work without pythonJohannes Schindelin, Feb 18, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.