On ArchLinux "python" points to 3.x version and the right
2.x python binary is "python2.7".

Signed-off-by: Dmitry V. Krivenok <krivenok.dmi...@gmail.com>
---
 m4/openvswitch.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index 6e24f25..3f0d097 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -244,7 +244,7 @@ AC_DEFUN([OVS_CHECK_PYTHON],
         ovs_cv_python=$PYTHON
       else
         ovs_cv_python=no
-        for binary in python python2.4 python2.5; do
+        for binary in python python2.4 python2.5 python2.7; do
           ovs_save_IFS=$IFS; IFS=$PATH_SEPARATOR
           for dir in $PATH; do
             IFS=$ovs_save_IFS
-- 
2.1.2
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to