[packagekit] Building against PolicyKit 0.7

Matthias Clasen matthias.clasen at gmail.com
Sun Dec 9 23:00:33 PST 2007


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.


More information about the PackageKit mailing list