diff options
Diffstat (limited to 'daemons/clvmd/Makefile.in')
-rw-r--r-- | daemons/clvmd/Makefile.in | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/daemons/clvmd/Makefile.in b/daemons/clvmd/Makefile.in index 1edf02d7..268084d5 100644 --- a/daemons/clvmd/Makefile.in +++ b/daemons/clvmd/Makefile.in @@ -21,31 +21,26 @@ SOURCES = \ lvm-functions.c \ refresh_clvmd.c -ifeq ("@CLVMD@", "gulm") +ifneq (,$(findstring gulm,, "@CLVMD@,")) GULM = yes endif -ifeq ("@CLVMD@", "cman") +ifneq (,$(findstring cman,, "@CLVMD@,")) CMAN = yes endif -ifeq ("@CLVMD@", "openais") +ifneq (,$(findstring openais,, "@CLVMD@,")) OPENAIS = yes - GULM = no - CMAN = no endif -ifeq ("@CLVMD@", "all") - GULM = yes - CMAN = yes - OPENAIS = no - COROSYNC = no +ifneq (,$(findstring corosync,, "@CLVMD@,")) + COROSYNC = yes endif -ifeq ("@CLVMD@", "corosync") - GULM = no - CMAN = no - OPENAIS = no +ifneq (,$(findstring all,, "@CLVMD@,")) + GULM = yes + CMAN = yes + OPENAIS = yes COROSYNC = yes endif |