]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Ok, added warning to sys/asoundlib.h with redirection to alsa/asoundlib.h.
authorJaroslav Kysela <perex@perex.cz>
Tue, 11 Sep 2001 12:18:56 +0000 (12:18 +0000)
committerJaroslav Kysela <perex@perex.cz>
Tue, 11 Sep 2001 12:18:56 +0000 (12:18 +0000)
include/Makefile.am
include/sys.h [new file with mode: 0644]

index ad2f62011dc4a000c60561643e923980ade7b2da..20b6105ac6805059369d403acd1e8529090c33ff 100644 (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
diff --git a/include/sys.h b/include/sys.h
new file mode 100644 (file)
index 0000000..47f587c
--- /dev/null
@@ -0,0 +1,2 @@
+#warning This header is deprecated, use <alsa/asoundlib.h> instead.
+#include <alsa/asoundlib.h>