[svn-commits] trunk - r7538 /trunk/channels/Makefile

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Dec 20 01:45:07 CST 2005


Author: russell
Date: Tue Dec 20 01:45:05 2005
New Revision: 7538

URL: http://svn.digium.com/view/asterisk?rev=7538&view=rev
Log:
allow forcing the build to exclude PRI support using WITHOUT_PRI, similar to
how we already have WITHOUT_ZAPTEL (issue #5985)

Modified:
    trunk/channels/Makefile

Modified: trunk/channels/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/channels/Makefile?rev=7538&r1=7537&r2=7538&view=diff
==============================================================================
--- trunk/channels/Makefile (original)
+++ trunk/channels/Makefile Tue Dec 20 01:45:05 2005
@@ -92,10 +92,12 @@
   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



More information about the svn-commits mailing list