[PATCH] tests/oap: depend on libgtp

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Alexander Huemer alexander.huemer at xx.vu
Fri Nov 6 19:58:12 UTC 2015


exclude logic copied from src/gprs/Makefile.am
---
 openbsc/tests/oap/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

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
 
-- 
2.6.2




More information about the OpenBSC mailing list