autoconf: Improvements in NO_PYTHON/PYTHON_PATH handling
commitaf6058cc2bf309631fc7f5cd44fb39b567286506
authorJakub Narebski <jnareb@gmail.com>
Tue, 8 Aug 2006 16:38:06 +0000 (8 18:38 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 8 Aug 2006 20:34:00 +0000 (8 13:34 -0700)
tree988f8ce3df698dad62c735d51ff61ebb1e3d1c3c
parentb52b1d433b47888d79a73a514aa3430257cba863
autoconf: Improvements in NO_PYTHON/PYTHON_PATH handling

Unset NO_PYTHON for --with-python without arguments, and when
PYTHON_PATH is set.  Do not check for PYTHON_PATH if it is set
via --with-python=PYTHON_PATH.  Prefer "python" over version
specific names such as "python2.4".

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