summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@samsung.com>2016-02-24 18:04:57 +0300
committerRussell Bryant <russell@ovn.org>2016-02-24 10:18:19 -0500
commit1478295a219f24c2296eb887954afac537c3665f (patch)
tree6aec373f29636544c44cedd55040cee1dcda9caa /m4
parent1589ee5ae97c3f71c50413db64ddd0546daeecc0 (diff)
downloadopenvswitch-1478295a219f24c2296eb887954afac537c3665f.tar.gz
configure: Fix checking of six library for Python 3.
Copied from python 2 checker but not corrected. Fixes: 8fb7d02686ed ("configure: Check for presence of Python 3.") Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Russell Bryant <russell@ovn.org>
Diffstat (limited to 'm4')
-rw-r--r--m4/openvswitch.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index fa85d3f30..b89925021 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -382,9 +382,9 @@ else:
fi
done
done
- if test $ovs_cv_python != no; then
- if test -x "$ovs_cv_python" && ! "$ovs_cv_python" -c 'import six' >/dev/null 2>&1; then
- ovs_cv_python=no
+ if test $ovs_cv_python3 != no; then
+ if test -x "$ovs_cv_python3" && ! "$ovs_cv_python3" -c 'import six' >/dev/null 2>&1; then
+ ovs_cv_python3=no
AC_MSG_WARN([Missing Python six library.])
fi
fi