diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-12-12 22:27:22 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-12-12 22:27:22 +0000 |
commit | 4490b5710d256ea0fa7d6703c9144351072904ba (patch) | |
tree | fb27b6675c95e1318c3936a06d78c380df7a2489 | |
parent | 90f9e5fc33755ef1f4ff8d138fe4a96913ac2239 (diff) |
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
-rw-r--r-- | channels/chan_zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |