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:
Takashi Iwai 2002-10-09 13:43:35 +00:00
parent f0e5677f29
commit 163ae5738d
3 changed files with 4 additions and 117 deletions

View file

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