mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Check the location of alsa-driver header files in configure (for doxygen)
This commit is contained in:
parent
f1c0e964dd
commit
052be891a5
2 changed files with 18 additions and 2 deletions
18
configure.in
18
configure.in
|
|
@ -30,6 +30,22 @@ if test "$kerneldir" != "" -a -d $kerneldir/include ; then
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT($ALSA_CFLAGS)
|
AC_MSG_RESULT($ALSA_CFLAGS)
|
||||||
|
|
||||||
|
dnl Check for asound.h localtion
|
||||||
|
ASOUND_PATH=""
|
||||||
|
if test x"$kerneldir" != x""; then
|
||||||
|
if test -f $kerneldir/include/sound/asound.h; then
|
||||||
|
ASOUND_PATH=$kerneldir/include/sound
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if test x$asound_loc = x ; then
|
||||||
|
if test -f /usr/include/sound/asound.h; then
|
||||||
|
ASOUND_PATH=/usr/include/sound
|
||||||
|
else
|
||||||
|
ASOUND_PATH=../../alsa-driver/include
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
AC_SUBST(ASOUND_PATH)
|
||||||
|
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AM_CONFIG_HEADER(include/config.h)
|
AM_CONFIG_HEADER(include/config.h)
|
||||||
|
|
@ -65,4 +81,4 @@ AC_OUTPUT(Makefile doc/Makefile include/Makefile src/Makefile \
|
||||||
src/compat/Makefile src/conf/Makefile \
|
src/compat/Makefile src/conf/Makefile \
|
||||||
src/conf/cards/Makefile src/conf/pcm/Makefile \
|
src/conf/cards/Makefile src/conf/pcm/Makefile \
|
||||||
aserver/Makefile test/Makefile utils/Makefile \
|
aserver/Makefile test/Makefile utils/Makefile \
|
||||||
utils/alsa-lib.spec)
|
utils/alsa-lib.spec doc/doxygen.cfg)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ GENERATE_MAN = NO
|
||||||
GENERATE_RTF = NO
|
GENERATE_RTF = NO
|
||||||
|
|
||||||
CASE_SENSE_NAMES = NO
|
CASE_SENSE_NAMES = NO
|
||||||
INPUT = ../../alsa-driver/include/asound.h ../include/asoundlib.h ../src
|
INPUT = @ASOUND_PATH@/asound.h ../include/asoundlib.h ../src
|
||||||
EXCLUDE = ../src/control/control_local.h \
|
EXCLUDE = ../src/control/control_local.h \
|
||||||
../src/pcm/atomic.h \
|
../src/pcm/atomic.h \
|
||||||
../src/pcm/interval.h \
|
../src/pcm/interval.h \
|
||||||
Loading…
Add table
Add a link
Reference in a new issue