OSDN Git Service

create a symlink for inclusion of alsa/xxx.h in the alsa-lib tree itself.
authorTakashi Iwai <tiwai@suse.de>
Mon, 14 Jul 2003 10:16:38 +0000 (10:16 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Jul 2003 10:16:38 +0000 (10:16 +0000)
the symlink is created by configure script.

configure.in
include/Makefile.am

index 3f5e39b..4006b4b 100644 (file)
@@ -134,6 +134,9 @@ case "$target" in
 i?86*)
   AC_MSG_RESULT(x86)
   ;;
+x86_64*)
+  AC_MSG_RESULT(x86)
+  ;;
 alpha*)
   AC_MSG_RESULT(alpha)
   ;;
@@ -159,6 +162,13 @@ arm*)
   ;;
 esac
 
+dnl Make a symlink for inclusion of alsa/xxx.h
+if test ! -L include/alsa ; then
+  echo "Making a symlink include/alsa"
+  rm -f include/alsa
+  ln -sf . include/alsa
+fi
+
 AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile include/Makefile
          include/sound/Makefile src/Makefile \
           src/control/Makefile src/mixer/Makefile src/ordinary_mixer/Makefile \
index 948b71b..3279673 100644 (file)
@@ -14,7 +14,7 @@ alsainclude_HEADERS = asoundlib.h asoundef.h \
 
 noinst_HEADERS = sys.h search.h list.h aserver.h local.h alsa-symbols.h
 
-CLEANFILES = stamp-vh version.h
+CLEANFILES = stamp-vh version.h alsa
 
 version.h: stamp-vh
        @: