From ca17ef88f57a373fef29513273e8f24c2492c969 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 5 Feb 2011 15:13:27 +0100 Subject: [DAHDI] build dahdi driver only if dahdi header is present --- openbsc/configure.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbsc/configure.in') diff --git a/openbsc/configure.in b/openbsc/configure.in index 6aa68d89e..ff6a466b1 100644 --- a/openbsc/configure.in +++ b/openbsc/configure.in @@ -48,6 +48,8 @@ PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.1.19) dnl checks for header files AC_HEADER_STDC +AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_WARN(DAHDI input driver will not be built)) + dnl Checks for typedefs, structures and compiler characteristics -- cgit v1.2.3