autoconf: Add support for setting PYTHON_PATH or NO_PYTHON
commiteb858c56cb9dcced05d61d47c0351b4f8768d379
authorJakub Narebski <jnareb@gmail.com>
Wed, 2 Aug 2006 22:40:40 +0000 (3 00:40 +0200)
committerJunio C Hamano <junkio@cox.net>
Thu, 3 Aug 2006 00:16:41 +0000 (2 17:16 -0700)
treed525347205ba88856075e803e1abd6ae8a5505e6
parentc4b1b1401cedefe480e32ceccd4ed678f9409e89
autoconf: Add support for setting PYTHON_PATH or NO_PYTHON

This patch adds support for setting either PYTHON_PATH or NO_PYTHON to
autoconf generated ./configure script via --with-python=PATH (sets
PYTHON_PATH) or --without-python (sets NO_PYTHON).  Autodetect
PYTHON_PATH via AC_PATH_PROGS.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
configure.ac