1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-20 18:09:23 +03:00
This commit is contained in:
Marian Csontos 2016-11-14 09:27:33 +01:00
parent 56b2ffddc4
commit df4f4c1d9e
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,9 @@
%global rhel 0 %global rhel 0
%endif %endif
# TODO: This will disable feature, even though configure could enable it if requirements were met:
# SUGGESTION: rename this to enableiff - "if and only if" and use weaker enableif not producing disable flag
# NOTE: It is in some cases guarded by another if, so may not produce anything...
%global enableif() \ %global enableif() \
%%global configure_flags %%{?configure_flags} --%%(if test %%1 -gt 0; then echo enable-%%2; else echo disable-%%2; fi) %%global configure_flags %%{?configure_flags} --%%(if test %%1 -gt 0; then echo enable-%%2; else echo disable-%%2; fi)

View File

@ -12,6 +12,7 @@
%global enable_udev 1 %global enable_udev 1
%global enable_systemd 1 %global enable_systemd 1
%global enable_cmirror 1 %global enable_cmirror 1
# enable_lvmlockd is redefined in spec/build.inc, so are other :-/
%global enable_lvmlockd 1 %global enable_lvmlockd 1
%global enable_lvmetad 1 %global enable_lvmetad 1
%global enable_lvmpolld 1 %global enable_lvmpolld 1