ifeq ($(HIREDIS_BUILDER),)
HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis -I/usr/include/hiredis
-@@ -19,7 +17,7 @@ else
- HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags)
- HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs)
-
--ifeq (,$(findstring hiredis,$(HIREDISDEFS)))
-+ifneq (,$(findstring hiredis,$(HIREDISDEFS)))
- DEFS+=-DWITH_HIREDIS_PATH
- endif
-
--- a/src/modules/ndb_redis/Makefile
+++ b/src/modules/ndb_redis/Makefile
@@ -5,12 +5,10 @@ include ../../Makefile.defs
ifeq ($(HIREDIS_BUILDER),)
HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis -I/usr/include/hiredis
-@@ -19,7 +17,7 @@ else
- HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags)
- HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs)
-
--ifeq (,$(findstring hiredis,$(HIREDISDEFS)))
-+ifneq (,$(findstring hiredis,$(HIREDISDEFS)))
- DEFS+=-DWITH_HIREDIS_PATH
- endif
-
--- a/src/modules/topos_redis/Makefile
+++ b/src/modules/topos_redis/Makefile
@@ -5,12 +5,10 @@ include ../../Makefile.defs
ifeq ($(HIREDIS_BUILDER),)
HIREDISDEFS=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/hiredis -I/usr/include/hiredis
-@@ -19,7 +17,7 @@ else
- HIREDISDEFS = $(shell $(HIREDIS_BUILDER) --cflags)
- HIREDISLIBS = $(shell $(HIREDIS_BUILDER) --libs)
-
--ifeq (,$(findstring hiredis,$(HIREDISDEFS)))
-+ifneq (,$(findstring hiredis,$(HIREDISDEFS)))
- DEFS+=-DWITH_HIREDIS_PATH
- endif
-