diff options
author | Shaun McCance <shaunm@redhat.com> | 2017-10-16 11:55:12 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@redhat.com> | 2017-10-16 11:55:12 -0400 |
commit | 07b7b6c207f9684ef610a738bd8a9314179e6a72 (patch) | |
tree | c9c337a3a2ac1cdf3709efb03ca6af89e20f04e1 | |
parent | c6419a81c35da62d577b43e8f5c4b53a0c92e0fa (diff) | |
download | itstool-07b7b6c207f9684ef610a738bd8a9314179e6a72.tar.gz |
Use $PYTHON for libxml2 check to use the right python
Fixes https://github.com/itstool/itstool/issues/16
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 2116c56..a34ec76 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ AM_PATH_PYTHON([2.6]) py_module=libxml2 AC_MSG_CHECKING(for python module $py_module) -echo "import $py_module" | python - &>/dev/null +echo "import $py_module" | $PYTHON - &>/dev/null if test $? -ne 0; then AC_MSG_RESULT(not found) AC_MSG_ERROR(Python module $py_module is needed to run this package) |