Alon Bar-Lev has uploaded a new change for review.

Change subject: build: use consistent python path
......................................................................

build: use consistent python path

Current behavior:

1. aclocal.m4::AM_PATH_PYTHON detects python using PYTHON variable.
2. configure.ac: detects python again using PYTHON_PATH.
3. Makefile.am: uses python using hardcoded "python".

Problem:

Python cannot be overriden in consistent way.

Change:

1. Remove python redetection from configure.ac, use only PYTHON
   variable.
2. Use PYTHON in Makefile.am instead of hardcode.
3. Use PYTHON in substituted files.

Usage:

./configure PYTHON=/usr/bin/python2

Change-Id: Iac659a50019f42eb72fc35c2f8a1f7c0fbb2db50
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M configure.ac
M vdsm/Makefile.am
M vdsm/constants.py.in
M vdsm/storage/Makefile.am
M vdsm/sudoers.vdsm.in
5 files changed, 4 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/49/6049/1
--
To view, visit http://gerrit.ovirt.org/6049
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac659a50019f42eb72fc35c2f8a1f7c0fbb2db50
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to