Add --disable-aload configure option

Added --disable-aload configure option to suppress probing of
/dev/aload* files for auto-loading.  These files often conflict with
udev mechanism.

Also, --with-resmgr is changed to --enable-resmgr.
This commit is contained in:
Takashi Iwai 2005-02-14 13:31:53 +00:00
parent 49c9eba8e4
commit 4ea51d8201
3 changed files with 16 additions and 2 deletions

View file

@ -173,8 +173,8 @@ esac
dnl Check for resmgr support...
AC_MSG_CHECKING(for resmgr support)
AC_ARG_WITH(resmgr,
[ --with-resmgr support resmgr (optional)],
AC_ARG_ENABLE(resmgr,
[ --enable-resmgr support resmgr (optional)],
resmgr="$withval", resmgr="no")
AC_MSG_RESULT($resmgr)
if test "$resmgr" = "yes"; then
@ -183,6 +183,16 @@ if test "$resmgr" = "yes"; then
AC_DEFINE(SUPPORT_RESMGR, "1", [Support resmgr with alsa-lib])
fi
dnl Check for aload* support...
AC_MSG_CHECKING(for aload* support)
AC_ARG_ENABLE(aload,
[ --disable-aload disable reading /dev/aload*],
aload="$enableval", aload="yes")
AC_MSG_RESULT($aload)
if test "$aload" = "yes"; then
AC_DEFINE(SUPPORT_ALOAD, "1", [Support /dev/aload* access for auto-loading])
fi
dnl Make a symlink for inclusion of alsa/xxx.h
if test ! -L include/alsa ; then
echo "Making a symlink include/alsa"