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:
Takashi Iwai 2005-01-26 10:50:28 +00:00
parent 7e74f2ef1b
commit 77c925a71f
9 changed files with 121 additions and 15 deletions

View file

@ -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"