diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-16 20:49:44 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-16 20:49:44 +0000 |
commit | 5742520bef3bdab1c2278615d37e7e8090315e8a (patch) | |
tree | 633d9f2b37a441773fbc4c0623e1ca250c2a19a9 /res | |
parent | 35c23fce6f019fdb7faf6f538c7f6fa2a5fd5cc5 (diff) |
small improvement :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7121 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-x | res/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/res/Makefile b/res/Makefile index 56cd8022d..a32465282 100755 --- a/res/Makefile +++ b/res/Makefile @@ -76,6 +76,17 @@ install: all rm -f $(DESTDIR)$(MODULES_DIR)/app_agi.so rm -f $(DESTDIR)$(MODULES_DIR)/res_parking.so for x in $(MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done + @if [ x`which mpg123 2>/dev/null | grep -v '^no'` != x ] ; then \ + if mpg123 --longhelp 2>&1 | grep -q .59r 2>&1 >/dev/null ; then echo ; else \ + echo "*************************************************************";\ + echo "*** You have the WRONG version of mpg123... you need .59r ***";\ + echo "*** Use 'make mpg123' to get the right verison ***";\ + echo "*************************************************************";\ + fi ;\ + else \ + echo "*** You don't have mpg123 installed. You may need ***";\ + echo "*** it if you want to use MusicOnHold ***";\ + fi res_crypto.so: res_crypto.o $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CRYPTO_LIBS) @@ -105,17 +116,6 @@ endif depend: .depend .depend: - @if [ x`which mpg123 2>/dev/null | grep -v '^no'` != x ] ; then \ - if mpg123 --longhelp 2>&1 | grep -q .59r 2>&1 >/dev/null ; then echo ; else \ - echo "*************************************************************";\ - echo "*** You have the WRONG version of mpg123... you need .59r ***";\ - echo "*** Use 'make mpg123' to get the right verison ***";\ - echo "*************************************************************";\ - fi ;\ - else \ - echo "*** You don't have mpg123 installed. You're going to need ***";\ - echo "*** it if you want MusicOnHold ***";\ - fi ../build_tools/mkdep $(CFLAGS) `ls *.c` env: |