diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-10-18 14:20:58 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2015-10-18 14:20:58 +0100 |
commit | 200d1d662bd1d01d33cbdfcd41da70b09ebd78fb (patch) | |
tree | e3f16b0ff9cf65085a6f22ac5d0c4b75fcd788e7 | |
parent | 359be5c350fc3d869807f663cee2b028adf1f5d7 (diff) | |
download | itstool-baserock/2.0.2-3-g200d1d6-python_fix.tar.gz |
build: use $PYTHON when testing for libxml2baserock/2.0.2-3-g200d1d6-python_fix
/usr/bin/python is a symlink to /usr/bin/python3 on some systems.
In this case, configure unconditionally checks for the Python 3 version
of libxml2. Instead, use the version of Python found by AM_PATH_PYTHON.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7027112..666436e 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) |