diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-11-29 18:44:55 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2015-11-29 18:53:34 +0100 |
commit | ff252bb80172826391b6286fd240266fe842cc83 (patch) | |
tree | e43d0106f6b4916262b0ad8273fb3e20f019c312 | |
parent | 8fbfaa51bb3f583eeebc1239388832b2e966d424 (diff) |
gtphub_test: build only when c-ares and gtp are present.
-rw-r--r-- | openbsc/tests/gtphub/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/tests/gtphub/Makefile.am b/openbsc/tests/gtphub/Makefile.am index 59480ed39..bcaf4fa06 100644 --- a/openbsc/tests/gtphub/Makefile.am +++ b/openbsc/tests/gtphub/Makefile.am @@ -4,7 +4,11 @@ AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) EXTRA_DIST = \ gtphub_test.ok +if HAVE_LIBGTP +if HAVE_LIBCARES noinst_PROGRAMS = gtphub_test +endif +endif gtphub_test_SOURCES = gtphub_test.c gtphub_test_LDFLAGS = \ |