mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
build: added dependency check for python-dbus
This commit is contained in:
parent
9c181776d6
commit
cd884f4e31
14
configure.ac
14
configure.ac
@ -77,6 +77,20 @@ else
|
|||||||
AC_MSG_ERROR(python module requests not found)
|
AC_MSG_ERROR(python module requests not found)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl Check for dbus
|
||||||
|
AC_MSG_CHECKING(for dbus installed)
|
||||||
|
prog="
|
||||||
|
import dbus
|
||||||
|
import dbus.service
|
||||||
|
from dbus.mainloop.glib import DBusGMainLoop
|
||||||
|
"
|
||||||
|
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(python module dbus not found)
|
||||||
|
fi
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
bin/Makefile
|
bin/Makefile
|
||||||
|
Loading…
Reference in New Issue
Block a user