From: Samuel Mendoza-Jonas Date: Fri, 8 Apr 2016 06:31:36 +0000 (+1000) Subject: discover/udev: Don't call udev_set_log_fn() X-Git-Tag: v1.0.1~5 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=03eba1d68dbf7ffc9690d73f957c33b8f492e627;hp=03eba1d68dbf7ffc9690d73f957c33b8f492e627;p=petitboot discover/udev: Don't call udev_set_log_fn() As of libudev 218 udev_set_log_fn() is deprecated, causing a -Wdeprecated-declarations warning when building, and is otherwise a noop. Add a configure check for libudev, and only call udev_set_log_fn() if using a version older than 218. Signed-off-by: Samuel Mendoza-Jonas ---