build: fix build after bffb332481

This commit is contained in:
Dan Williams
2010-02-27 07:49:57 -08:00
parent 27ffa6b272
commit 20796148ce
2 changed files with 2 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ dbusservice_DATA = org.freedesktop.ModemManager.conf
dbusservice_file_polkit = org.freedesktop.ModemManager.conf.polkit
dbusservice_file_nopolkit = org.freedesktop.ModemManager.conf.nopolkit
org.freedesktop.ModemManager.conf:
if WITH_POLKIT
cp -f $(top_srcdir)/$(dbusservice_file_polkit) $(dbusservice_DATA)
else

View File

@@ -56,7 +56,7 @@ AM_CONDITIONAL(WITH_POLKIT, test "x$with_polkit" = "xyes")
case $with_polkit in
yes)
with_polkit=yes
PKG_CHECK_MODULES(POLKIT, polkit >= 0.95 polkit-gobject-1)
PKG_CHECK_MODULES(POLKIT, polkit-gobject-1 >= 0.95)
AC_DEFINE(WITH_POLKIT, 1, [Define if you want to use PolicyKit])
AC_SUBST(POLKIT_CFLAGS)
AC_SUBST(POLKIT_LIBS)