]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fix compilation on a system with old alsa-lib headers
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Jun 2005 13:35:22 +0000 (13:35 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 Jun 2005 13:35:22 +0000 (13:35 +0000)
Fixed the compilation on a system with old alsa-lib headers.
A symlink alsa is created here to include all alsa-lib headers
locally even via #include <alsa/xxx.h>

include/Makefile.am

index 50634557e0ee53b0ce3580f84ae2d890a9ca427f..5f3b66c8efc0ce4d552ad483f4ebbe458af54c0c 100644 (file)
@@ -16,7 +16,7 @@ noinst_HEADERS = sys.h search.h list.h aserver.h local.h alsa-symbols.h
 
 CLEANFILES = stamp-vh version.h alsa
 
-version.h: stamp-vh
+version.h: stamp-vh alsa
        @:
 
 stamp-vh: $(top_builddir)/configure.in
@@ -41,6 +41,9 @@ stamp-vh: $(top_builddir)/configure.in
               echo timestamp > stamp-vh)
        -@rm -f ver.tmp
 
+alsa:
+       ln -s . $@
+
 INCLUDES=-I$(top_srcdir)/include
 
 install-data-hook: