dbus: Remove unused D-Bus version defines
These have not been used since commit
8ddef94bd4
.
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
3dd1d8906d
commit
9013edc300
3 changed files with 0 additions and 34 deletions
|
@ -1171,17 +1171,6 @@ endif
|
||||||
ifndef DBUS_INCLUDE
|
ifndef DBUS_INCLUDE
|
||||||
DBUS_INCLUDE := $(shell $(PKG_CONFIG) --cflags dbus-1)
|
DBUS_INCLUDE := $(shell $(PKG_CONFIG) --cflags dbus-1)
|
||||||
endif
|
endif
|
||||||
dbus_version=$(subst ., ,$(shell $(PKG_CONFIG) --modversion dbus-1))
|
|
||||||
DBUS_VERSION_MAJOR=$(word 1,$(dbus_version))
|
|
||||||
DBUS_VERSION_MINOR=$(word 2,$(dbus_version))
|
|
||||||
ifeq ($(DBUS_VERSION_MAJOR),)
|
|
||||||
DBUS_VERSION_MAJOR=0
|
|
||||||
endif
|
|
||||||
ifeq ($(DBUS_VERSION_MINOR),)
|
|
||||||
DBUS_VERSION_MINOR=0
|
|
||||||
endif
|
|
||||||
DBUS_INCLUDE += -DDBUS_VERSION_MAJOR=$(DBUS_VERSION_MAJOR)
|
|
||||||
DBUS_INCLUDE += -DDBUS_VERSION_MINOR=$(DBUS_VERSION_MINOR)
|
|
||||||
DBUS_CFLAGS += $(DBUS_INCLUDE)
|
DBUS_CFLAGS += $(DBUS_INCLUDE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -1161,17 +1161,6 @@ endif
|
||||||
ifndef DBUS_INCLUDE
|
ifndef DBUS_INCLUDE
|
||||||
DBUS_INCLUDE := $(shell $(PKG_CONFIG) --cflags dbus-1)
|
DBUS_INCLUDE := $(shell $(PKG_CONFIG) --cflags dbus-1)
|
||||||
endif
|
endif
|
||||||
dbus_version=$(subst ., ,$(shell $(PKG_CONFIG) --modversion dbus-1))
|
|
||||||
DBUS_VERSION_MAJOR=$(word 1,$(dbus_version))
|
|
||||||
DBUS_VERSION_MINOR=$(word 2,$(dbus_version))
|
|
||||||
ifeq ($(DBUS_VERSION_MAJOR),)
|
|
||||||
DBUS_VERSION_MAJOR=0
|
|
||||||
endif
|
|
||||||
ifeq ($(DBUS_VERSION_MINOR),)
|
|
||||||
DBUS_VERSION_MINOR=0
|
|
||||||
endif
|
|
||||||
DBUS_INCLUDE += -DDBUS_VERSION_MAJOR=$(DBUS_VERSION_MAJOR)
|
|
||||||
DBUS_INCLUDE += -DDBUS_VERSION_MINOR=$(DBUS_VERSION_MINOR)
|
|
||||||
DBUS_CFLAGS += $(DBUS_INCLUDE)
|
DBUS_CFLAGS += $(DBUS_INCLUDE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -50,18 +50,6 @@ DBUS_INCLUDE += $(shell xml2-config --cflags)
|
||||||
DBUS_LIBS += $(shell xml2-config --libs)
|
DBUS_LIBS += $(shell xml2-config --libs)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dbus_version=$(subst ., ,$(shell $(PKG_CONFIG) --modversion dbus-1))
|
|
||||||
DBUS_VERSION_MAJOR=$(word 1,$(dbus_version))
|
|
||||||
DBUS_VERSION_MINOR=$(word 2,$(dbus_version))
|
|
||||||
ifeq ($(DBUS_VERSION_MAJOR),)
|
|
||||||
DBUS_VERSION_MAJOR=0
|
|
||||||
endif
|
|
||||||
ifeq ($(DBUS_VERSION_MINOR),)
|
|
||||||
DBUS_VERSION_MINOR=0
|
|
||||||
endif
|
|
||||||
DBUS_INCLUDE += -DDBUS_VERSION_MAJOR=$(DBUS_VERSION_MAJOR)
|
|
||||||
DBUS_INCLUDE += -DDBUS_VERSION_MINOR=$(DBUS_VERSION_MINOR)
|
|
||||||
|
|
||||||
CFLAGS += $(DBUS_INCLUDE)
|
CFLAGS += $(DBUS_INCLUDE)
|
||||||
|
|
||||||
LIB_OBJS= \
|
LIB_OBJS= \
|
||||||
|
|
Loading…
Reference in a new issue