mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-27 08:56:55 -05:00
Add resmgr support
Added the support for resmgr. A new configure option --with-resmgr is added to enable the resmgr support.
This commit is contained in:
parent
7e74f2ef1b
commit
77c925a71f
9 changed files with 121 additions and 15 deletions
12
configure.in
12
configure.in
|
|
@ -171,6 +171,18 @@ arm*)
|
|||
;;
|
||||
esac
|
||||
|
||||
dnl Check for resmgr support...
|
||||
AC_MSG_CHECKING(for resmgr support)
|
||||
AC_ARG_WITH(resmgr,
|
||||
[ --with-resmgr support resmgr (optional)],
|
||||
resmgr="$withval", resmgr="no")
|
||||
AC_MSG_RESULT($resmgr)
|
||||
if test "$resmgr" = "yes"; then
|
||||
AC_CHECK_LIB(resmgr, rsm_open_device,,
|
||||
AC_ERROR([Cannot find libresmgr]))
|
||||
AC_DEFINE(SUPPORT_RESMGR, "1", [Support resmgr with alsa-lib])
|
||||
fi
|
||||
|
||||
dnl Make a symlink for inclusion of alsa/xxx.h
|
||||
if test ! -L include/alsa ; then
|
||||
echo "Making a symlink include/alsa"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue