• Bin Li's avatar
    autogoo: make udev rules dir configurable · ef231c27
    Bin Li authored
    Different distributions place udev rules in
    different locations (depending on whether or
    not /usr is a symlink to /)
    That means the location needs to be configurable.
    This commit adds a new ./configure argument,
    --with-udevdir that allows distributions to specify
    where udev looks for its data files.
    By default it pulls the answer from pkg-config.
    This commit also fixes `make distcheck` when run
    by an unprivileged user by disabling udev rule
    installation entirely during distcheck.
    Small changes by Ray Strode.
    Closes !44
configure.ac 49.1 KB