check for DAHDI_RXMIRROR during configure stage
We require a DAHDI that has CONFIG_DAHDI_MIRROR enabled, which declares DAHDI_RXMIRROR and DAHDI_TXMIRROR. Let's check for that rather than failing only at compile time. Closes: OS#5886
This commit is contained in:
parent
ee1904cdf8
commit
5479d21914
|
@ -40,6 +40,7 @@ PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.6.0)
|
|||
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.6.0)
|
||||
|
||||
AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_ERROR(dahdi/user.h not found))
|
||||
AC_CHECK_DECL(DAHDI_RXMIRROR,,AC_MSG_ERROR(DAHDI not built with CONFIG_DAHDI_MIRROR), [#include <dahdi/user.h>])
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
|
|
Loading…
Reference in New Issue