Update of /cvsroot/alsa/alsa-driver
In directory usw-pr-cvs1:/tmp/cvs-serv17152
Modified Files:
Makefile
Log Message:
check snd_ prefix at install (only when DESTDIR is not set).
Index: Makefile
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/Makefile,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- Makefile 12 Sep 2002 16:46:26 -0000 1.78
+++ Makefile 22 Oct 2002 10:16:48 -0000 1.79
@@ -101,7 +101,7 @@
mv -f snd.map1 snd.map
.PHONY: install
-install: install-modules install-headers install-scripts
+install: install-modules install-headers install-scripts check-snd-prefix
cat WARNING
.PHONY: install-headers
@@ -144,6 +144,20 @@
elif [ -d /etc/init.d ]; then \
install -m 755 -g root -o root utils/alsasound
$(DESTDIR)/etc/init.d/alsasound; \
fi
+
+.PHONY: check-snd-prefix
+check-snd-prefix:
+ @ if [ x"$(DESTDIR)" = x ]; then \
+ if modprobe -c | grep -s -q snd_; then \
+ echo;\
+ echo " ===== WARNING =====";\
+ echo;\
+ echo "The options for ALSA modules on your system still include snd_
+prefix,";\
+ echo "which is obsoleted now. Please fix /etc/modules.conf.";\
+ echo "For convenience, you can use utils/module-options script to
+convert";\
+ echo "the snd_ prefix automatically.";\
+ echo;\
+ fi; fi
.PHONY: clean
clean:
-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future of
Java(TM) technology. Join the Java Community Process(SM) (JCP(SM))
program now. http://ad.doubleclick.net/clk;4699841;7576301;v?
http://www.sun.com/javavote
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog