mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
moved oss check
Original commit message from CVS: moved oss check
This commit is contained in:
parent
5de2baa2cd
commit
3871f95faf
1 changed files with 7 additions and 15 deletions
22
configure.ac
22
configure.ac
|
@ -432,10 +432,9 @@ GST_CHECK_FEATURE(AALIB, [aasink plugin], aasink, [
|
|||
])
|
||||
|
||||
dnl *** alsa ***
|
||||
dnl FIXME: check if the version should be 0.9.0 or 0.5.0
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_ALSA, true)
|
||||
GST_CHECK_FEATURE(ALSA, [alsa plugins], gstalsa, [
|
||||
AM_PATH_ALSA(0.5.0, HAVE_ALSA=yes, HAVE_ALSA=no)
|
||||
AM_PATH_ALSA(0.9.0, HAVE_ALSA=yes, HAVE_ALSA=no)
|
||||
])
|
||||
|
||||
dnl *** arts ***
|
||||
|
@ -561,6 +560,12 @@ GST_CHECK_FEATURE(MPEG2DEC, [mpeg2dec], mpeg2dec, [
|
|||
GST_CHECK_LIBHEADER(MPEG2DEC, mpeg2, mpeg2_init,, mpeg2dec/mpeg2.h, MPEG2DEC_LIBS="-lmpeg2")
|
||||
])
|
||||
|
||||
dnl *** OSS audio ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_OSS, true)
|
||||
GST_CHECK_FEATURE(OSS, [OSS audio], osssrc osssink, [
|
||||
AC_CHECK_HEADER(sys/soundcard.h)
|
||||
])
|
||||
|
||||
dnl *** quicktime ***
|
||||
dnl FIXME: make this be called openquicktime
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_QUICKTIME, true)
|
||||
|
@ -744,19 +749,6 @@ LIBS=${xvsave_LIBS}
|
|||
AC_CHECK_HEADER(X11/extensions/Xv.h, :, HAVE_LIBXV=no)
|
||||
AC_CHECK_HEADER(X11/extensions/Xvlib.h, :, HAVE_LIBXV=no)
|
||||
|
||||
dnl Check for OSS audio
|
||||
AC_CHECK_HEADER(sys/soundcard.h, HAVE_OSS=yes, HAVE_OSS=no)
|
||||
|
||||
dnl Check for xaudio
|
||||
AC_CHECK_HEADER(xaudio/decoder.h,
|
||||
AC_DEFINE(HAVE_XAUDIO, 1, [Define if xaudio is available])
|
||||
HAVE_XAUDIO="yes",
|
||||
AC_MSG_WARN(
|
||||
***** NOTE: These plugins won't be built: gstxa
|
||||
)
|
||||
HAVE_XAUDIO="no",
|
||||
)
|
||||
|
||||
dnl Check for linux/cdrom.h
|
||||
AC_CHECK_HEADER(linux/cdrom.h,
|
||||
HAVE_LINUX_CDROM=yes, HAVE_LINUX_CDROM=no
|
||||
|
|
Loading…
Reference in a new issue