added no-alsa warning and made 0.9 check conditional on alsa existing at all

Original commit message from CVS:
added no-alsa warning and made 0.9 check conditional on alsa existing at all
This commit is contained in:
Erik Walthinsen 2001-05-30 21:27:35 +00:00
parent 42f52b0b2d
commit a3742beca4

View file

@ -258,13 +258,20 @@ dnl AM_PATH_XMMS(0.1.0, HAVE_LIBXMMS=yes, HAVE_LIBXMMS=no)
dnl Check for libasound dnl Check for libasound
alsa_save_LIBS=$LIBS alsa_save_LIBS=$LIBS
alsa_save_CFLAGS=$CFLAGS alsa_save_CFLAGS=$CFLAGS
AM_PATH_ALSA(0.5.0, HAVE_LIBASOUND=yes, HAVE_LIBASOUND=no) AM_PATH_ALSA(0.5.0,
AM_PATH_ALSA(0.9.0, HAVE_LIBASOUND=yes,
HAVE_LIBASOUND=no HAVE_LIBASOUND=no
AC_MSG_WARN(Alsa 0.9.x not yet supported. AC_MSG_WARN(
***** NOTE: These plugins won't be built: gstalsa
))
if test x$HAVE_LIBASOUND = xyes;then
AM_PATH_ALSA(0.9.0,
HAVE_LIBASOUND=no
AC_MSG_WARN(Alsa 0.9.x not yet supported.
***** NOTE: These plugins won't be built: gstalsa ***** NOTE: These plugins won't be built: gstalsa
) )
,:) ,:)
fi
LIBS=$alsa_save_LIBS LIBS=$alsa_save_LIBS
CFLAGS=$alsa_save_CFLAGS CFLAGS=$alsa_save_CFLAGS