Fix and improve the new pri hangup routines

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-08-05 01:25:43 +00:00
parent b7d9b6702e
commit f778fb89a5
2 changed files with 28 additions and 0 deletions

View File

@@ -13,6 +13,9 @@
.EXPORT_ALL_VARIABLES:
# Create OPTIONS variable
OPTIONS=
OSARCH=$(shell uname -s)
ifeq (${OSARCH},Linux)
@@ -41,6 +44,11 @@ OPTIMIZE=-O6
#Include debug symbols in the executables (-g) and profiling info (-pg)
DEBUG=-g #-pg
# New hangup routines for chan_zap.c
# If this flag is uncommented then you need to have new libpri code in your system
# You can still use the old libpri if you do "cvs update -D "08/03/03" in libpri source code
OPTIONS += -DNEW_PRI_HANGUP
# Optional debugging parameters
DEBUG_THREADS = #-DDO_CRASH -DDEBUG_THREADS
@@ -117,6 +125,7 @@ CFLAGS+= $(DEBUG_THREADS)
CFLAGS+= $(TRACE_FRAMES)
CFLAGS+= $(MALLOC_DEBUG)
CFLAGS+= $(BUSYDETECT)
CFLAGS+= $(OPTIONS)
CFLAGS+=# -fomit-frame-pointer
SUBDIRS=res channels pbx apps codecs formats agi cdr astman
ifeq (${OSARCH},Linux)