diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-04-01 12:58:55 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-04-03 21:33:50 +0200 |
commit | 0e5fdadcd39c0a51a62be29b42752415d4892a71 (patch) | |
tree | 9c14be2acc5910294ecf565119de0fd1aa752795 | |
parent | 55408e8b946b4db77096d1ad403102823e1e6e25 (diff) | |
download | ModemManager-0e5fdadcd39c0a51a62be29b42752415d4892a71.tar.gz |
build: use 'no' to disable polkit, instead of 'none'
-rw-r--r-- | configure.ac | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index f2fc22e3e..26d54c108 100644 --- a/configure.ac +++ b/configure.ac @@ -214,23 +214,21 @@ dnl PKG_CHECK_MODULES(POLKIT, [polkit-gobject-1 >= 0.97], [have_polkit=yes],[have_polkit=no]) AC_ARG_WITH(polkit, - AS_HELP_STRING([--with-polkit=(strict|permissive|none)], + AS_HELP_STRING([--with-polkit=(strict|permissive|no)], [Enable PolicyKit support [[default=auto]]]),, [with_polkit=auto]) if test "x$with_polkit" = "xauto"; then if test "x$have_polkit" = "xno"; then - with_polkit="none" + with_polkit="no" else with_polkit="strict" fi -elif test "x$with_polkit" = "xno"; then - with_polkit=none elif test "x$with_polkit" = "xyes"; then with_polkit=strict fi -if test "x$with_polkit" = "xnone"; then +if test "x$with_polkit" = "xno"; then AC_DEFINE(WITH_POLKIT, 0, [Define if you have PolicyKit support]) else if test "x$have_polkit" = "xno"; then @@ -255,7 +253,7 @@ else AC_SUBST(MM_DEFAULT_USER_POLICY) fi -AM_CONDITIONAL(WITH_POLKIT, [test "x$with_polkit" != "xnone" ]) +AM_CONDITIONAL(WITH_POLKIT, [test "x$with_polkit" != "xno"]) dnl----------------------------------------------------------------------------- dnl MBIM support (enabled by default) |