build: remove libmapper dependency
Nothing in the codebase actually uses libmapper. Remove the
library dependency.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib4c037da312cd4e33eb30806da0422ae70a3f83b
diff --git a/Makefile.am b/Makefile.am
index 2288a3b..679f2fd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,10 +7,8 @@
phosphor_read_eeprom_SOURCES = readeeprom.cpp
phosphor_read_eeprom_LDFLAGS = $(SYSTEMD_LIBS) \
- $(libmapper_LIBS) \
$(PHOSPHOR_LOGGING_LIBS)
phosphor_read_eeprom_CXXFLAGS = $(SYSTEMD_CFLAGS) \
- $(libmapper_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS)
phosphor_read_eeprom_LDADD = libwritefrudata.la
@@ -21,12 +19,10 @@
writefrudata.cpp \
extra-properties-gen.cpp
libwritefrudata_la_LDFLAGS = $(SYSTEMD_LIBS) \
- $(libmapper_LIBS) \
$(SDBUSPLUS_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
-version-info 1:0:0 -shared
libwritefrudata_la_CXXFLAGS = $(SYSTEMD_CFLAGS) \
- $(libmapper_CFLAGS) \
$(SDBUSPLUS_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
$(LIBIPMID_CFLAGS)
diff --git a/configure.ac b/configure.ac
index 2364585..72d408b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,8 +18,6 @@
[AC_MSG_ERROR([Could not find python-3 installed...python-3 is required])])
# Checks for libraries.
-AC_CHECK_LIB([mapper], [mapper_get_service],,\
- [AC_MSG_ERROR([Could not find libmapper: phosphor-objmgr package required])])
PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 221])
PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus])
PKG_CHECK_MODULES([PHOSPHOR_LOGGING], [phosphor-logging])