From 5d7ad4738640b2cbae9e00e8078bb55d488105d8 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 8 Mar 2011 13:38:49 +0100 Subject: [PATCH] misc: check for libdbi, mandatory library dependency Otherwise, openbsc fails to compile: CC db.o db.c:29:21: error: dbi/dbi.h: File does not exists --- openbsc/configure.in | 1 + 1 file changed, 1 insertion(+) diff --git a/openbsc/configure.in b/openbsc/configure.in index 1d2db88c0..4cd1952ff 100644 --- a/openbsc/configure.in +++ b/openbsc/configure.in @@ -49,6 +49,7 @@ PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.1.28) dnl checks for header files 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)) dnl Checks for typedefs, structures and compiler characteristics