aboutsummaryrefslogtreecommitdiffstats
path: root/extras/libmemif/Makefile.am
diff options
context:
space:
mode:
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