From: Ben Walton Date: Mon, 1 Feb 2010 02:15:05 +0000 (-0500) Subject: configure: Allow --without-python X-Git-Tag: v1.7.0-rc2~23^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dc78250f15a06cc9f31037040517f3a5c85ad470;p=git.git configure: Allow --without-python 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 Signed-off-by: Junio C Hamano --- diff --git a/configure.ac b/configure.ac index 995abe46d..e6be739eb 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)