[pulseaudio-discuss] [PATCH] obvious typo prevents PolicyKit from being detected

Lennart Poettering lennart at poettering.net
Sun Nov 25 09:20:26 PST 2007


On Thu, 22.11.07 22:29, Nix (nix at esperi.org.uk) wrote:

> How did this ever work?
> 
> (you probably want to point out somewhere that this needs the unreleased
> PolicyKit 0.7 as well.)

No it doesn't need 0.7. The whole point of this check was
compatibility with 0.6 AND 0.7. 

I moved back to 0.6 while developing, so the final commit was only
tested against 0.6. And I wrote the test with 0.7 in mind, but never
actually tested it. 

Flameeyes commited a fix in r2075.

> 
> Index: configure.ac
> ===================================================================
> --- configure.ac	(revision 2074)
> +++ configure.ac	(working copy)
> @@ -881,7 +881,7 @@
>          [
>              HAVE_POLKIT=1
>              saved_LIBS="$LIBS"
> -            LIBS="$LIBS POLKIT_LIBS"
> +            LIBS="$LIBS $POLKIT_LIBS"
>              AC_CHECK_FUNCS(polkit_context_is_caller_authorized)
>              LIBS="$saved_LIBS"
>              AC_DEFINE([HAVE_POLKIT], 1, [Have PolicyKit])
> 
> 


Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list