Detect the udev installation properly and branch accordingly


This change unbreaks the build when one does not have libudev-dev installed as
the dependency is hard coded. However, it should be a soft (optional) dependency
and the project even supplies a fallback operation for that.

Change-Id: I6072ad54c1d778a79c7f02b68c80bd07eb24e5f4
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
commit6abf5031336011dd04086b94a56032b318715138
parentc97d325ab51c132e784b440d6f81841a1060607c
authorLaszlo Papp <lpapp@kde.org>
committerSergey Belyashov <Sergey.Belyashov@gmail.com>
commit timeThu, 7 Feb 2013 08:22:29 +0100