[PATCH] Don't fail if polkit-policy-file-validate is not found

Michael Biebl mbiebl at gmail.com
Sat Dec 1 08:39:03 PST 2007


Hi,

the configure check for polkit-policy-file-validate is not strictly
necessary for successully compiling the package. It's only needed if
you want to run "make check" or "make distcheck" (and as such mainly
interesting for creating the dist tarball).
The attached patch makes ./configure not fail, if the tool is not
found, but instead print a big warning at the end of the configure
run.

This patch is interesting, because it keeps the build dependencies as
minimal as possible.
If you want to compile hal in a clean build chroot, I want to avoid
having to install the policykit package (+ all its dependencies) when
all you need is libpolkit(-devel).

Please review and apply,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polkit_policy_file_validate_check.patch
Type: text/x-diff
Size: 1063 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071201/658b8da6/attachment-0001.patch 


More information about the hal mailing list