summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-12-12 03:43:45 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2015-12-12 03:53:22 +0000
commit566c9f5ad5b3b27f221e1cd4a8d7ca48c8438aa9 (patch)
tree62b7b1762709687cd09ea6c0d7e7dd0f16bb74bf /configure.ac
parenta0361331758dbdb2375d6f871bc959116b699e31 (diff)
build-sys: fix ./configure --enable-smack
Fixes: $ ./configure ... --enable-smack $ make src/core/load-fragment-gperf.c $ grep -i smack src/core/load-fragment-gperf.c {"Swap.SmackProcessLabel", config_parse_warn_compat, DISABLED_CONFIGURATION, 0}, ... should be {"Swap.SmackProcessLabel", config_parse_exec_smack_process_label, 0, offsetof(Swap, exec_context)}, ...
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c2222c376c..0160d10456 100644
--- a/configure.ac
+++ b/configure.ac
@@ -668,7 +668,7 @@ AC_ARG_ENABLE([smack], AS_HELP_STRING([--disable-smack],[Disable optional SMACK
esac],
[have_smack=auto])
-if test "x${have_smack}" = xauto; then
+if test "x${have_smack}" != xno; then
M4_DEFINES="$M4_DEFINES -DHAVE_SMACK"
have_smack=yes
fi