Update configure.ac

This commit is contained in:
SoongNoonien 2020-01-11 12:24:13 +01:00 committed by GitHub
parent 5b6ffc6ba9
commit 8ebeb8eaee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,30 @@ else
AC_MSG_ERROR(required gtk version not found)
fi
dnl Check for MPDClient
AC_MSG_CHECKING(for MPDClient installed)
prog="
from mpd import MPDClient
"
if $PYTHON -c "$prog" 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
AC_MSG_RESULT(found)
else
AC_MSG_RESULT(not found)
AC_MSG_ERROR(MPDClient not found)
fi
dnl Check for beautifulsoup
AC_MSG_CHECKING(for beautifulsoup installed)
prog="
from bs4 import BeautifulSoup, Comment
"
if $PYTHON -c "$prog" 1>&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
AC_MSG_RESULT(found)
else
AC_MSG_RESULT(not found)
AC_MSG_ERROR(beautifulsoup not found)
fi
AC_CONFIG_FILES([Makefile
po/Makefile.in
bin/Makefile