X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=6cda8f967f77aaee2bd1989aaf7aab16551c7ff9;hb=71fda00f320379f5cbee8e118848de98caaa229d;hp=00ee9bb92d78d11639c9918eb49ce0072b1ac86e;hpb=8b197c3a8a57c3f7c231b39e5660856fd9580c80;p=elogind.git diff --git a/configure.ac b/configure.ac index 00ee9bb92..6cda8f967 100644 --- a/configure.ac +++ b/configure.ac @@ -704,6 +704,14 @@ if test "x$enable_backlight" != "xno"; then fi AM_CONDITIONAL(ENABLE_BACKLIGHT, [test "$have_backlight" = "yes"]) +# ------------------------------------------------------------------------------ +have_rfkill=no +AC_ARG_ENABLE(rfkill, AS_HELP_STRING([--disable-rfkill], [disable rfkill tools])) +if test "x$enable_rfkill" != "xno"; then + have_rfkill=yes +fi +AM_CONDITIONAL(ENABLE_RFKILL, [test "$have_rfkill" = "yes"]) + # ------------------------------------------------------------------------------ have_logind=no AC_ARG_ENABLE(logind, AS_HELP_STRING([--disable-logind], [disable login daemon])) @@ -1042,6 +1050,7 @@ AC_MSG_RESULT([ tmpfiles: ${have_tmpfiles} randomseed: ${have_randomseed} backlight: ${have_backlight} + rfkill: ${have_rfkill} logind: ${have_logind} machined: ${have_machined} hostnamed: ${have_hostnamed}