mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-28 05:40:23 -04:00
duplicated the required alsa-kernel header files into the local
include/sound directory, so that alsa-lib can be compiled without alsa-driver. with this addition, --with-kernel and --with-soundbase options are removed from configure. they are obviously unnecessary. the relevant parts in INSTALL are removed/modified.
This commit is contained in:
parent
f0e5677f29
commit
163ae5738d
3 changed files with 4 additions and 117 deletions
25
acinclude.m4
25
acinclude.m4
|
|
@ -1,28 +1,3 @@
|
|||
dnl Check for ALSA driver package.
|
||||
AC_DEFUN(ALSA_CHECK_DRIVER, [
|
||||
AC_MSG_CHECKING(for alsa-driver package)
|
||||
|
||||
AC_TRY_COMPILE([
|
||||
#include <sound/asound.h>
|
||||
],[
|
||||
void main(void)
|
||||
{
|
||||
#if !defined(SNDRV_PROTOCOL_VERSION) || !defined(SNDRV_PROTOCOL_INCOMPATIBLE)
|
||||
#error not found
|
||||
#else
|
||||
#if !defined(SNDRV_PCM_IOCTL_REWIND)
|
||||
#error wrong version
|
||||
#endif
|
||||
exit(0);
|
||||
#endif
|
||||
}
|
||||
],
|
||||
AC_MSG_RESULT(present),
|
||||
[AC_MSG_RESULT(not found or wrong version);
|
||||
AC_MSG_ERROR([Install alsa-driver v0.9.0 package first...])]
|
||||
)
|
||||
])
|
||||
|
||||
AC_DEFUN(SAVE_LIBRARY_VERSION, [
|
||||
AC_MSG_CHECKING(for library version)
|
||||
SND_LIB_VERSION=$VERSION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue