From: Russell Bryant Date: Tue, 12 Dec 2006 22:27:22 +0000 (+0000) Subject: Make chan_zap inform you that your version of zaptel is too old instead of X-Git-Tag: 1.6.0-beta1~3^2~3744 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4490b5710d256ea0fa7d6703c9144351072904ba;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 394c12bb27..c72b30c4df 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