diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-21 04:16:05 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-21 04:16:05 +0000 |
commit | 523d1905d3eef5da9d804f7999156c4c25aaf4d3 (patch) | |
tree | 30eccd4deeac537775456d13bd969749c44b7ab5 /res/Makefile | |
parent | ffc1132528b5c46504daf81cd09a03535184d611 (diff) |
Warn about wrong version of mpg123 (bug #3392)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4862 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/Makefile')
-rwxr-xr-x | res/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/res/Makefile b/res/Makefile index 39d079e0f..a09eae179 100755 --- a/res/Makefile +++ b/res/Makefile @@ -58,7 +58,16 @@ endif depend: .depend .depend: - ../mkdep $(CFLAGS) `ls *.c` + @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` env: env |