1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Removed python site path check from configure.ac

This commit is contained in:
James Booth 2014-06-13 22:31:33 +01:00
parent 8a3ab0b4db
commit e95e6e1418

View File

@ -130,10 +130,6 @@ elif test "x$enable_python_plugins" != xno; then
AX_PYTHON_DEVEL
AM_CONDITIONAL([BUILD_PYTHON_API], [true])
AC_DEFINE([HAVE_PYTHON], [1], [Python support])
pythonsitepath=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())" 2>/dev/null`
if test "X$pythonsitepath" != "X"; then
AC_DEFINE_UNQUOTED([PYTHON_SITE_PATH], ["$pythonsitepath"], [Python Site Path])
fi
else
if test "x$enable_python_plugins" = xyes; then
AC_MSG_ERROR([Python not found, cannot enable Python plugins.])