From 6cacc56d8eb2ddd5ae39b586b813dddf89a21d21 Mon Sep 17 00:00:00 2001 From: Alexander Huemer Date: Fri, 6 Nov 2015 20:58:12 +0100 Subject: tests/oap: depend on libgtp exclude logic copied from src/gprs/Makefile.am --- openbsc/tests/oap/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbsc') diff --git a/openbsc/tests/oap/Makefile.am b/openbsc/tests/oap/Makefile.am index e1609029d..3a76b11ad 100644 --- a/openbsc/tests/oap/Makefile.am +++ b/openbsc/tests/oap/Makefile.am @@ -3,7 +3,11 @@ AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) EXTRA_DIST = oap_test.ok +if HAVE_LIBGTP +if HAVE_LIBCARES noinst_PROGRAMS = oap_test +endif +endif oap_test_SOURCES = oap_test.c -- cgit v1.2.3