removed a spare alsa check, and made sure it fails for alsa 0.9.x

Original commit message from CVS:
removed a spare alsa check, and made sure it fails for alsa 0.9.x
This commit is contained in:
Erik Walthinsen 2001-05-27 23:52:20 +00:00
parent c50c190b17
commit d3b267f29b

View file

@ -252,6 +252,12 @@ 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, HAVE_LIBASOUND=yes, HAVE_LIBASOUND=no)
AM_PATH_ALSA(0.9.0,
HAVE_LIBASOUND=no
AC_MSG_WARN(
***** NOTE: These plugins won't be built: gstalsa
)
, )
LIBS=$alsa_save_LIBS LIBS=$alsa_save_LIBS
CFLAGS=$alsa_save_CFLAGS CFLAGS=$alsa_save_CFLAGS
AC_ARG_ENABLE(alsasink, AC_ARG_ENABLE(alsasink,
@ -277,20 +283,6 @@ else
fi fi
AC_SUBST(AUDIOFILE_LIBS) AC_SUBST(AUDIOFILE_LIBS)
alsa_save_LIBS=$LIBS
alsa_save_CFLAGS=$CFLAGS
AM_PATH_ALSA(0.5.0, HAVE_LIBASOUND=yes, HAVE_LIBASOUND=no)
LIBS=$alsa_save_LIBS
CFLAGS=$alsa_save_CFLAGS
AC_ARG_ENABLE(alsasink,
[ --enable-alsasink enable the building of the alsasink],
[case "${enableval}" in
yes) HAVE_LIBASOUND=$HAVE_LIBASOUND ;;
no) HAVE_LIBASOUND=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-alsasink) ;;
esac],
[HAVE_LIBASOUND=$HAVE_LIBASOUND])
dnl Check for libgdk-pixbuf dnl Check for libgdk-pixbuf
AC_PATH_PROG(GDK_PIXBUF_CONFIG, gdk-pixbuf-config, no) AC_PATH_PROG(GDK_PIXBUF_CONFIG, gdk-pixbuf-config, no)
if test x$GDK_PIXBUF_CONFIG = xno; then if test x$GDK_PIXBUF_CONFIG = xno; then