allow forcing the build to exclude PRI support using WITHOUT_PRI, similar to
authorRussell Bryant <russell@russellbryant.com>
Tue, 20 Dec 2005 07:45:05 +0000 (07:45 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 20 Dec 2005 07:45:05 +0000 (07:45 +0000)
how we already have WITHOUT_ZAPTEL (issue #5985)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7538 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/Makefile

index 1695cec..314a9ee 100644 (file)
@@ -92,10 +92,12 @@ ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/alsa/asoundlib.h),)
   CHANNEL_LIBS+=chan_alsa.so
 endif
 
+ifndef WITHOUT_PRI
 ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/lib/libpri.so.1)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/lib/libpri.so.1),)
   CFLAGS+=-DZAPATA_PRI
   ZAPPRI=-lpri
 endif
+endif # WITHOUT_PRI
 
 ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/lib/libmfcr2.so.1)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/lib/libmfcr2.so.1),)
   CFLAGS+=-DZAPATA_R2