aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Huemer <alexander.huemer@xx.vu>2015-11-06 20:58:12 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-01-15 15:06:03 +0100
commit6cacc56d8eb2ddd5ae39b586b813dddf89a21d21 (patch)
tree6d455e1fcaf9228ef242feef1a9a541c305fc22b
parent5cb480a4c0870e0ca984e7c587eb6617cd879657 (diff)
tests/oap: depend on libgtp
exclude logic copied from src/gprs/Makefile.am
-rw-r--r--openbsc/tests/oap/Makefile.am4
1 files changed, 4 insertions, 0 deletions
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