From 8defadbdd2953482ad53fe9ef37bb81ff76a2097 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sun, 29 Nov 2015 19:14:58 +0100 Subject: tests: fix condition to run sgsn, oap, gtphub tests Sponsored-by: On-Waves ehi --- openbsc/configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openbsc/configure.ac') diff --git a/openbsc/configure.ac b/openbsc/configure.ac index df6ca6793..0d6a1da95 100644 --- a/openbsc/configure.ac +++ b/openbsc/configure.ac @@ -84,6 +84,12 @@ PKG_CHECK_MODULES([LIBCARES], [libcares], [], [found_libcares=no]) AM_CONDITIONAL(HAVE_LIBCARES, test "$found_libcares" = yes) AC_SUBST(found_libcares) +found_libgtp_and_libcares=no +if test "$found_libgtp" = "yes" -a "$found_libcares" = "yes"; then + found_libgtp_and_libcares=yes +fi +AC_SUBST(found_libgtp_and_libcares) + dnl checks for header files AC_HEADER_STDC AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_WARN(DAHDI input driver will not be built)) -- cgit v1.2.3