tests/oap: depend on libgtp
diff mbox

Message ID 1446839892-2266-2-git-send-email-alexander.huemer@xx.vu
State Accepted
Headers show

Commit Message

Alexander Huemer Nov. 6, 2015, 7:58 p.m. UTC
exclude logic copied from src/gprs/Makefile.am
---
 openbsc/tests/oap/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

Patch
diff mbox

diff --git a/openbsc/tests/oap/Makefile.am b/openbsc/tests/oap/Makefile.am
index e160902..3a76b11 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