mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
c50c190b17
commit
d3b267f29b
1 changed files with 6 additions and 14 deletions
20
configure.in
20
configure.in
|
@ -252,6 +252,12 @@ dnl Check for libasound
|
|||
alsa_save_LIBS=$LIBS
|
||||
alsa_save_CFLAGS=$CFLAGS
|
||||
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
|
||||
CFLAGS=$alsa_save_CFLAGS
|
||||
AC_ARG_ENABLE(alsasink,
|
||||
|
@ -277,20 +283,6 @@ else
|
|||
fi
|
||||
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
|
||||
AC_PATH_PROG(GDK_PIXBUF_CONFIG, gdk-pixbuf-config, no)
|
||||
if test x$GDK_PIXBUF_CONFIG = xno; then
|
||||
|
|
Loading…
Reference in a new issue