1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

miracled: add udev-based link enumeration/monitor

Allow users to tag devices as "miracle" via udev so they get picked up
automatically. We also add a generic "remove"-monitor so we correctly drop
links as they get unplugged. The wpa_supplicant notification is unreliable
so we want the proper udev-events here.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
This commit is contained in:
David Herrmann 2014-02-17 14:37:25 +01:00
parent 14aa8368e6
commit 3a8e2ff9e0
3 changed files with 160 additions and 1 deletions

View file

@ -40,7 +40,7 @@ LT_INIT
# Mandatory dependencies
#
PKG_CHECK_MODULES([DEPS], [libwfd libsystemd-daemon >= 208])
PKG_CHECK_MODULES([DEPS], [libwfd libudev libsystemd-daemon >= 208])
PKG_CHECK_MODULES([GDHCP], [glib-2.0])
AC_CHECK_HEADERS(readline/readline.h,, AC_MSG_ERROR(GNU readline not found))