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 <bwalton@artsci.utoronto.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ben Walton committed
Jan 31, 2010 at 21:15 UTC
dc78250f15a06cc9f31037040517f3a5c85ad470
1 file changed
+1
-1
configure.ac
+1
-1
@@ -288,7 +288,7 @@ GIT_ARG_SET_PATH(shell)
288
GIT_ARG_SET_PATH(perl)
289
#
290
# Define PYTHON_PATH to provide path to Python.
291
-GIT_ARG_SET_PATH(python)
291
+GIT_ARG_SET_PATH(python, allow-without)
292
#
293
# Define ZLIB_PATH to provide path to zlib.
294
GIT_ARG_SET_PATH(zlib)