From 4490b5710d256ea0fa7d6703c9144351072904ba Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 12 Dec 2006 22:27:22 +0000 Subject: Make chan_zap inform you that your version of zaptel is too old instead of just failing to compile. It seems like the proper way to do this would be in the configure script. However, that wouldn't help existing checkouts unless we forced the configure script to be executed after any code was changed. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48416 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 394c12bb2..c72b30c4d 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -118,7 +118,7 @@ static struct ast_jb_conf default_jbconf = }; static struct ast_jb_conf global_jbconf; -#if !defined(ZT_SIG_EM_E1) || (defined(HAVE_PRI) && !defined(ZT_SIG_HARDHDLC)) +#if !defined(ZT_TCOP_RELEASE) || (defined(HAVE_PRI) && !defined(ZT_SIG_HARDHDLC)) #error "Your zaptel is too old. Please update" #endif -- cgit v1.2.3