]> git.ipfire.org Git - thirdparty/git.git/commit - configure.ac
configure: Allow GIT_ARG_SET_PATH to handle --without-PROGRAM
authorBen Walton <bwalton@artsci.utoronto.ca>
Mon, 1 Feb 2010 02:15:04 +0000 (21:15 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Feb 2010 21:03:54 +0000 (13:03 -0800)
commitf22cd7fcc54a98277b3d2b82f1bb0b593658925c
tree09cd673f7d7142917bc0cdc2fd9d1ddddc7a7637
parentb0883aa6c77111e88496bd0afe073caf68ab9f99
configure: Allow GIT_ARG_SET_PATH to handle --without-PROGRAM

Add an optional second argument to both GIT_ARG_SET_PATH and
GIT_CONF_APPEND_PATH such that any value of the second argument will
enable configure to set NO_$PROGRAM in addition to an empty
$PROGRAM_PATH.  This is initially useful for allowing configure to
disable the use of python, as the remote helper code has nothing
leveraging it yet.

The Makefile already recognizes NO_PYTHON, but configure provided no
way to set it appropriately.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
configure.ac