mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-28 05:40:23 -04:00
create a symlink for inclusion of alsa/xxx.h in the alsa-lib tree itself.
the symlink is created by configure script.
This commit is contained in:
parent
e3590ca3fc
commit
9f491f4aa6
2 changed files with 11 additions and 1 deletions
10
configure.in
10
configure.in
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
@:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue