1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

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)},
...
This commit is contained in:
Evgeny Vereshchagin 2015-12-12 03:43:45 +00:00
parent a036133175
commit 566c9f5ad5

View File

@ -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