commit | ae2c7e8ce29d81a7ec168268520d6eec72261de4 | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Sun Nov 29 18:44:55 2015 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Sun Nov 29 18:53:34 2015 +0100 |
tree | e43d0106f6b4916262b0ad8273fb3e20f019c312 | |
parent | 13075a981fec6d7c0d30d0d15dbf24106771d8b3 [diff] |
gtphub_test: build only when c-ares and gtp are present.
diff --git a/openbsc/tests/gtphub/Makefile.am b/openbsc/tests/gtphub/Makefile.am index 59480ed..bcaf4fa 100644 --- a/openbsc/tests/gtphub/Makefile.am +++ b/openbsc/tests/gtphub/Makefile.am
@@ -4,7 +4,11 @@ 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 = \