Skip to contentSkip to conversation

master - makefiles: fix tested vars

PATCH Zdenek Kabelac 1 participant 1 message Aug 1, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=9dc1f51d2825c5e48da06e20a9c7a570fbef09a3
Commit:        9dc1f51d2825c5e48da06e20a9c7a570fbef09a3
Parent:        95dd5bc7fb7dc818116ee367aaa3079f410e2cf7
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Aug 1 18:18:05 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Aug 1 18:18:05 2017 +0200

makefiles: fix tested vars

For resolving usability of DEBUG_MEM - check proper translated make vars for proper value.

---
 make.tmpl.in |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
make.tmpl.in +6 -6
index 17276c3..91f38b8 100644
@@ -243,12 +243,12 @@ endif
   CFLAGS += -fno-omit-frame-pointer
   DEFS += -DDEBUG
   # memory debugging is not thread-safe yet
-  ifneq ("@DMEVENTD@", "yes")
-  ifneq ("@DMFILEMAPD@", "yes")
-  ifneq ("@LVMLOCKD@", "yes")
-  ifneq ("@LVMPOLLD@", "yes")
-  ifneq ("@LVMETAD@", "yes")
-  ifneq ("@CLVMD@", "yes")
+  ifneq ("@BUILD_DMEVENTD@", "yes")
+  ifneq ("@BUILD_DMFILEMAPD@", "yes")
+  ifneq ("@BUILD_LVMLOCKD@", "yes")
+  ifneq ("@BUILD_LVMPOLLD@", "yes")
+  ifneq ("@BUILD_LVMETAD@", "yes")
+  ifeq ("@CLVMD@", "none")
     DEFS += -DDEBUG_MEM
   endif
   endif