chiark / gitweb /
Make sure that we don't dereference NULL
[elogind.git] / configure.ac
index 4f26092e9123c1eaf987301bc7ac56943ea8a437..00ee9bb92d78d11639c9918eb49ce0072b1ac86e 100644 (file)
@@ -524,6 +524,12 @@ else
         fi
 fi
 
+AC_ARG_WITH(smack-run-label,
+AS_HELP_STRING([--with-smack-run-label=STRING],
+        [run systemd --system with a specific SMACK label]),
+        [AC_DEFINE_UNQUOTED(SMACK_RUN_LABEL, ["$withval"], [Run with a smack label])],
+        [])
+
 if test "x${have_smack}" = xyes ; then
         AC_DEFINE(HAVE_SMACK, 1, [Define if SMACK is available])
 fi