build: fix build after bffb332481
This commit is contained in:
@@ -31,6 +31,7 @@ dbusservice_DATA = org.freedesktop.ModemManager.conf
|
|||||||
dbusservice_file_polkit = org.freedesktop.ModemManager.conf.polkit
|
dbusservice_file_polkit = org.freedesktop.ModemManager.conf.polkit
|
||||||
dbusservice_file_nopolkit = org.freedesktop.ModemManager.conf.nopolkit
|
dbusservice_file_nopolkit = org.freedesktop.ModemManager.conf.nopolkit
|
||||||
|
|
||||||
|
org.freedesktop.ModemManager.conf:
|
||||||
if WITH_POLKIT
|
if WITH_POLKIT
|
||||||
cp -f $(top_srcdir)/$(dbusservice_file_polkit) $(dbusservice_DATA)
|
cp -f $(top_srcdir)/$(dbusservice_file_polkit) $(dbusservice_DATA)
|
||||||
else
|
else
|
||||||
|
@@ -56,7 +56,7 @@ AM_CONDITIONAL(WITH_POLKIT, test "x$with_polkit" = "xyes")
|
|||||||
case $with_polkit in
|
case $with_polkit in
|
||||||
yes)
|
yes)
|
||||||
with_polkit=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_DEFINE(WITH_POLKIT, 1, [Define if you want to use PolicyKit])
|
||||||
AC_SUBST(POLKIT_CFLAGS)
|
AC_SUBST(POLKIT_CFLAGS)
|
||||||
AC_SUBST(POLKIT_LIBS)
|
AC_SUBST(POLKIT_LIBS)
|
||||||
|
Reference in New Issue
Block a user