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
This commit is contained in:
Pablo Neira Ayuso 2011-03-08 13:38:49 +01:00 committed by Holger Hans Peter Freyther
parent 682587748f
commit 5d7ad47386
1 changed files with 1 additions and 0 deletions

View File

@ -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