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

Michael Biebl mbiebl at gmail.com
Sat Dec 1 09:18:54 PST 2007


2007/12/1, Michael Biebl <mbiebl at gmail.com>:
> 2007/12/1, Michael Biebl <mbiebl at gmail.com>:
> > 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.
>
> Hm, another possibility would be, to not run the checks in
> policy/Makefile.am, when polkit-policy-file-validate is not found (but
> print the warning message instead).
> This way "make (dist)check" would pass, even when
> polkit-policy-file-validate is not installed.

Please find attached a patch for this second approach (which I would prefer).

Cheers,
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-2.patch
Type: text/x-diff
Size: 1174 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071201/cb2e773f/attachment.patch 


More information about the hal mailing list