Ok, added warning to sys/asoundlib.h with redirection to alsa/asoundlib.h.

This commit is contained in:
Jaroslav Kysela 2001-09-11 12:18:56 +00:00
parent c8cd1c9782
commit 6157018e8a
2 changed files with 3 additions and 1 deletions

View File

@ -46,4 +46,4 @@ install-exec-hook:
rm -f $(alsaincludedir)/asoundef.h
(cd $(DESTDIR)$(alsaincludedir) && $(LN_S) -f ../sound/asoundef.h asoundef.h)
# should be removed in future
(cd $(DESTDIR)$(sysincludedir) && $(LN_S) -f ../alsa/asoundlib.h asoundlib.h)
$(INSTALL_DATA) sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h

2
include/sys.h Normal file
View File

@ -0,0 +1,2 @@
#warning This header is deprecated, use <alsa/asoundlib.h> instead.
#include <alsa/asoundlib.h>