aboutsummaryrefslogtreecommitdiffstats
path: root/channels/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-20 07:45:05 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-20 07:45:05 +0000
commite4e135851c96f51028fbc3d9c65c99369e48aa68 (patch)
tree39350d4011e342df6422547e8521df0311a63fca /channels/Makefile
parent25ac13091d38dcc4c8eaccd885dfe27b0e4532f0 (diff)
allow forcing the build to exclude PRI support using WITHOUT_PRI, similar to
how we already have WITHOUT_ZAPTEL (issue #5985) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7538 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/Makefile')
-rw-r--r--channels/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/Makefile b/channels/Makefile
index 1695cec66..314a9ee61 100644
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -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