[pulseaudio-commits] r2075 - /trunk/configure.ac
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Fri Nov 23 07:27:59 PST 2007
Author: flameeyes
Date: Fri Nov 23 16:27:56 2007
New Revision: 2075
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2075&root=pulseaudio&view=rev
Log:
Fix detection of polkit_context_is_caller_authorized() function, also reported by Nix. Also fix detection of policydir for prefixes different from /usr.~
Modified:
trunk/configure.ac
Modified: trunk/configure.ac
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/configure.ac?rev=2075&root=pulseaudio&r1=2074&r2=2075&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Nov 23 16:27:56 2007
@@ -881,11 +881,11 @@
[
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])
- policydir=`pkg-config --variable prefix`/usr/share/PolicyKit/policy/
+ policydir=`pkg-config polkit-dbus --variable prefix`/share/PolicyKit/policy/
AC_SUBST(policydir)
],
[
More information about the pulseaudio-commits
mailing list