diff options
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 7dde1432..a25308df 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/configure.ac b/configure.ac index 1fba57d9..d636cea5 100644 --- a/configure.ac +++ b/configure.ac @@ -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) |