Commit 2c0b30d3 authored by phenigma's avatar phenigma

Refs #2509 - strip test value for conditional check.

parent 444314c2
Pipeline #168 failed with stage
......@@ -10,7 +10,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -21,7 +21,7 @@ instcheck_SOURCES = instcheck.cpp
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
getxmls_LDADD += $(MYSQL_LIBS)
instcheck_LDADD += $(MYSQL_LIBS)
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -14,7 +14,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -12,7 +12,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -7,7 +7,7 @@ LDLIBS =
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread -lpng12 -lz
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -12,7 +12,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -12,7 +12,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -12,7 +12,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -8,7 +8,7 @@ LDLIBS=-lpluto_main -lPlutoUtils -lSerializeClass -lDCECommon -lDCECommon -lpthr
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -9,7 +9,7 @@ LDLIBS+=-lDCECommon -lSerializeClass -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -12,7 +12,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ LDLIBS += -lpthread -lSerializeClass -lPlutoUtils
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -6,7 +6,7 @@ LDLIBS = -ldl -lpthread -lpluto_main -lDCECommon -lSerializeClass -lPlutoUtils
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -10,7 +10,7 @@ LDLIBS += -lpthread -lattr -lDCECommon -lSerializeClass -lPlutoUtils -lpluto_mai
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -6,7 +6,7 @@ LDLIBS = -lpthread -lDCECommon
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread -llmce_datalog
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -10,7 +10,7 @@ MYNAME = Disk_Drive_Functions
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -12,7 +12,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -12,7 +12,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -12,7 +12,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -15,7 +15,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread -lSerial
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -9,7 +9,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lSerial -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -15,7 +15,7 @@ CFLAGS = $(CXXFLAGS) -DLINUX -ggdb3 -DIRTRANS_AS_LIB
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -10,7 +10,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -12,7 +12,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -14,7 +14,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -12,7 +12,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -6,7 +6,7 @@ LDLIBS = -ldl -lpthread -lpluto_main -lDCECommon -lSerializeClass -lPlutoUtils
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -6,7 +6,7 @@ LDLIBS = -ldl -lpthread -lpluto_main -lDCECommon -lSerializeClass -lPlutoUtils
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -9,7 +9,7 @@ LDLIBS=-lDCECommon -lSerializeClass -lPlutoUtils
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
LDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ BASELDLIBS = -lSerializeClass -lDCECommon -lPlutoUtils -lpthread
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -15,7 +15,7 @@ CFLAGS = $(CXXFLAGS) -DLINUX $(SNR_CPPFLAGS)
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)
ifneq (($(MYSQL_FLAGS)),)
ifneq ($(strip $(MYSQL_FLAGS)),)
CPPFLAGS += $(MYSQL_FLAGS)
BASELDLIBS += $(MYSQL_LIBS)
else
......
......@@ -13,7 +13,7 @@ INTERNAL_LIBS_NAMES = SerializeClass DCECommon PlutoUtils
MYSQL_FLAGS := $(shell pkg-config --cflags mysqlclient 2>/dev/null)
MYSQL_LIBS := $(shell pkg-config --libs mysqlclient 2>/dev/null)