Dan Kenigsberg has submitted this change and it was merged.

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/sos/vdsm.py.in
M vdsm/storage/Makefile.am
M vdsm/sudoers.vdsm.in
6 files changed, 5 insertions(+), 6 deletions(-)

Approvals:
  Dan Kenigsberg: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/6049
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iac659a50019f42eb72fc35c2f8a1f7c0fbb2db50
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Moran Goldboim <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to