[packagekit] Building against PolicyKit 0.7
S.Çağlar Onur
caglar at pardus.org.tr
Sun Dec 9 23:12:02 PST 2007
Hi;
Monday 10 December 2007 09:00:33 tarihinde Matthias Clasen şunları yazmıştı:
> On Dec 10, 2007 1:45 AM, S.Çağlar Onur <caglar at pardus.org.tr> wrote:
> -
> > if test x$with_security_framework = x; then
> > - if test -f /usr/bin/polkit-list-actions ; then
> > + if test -f /usr/bin/polkit-action ; then
> > with_security_framework=polkit
> > else
> > AC_MSG_ERROR([--with-security-framework explicitly required when not using PolicyKit or RBAC])
>
> I'd just get rid of the -f check (as in my patch). There is no real
> point, and it is a bit silly to check for a binary whose name may
> change, only to do the proper pkg-config check a few lines down.
Yep it's not the best thing to do but if i'm not wrong that pkg-config check only runs if --with-security-framework=polkit explictly given or ./configure selects polkit
automatically by using these bits.
Cheers
More information about the PackageKit
mailing list