diff options
author | rbuj <[email protected]> | 2020-05-18 21:20:43 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-05-21 20:22:59 +0200 |
commit | c676f92b9c6e707e3d07545833b114d23acdad36 (patch) | |
tree | 31aab732c036faaa656f90442d5e79b669f86e42 | |
parent | 5a4eaf4f6948401a7affa2aa63ed9038a9d5e1f6 (diff) | |
download | mate-applets-c676f92b9c6e707e3d07545833b114d23acdad36.tar.bz2 mate-applets-c676f92b9c6e707e3d07545833b114d23acdad36.tar.xz |
build: set 'enable_polkit=yes' if not given
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index a8c9df61..b15481f3 100644 --- a/configure.ac +++ b/configure.ac @@ -118,16 +118,16 @@ dnl -- check for PolicyKit and PolicyKit-mate (optional) ----------------------- POLKIT_CFLAGS= POLKIT_LIBS= AC_ARG_ENABLE([polkit], - AC_HELP_STRING([--enable-polkit], [Enable PolicyKit support @<:@default auto@:>@]), + AC_HELP_STRING([--enable-polkit], [Enable PolicyKit support @<:@default yes@:>@]), enable_polkit=$enableval, - enable_polkit=auto) + enable_polkit=yes) if test "x$enable_polkit" != "xno"; then if test "x$enable_polkit" = "xyes" -a "x$HAVE_DBUS" = "xno"; then - AC_MSG_ERROR([PolicyKit support explicitly requested but dbus-glib-1 not found]) + AC_MSG_ERROR([PolicyKit support requested but dbus-glib-1 not found]) fi PKG_CHECK_MODULES(POLKIT, polkit-gobject-1 >= $POLKIT_REQUIRED, HAVE_POLKIT=yes, HAVE_POLKIT=no) if test "x$enable_polkit" = "xyes" -a "x$HAVE_POLKIT" = "xno"; then - AC_MSG_ERROR([PolicyKit support explicitly requested but dependencies not found]) + AC_MSG_ERROR([PolicyKit support requested but dependencies not found]) fi fi dnl - This is only so the printout at the end of configure is correct - |