[Asterisk-cvs] asterisk Makefile,1.114.2.2,1.114.2.3
russell at lists.digium.com
russell at lists.digium.com
Thu Jan 20 23:15:40 CST 2005
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv20401
Modified Files:
Tag: v1-0
Makefile
Log Message:
add mpg123 warnings (bug #3392)
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.114.2.2
retrieving revision 1.114.2.3
diff -u -d -r1.114.2.2 -r1.114.2.3
--- Makefile 21 Jan 2005 04:52:01 -0000 1.114.2.2
+++ Makefile 21 Jan 2005 05:18:35 -0000 1.114.2.3
@@ -540,6 +540,15 @@
for x in $(SUBDIRS); do $(MAKE) -C $$x depend || exit 1 ; done
.depend:
+ @if ! which mpg123 &>/dev/null ; then \
+ echo "*** You don't have mpg123 installed. You're going to need ***";\
+ echo "*** it if you want MusicOnHold ***";\
+ elif ! mpg123 --longhelp 2>&1 | grep .59r &>/dev/null ; then \
+ echo "*************************************************************";\
+ echo "*** You have the WRONG version of mpg123... you need .59r ***";\
+ echo "*** Use 'make mpg123' to get the right verison ***";\
+ echo "*************************************************************";\
+ fi
./mkdep ${CFLAGS} `ls *.c`
FORCE:
More information about the svn-commits
mailing list