diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-02-19 23:13:48 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-20 03:55:38 +0300 |
commit | a348ab702a84983c258e4961a58b1b9502f428c8 (patch) | |
tree | d293178a9fd51c5173e0834b028398d701626ff2 /Makefile | |
parent | 2a3763ef3d26eb38c0a47997b8e5fd2a7c5214cc (diff) |
Really honour NO_PYTHON
Do not even test for subprocess (trying to execute python).
Signed-off-by: Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -291,8 +291,10 @@ endif ifdef WITH_OWN_SUBPROCESS_PY PYMODULES += compat/subprocess.py else - ifneq ($(shell $(PYTHON_PATH) -c 'import subprocess;print"OK"' 2>/dev/null),OK) - PYMODULES += compat/subprocess.py + ifeq ($(NO_PYTHON),) + ifneq ($(shell $(PYTHON_PATH) -c 'import subprocess;print"OK"' 2>/dev/null),OK) + PYMODULES += compat/subprocess.py + endif endif endif |