Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv7847/res

Modified Files:
        Makefile 
Log Message:
small improvement :-)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/res/Makefile,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- Makefile    14 Nov 2005 00:45:07 -0000      1.30
+++ Makefile    16 Nov 2005 20:49:44 -0000      1.31
@@ -76,6 +76,17 @@
        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 @@
 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:

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to