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

[PATCH 2/2] configure: Allow --without-python

From
Ben Walton <bwalton@artsci.utoronto.ca>
Date
Feb 1, 2010, 02:15 UTC
Message-ID
<1264990505-29578-3-git-send-email-bwalton@artsci.utoronto.ca>
In-Reply-To
<1264990505-29578-2-git-send-email-bwalton@artsci.utoronto.ca>

This patch allows someone to use configure to build git while at the same time disabling the python remote helper code. It leverages the ability of GIT_ARG_SET_PATH to accept an optional second argument indicating that --without-$PROGRAM is acceptable.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 9eaae7d..914ae57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -288,7 +288,7 @@ GIT_ARG_SET_PATH(shell)
 GIT_ARG_SET_PATH(perl)
 #
 # Define PYTHON_PATH to provide path to Python.
-GIT_ARG_SET_PATH(python)
+GIT_ARG_SET_PATH(python, allow-without)
 #
 # Define ZLIB_PATH to provide path to zlib.
 GIT_ARG_SET_PATH(zlib)
-- 
1.6.5.3
Previous: Ben WaltonNext: Junio C Hamano
Message 3 of 5 in “configure tweaks for NO_PYTHON”
  1. 0/2 configure tweaks for NO_PYTHONBen Walton, Feb 1, 2010
  2. 1/2 configure: Allow GIT_ARG_SET_PATH to handle --without-PROGRAMBen Walton, Feb 1, 2010
  3. 2/2 configure: Allow --without-pythonBen Walton, Feb 1, 2010
  4. Junio C HamanoFeb 1, 2010
  5. Ben WaltonFeb 1, 2010

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.