diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d1ea2a2..35e51e1 100644 --- a/configure.ac +++ b/configure.ac @@ -94,6 +94,8 @@ AST_EXT_LIB_SETUP([NEWT], [newt], [newt]) AST_EXT_LIB_SETUP([USB], [usb], [usb]) AST_C_DEFINE_CHECK([DAHDI], [DAHDI_CODE], [dahdi/user.h]) +DAHDI23_DIR="${DAHDI_DIR}" +AST_C_DEFINE_CHECK([DAHDI23], [DAHDI_CONFIG_NTTE], [dahdi/user.h]) AST_EXT_LIB_CHECK([NEWT], [newt], [newtBell], [newt.h]) AST_EXT_LIB_CHECK([USB], [usb], [usb_init], [usb.h]) @@ -197,6 +199,14 @@ if test "x${PBX_DAHDI}" != "x1"; then exit 1 fi +if test "x${PBX_DAHDI23}" != "x1"; then + AC_MSG_NOTICE([***]) + AC_MSG_NOTICE([*** Building this package requires DAHDI support (>= 2.3) *** ]) + AC_MSG_NOTICE([*** Please install a recent dahdi-linux package. ***]) + AC_MSG_NOTICE([***]) + exit 1 +fi + AC_SUBST(PPPD_VERSION) AC_CONFIG_FILES([build_tools/menuselect-deps makeopts]) |