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 7e37a961de15e095e1a7cedf4d66376bd2e76147..41d5ef08f19a895011776ea08fb9907400d1c1c0 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