aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/configure.in
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-02-05 15:13:27 +0100
committerHarald Welte <laforge@gnumonks.org>2011-02-05 20:26:26 +0100
commitca17ef88f57a373fef29513273e8f24c2492c969 (patch)
treea8694cb7a47b4cf6d2669adc48345128b3013a55 /openbsc/configure.in
parent1dd68c3d0ffa47cf64239422b0f5bffb93d46cd1 (diff)
[DAHDI] build dahdi driver only if dahdi header is present
Diffstat (limited to 'openbsc/configure.in')
-rw-r--r--openbsc/configure.in2
1 files changed, 2 insertions, 0 deletions
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