Skip to content

Commit

Permalink
configure: Fix checking of six library for Python 3.
Browse files Browse the repository at this point in the history
Copied from python 2 checker but not corrected.

Fixes: 8fb7d02 ("configure: Check for presence of Python 3.")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
  • Loading branch information
igsilya authored and russellb committed Feb 24, 2016
1 parent 1589ee5 commit 1478295
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions m4/openvswitch.m4
Expand Up @@ -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
Expand Down

0 comments on commit 1478295

Please sign in to comment.