From 7465e4c2e19f25bad3c92288e323d4d0d9f7baf1 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 13 Nov 2012 07:06:54 +0100 Subject: build meas_vis only if libcdk is available --- openbsc/configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openbsc/configure.ac') diff --git a/openbsc/configure.ac b/openbsc/configure.ac index 69be8b632..3e5ae38a4 100644 --- a/openbsc/configure.ac +++ b/openbsc/configure.ac @@ -84,6 +84,10 @@ AC_HEADER_STDC AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_WARN(DAHDI input driver will not be built)) AC_CHECK_HEADERS(dbi/dbd.h,,AC_MSG_ERROR(DBI library is not installed)) +found_cdk=yes +AC_CHECK_HEADERS(cdk/cdk.h,,found_cdk=no) +AM_CONDITIONAL(HAVE_LIBCDK, test "$found_cdk" = yes) + dnl Checks for typedefs, structures and compiler characteristics -- cgit v1.2.3