From 5987de78f2866dd4c17fb33dfef23dc0d2cf5138 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 17 Jul 2003 04:27:01 +0000 Subject: [PATCH] Really disable Matroska this time. Reenable smoothwave until someone decides to delete it. Fix ivorbis detection. Original commit message from CVS: Really disable Matroska this time. Reenable smoothwave until someone decides to delete it. Fix ivorbis detection. --- configure.ac | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 57f2e3e568..4f87397bfe 100644 --- a/configure.ac +++ b/configure.ac @@ -104,9 +104,7 @@ GST_CHECK_FEATURE(BROKEN, [enable building of broken plug-ins],, HAVE_BROKEN=yes,disabled, [ AC_MSG_WARN([building broken plug-ins -- no bug reports on these, only patches :)]) - USE_SMOOTHWAVE="yes" ],[ - USE_SMOOTHWAVE="no" AC_MSG_NOTICE([not building broken plug-ins]) ]) @@ -739,8 +737,14 @@ dnl *** ivorbis *** dnl AM_PATH_IVORBIS only takes two options translit(dnm, m, l) AM_CONDITIONAL(USE_IVORBIS, true) GST_CHECK_FEATURE(IVORBIS, [integer vorbis plug-in], ivorbisdec, [ - XIPH_PATH_IVORBIS(HAVE_IVORBIS=yes, HAVE_IVORBIS=no) - AS_SCRUB_INCLUDE(IVORBIS_CFLAGS) + IVORBIS_LIBS= + IVORBIS_CFLAGS= + AC_CHECK_LIB(vorbisidec, vorbis_block_init, + [IVORBIS_LIBS=-lvorbisidec + HAVE_IVORBIS=yes], + HAVE_IVORBIS=no) + AC_SUBST(IVORBIS_LIBS) + AC_SUBST(IVORBIS_CFLAGS) ]) dnl *** Jack *** @@ -840,12 +844,13 @@ AC_SUBST(MAD_LIBS) dnl *** matroska *** translit(dnm, m, l) AM_CONDITIONAL(USE_MATROSKA, true) -GST_CHECK_FEATURE(MATROSKA, [matroska muxer/demuxer], matroska muxer/demuxer, [ - PATH_EBML([HAVE_MATROSKA=yes], [HAVE_MATROSKA=no]) - if test x$HAVE_MATROSKA = xyes; then - PATH_MATROSKA(0.4.4, [HAVE_MATROSKA=yes], [HAVE_MATROSKA=no]) - fi -]) +#GST_CHECK_FEATURE(MATROSKA, [matroska muxer/demuxer], matroska muxer/demuxer, [ +# PATH_EBML([HAVE_MATROSKA=yes], [HAVE_MATROSKA=no]) +# if test x$HAVE_MATROSKA = xyes; then +# PATH_MATROSKA(0.4.4, [HAVE_MATROSKA=yes], [HAVE_MATROSKA=no]) +# fi +#]) +GST_CHECK_FEATURE(MATROSKA, [matroska muxer/demuxer], matroska muxer/demuxer, HAVE_MATROSKA=no) dnl *** mikmod *** translit(dnm, m, l) AM_CONDITIONAL(USE_MIKMOD, true) @@ -921,6 +926,14 @@ GST_CHECK_FEATURE(LIBPNG, [snapshot plug-in], snapshot, [ AC_SUBST(LIBPNG_LIBS) ]) +dnl *** speex *** +translit(dnm, m, l) AM_CONDITIONAL(USE_SPEEX, true) +GST_CHECK_FEATURE(SPEEX, [speex plug-in], speex, [ + GST_CHECK_LIBHEADER(SPEEX, speex, speex_bits_init, , speex.h, HAVE_SPEEX="yes" SPEEX_LIBS="-lspeex") + AC_SUBST(SPEEX_CFLAGS) + AC_SUBST(SPEEX_LIBS) +]) + dnl *** sndfile *** translit(dnm, m, l) AM_CONDITIONAL(USE_SNDFILE, true) GST_CHECK_FEATURE(SNDFILE, [sndfile plug-in], sfsrc sfsink, [ @@ -1263,6 +1276,7 @@ ext/shout2/Makefile ext/sidplay/Makefile ext/smoothwave/Makefile ext/snapshot/Makefile +ext/speex/Makefile ext/sndfile/Makefile ext/swfdec/Makefile ext/vorbis/Makefile