summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/Makefile.am
diff options
context:
space:
mode:
authorJakub Grajciar <Jakub.Grajciar@pantheon.tech>2017-11-20 13:11:50 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-21 14:34:57 +0000
commitc62a63dd05bd815cd9ea399140cb6fc50a584132 (patch)
treeccde0c4281be5a5b25ed908ec20be26cdd7f2cfa /extras/libmemif/Makefile.am
parentbd846cdc5d99260274a02e9bb474211ef32d031c (diff)
libmemif: unit test update, continue configure if check module missing
Change-Id: I11ef4e7dcf1759eb3545be5db2a7196d1217a6dd Signed-off-by: Jakub Grajciar <Jakub.Grajciar@pantheon.tech>
Diffstat (limited to 'extras/libmemif/Makefile.am')
-rw-r--r--extras/libmemif/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/extras/libmemif/Makefile.am b/extras/libmemif/Makefile.am
index 292eb9c21a2..759f5c49d3b 100644
--- a/extras/libmemif/Makefile.am
+++ b/extras/libmemif/Makefile.am
@@ -80,10 +80,11 @@ icmpr_mt_CPPFLAGS = $(AM_CPPFLAGS) -Isrc -Iexamples/icmp_responder
noinst_PROGRAMS = icmpr icmpr-epoll icmpr-mt
-check_PROGRAMS = unit_test
-
include_HEADERS = src/libmemif.h src/memif.h
lib_LTLIBRARIES = libmemif.la
+if USE_CHECK
+check_PROGRAMS = unit_test
TESTS = $(check_PROGRAMS)
+endif