Use correct udev base directory
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 5 Jul 2009 17:44:45 +0000 (10:44 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 5 Jul 2009 17:44:45 +0000 (10:44 -0700)
configure.ac

index 7e37a96..41d5ef0 100644 (file)
@@ -202,7 +202,7 @@ if (test "${enable_udev}" = "yes"); then
                AC_DEFINE(NEED_UDEV_MONITOR_FILTER, 1,
                        [Define to 1 if you need the
                                        udev_monitor_filter...() functions.]))
-       UDEV_DATADIR="`$PKG_CONFIG --variable=rulesdir libudev`"
+       UDEV_DATADIR="`$PKG_CONFIG --variable=udevdir udev`/rules.d"
        if (test -z "${UDEV_DATADIR}"); then
                UDEV_DATADIR="${sysconfdir}/udev/rules.d"
        fi