diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-02-01 19:21:01 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-02-01 19:21:01 +0000 |
commit | 0cf194b47616188cdbeaabe3220c84dedb7018c4 (patch) | |
tree | 43ff26a16a7c92256a79f6438fd744d7ff204002 | |
parent | 70222e8fa2c38f92c4e4b6e16dac3690dfead6de (diff) | |
download | gst-plugins-bad-0cf194b47616188cdbeaabe3220c84dedb7018c4.tar.gz gst-plugins-bad-0cf194b47616188cdbeaabe3220c84dedb7018c4.tar.bz2 gst-plugins-bad-0cf194b47616188cdbeaabe3220c84dedb7018c4.zip |
add check for new function
Original commit message from CVS:
add check for new function
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 17 |
2 files changed, 23 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2004-02-01 Thomas Vander Stichele <thomas at apestaart dot org> + + * configure.ac: + * ext/vorbis/vorbisdec.c: (vorbis_dec_event): + check for a function added in vorbis 1.1 + 2004-01-31 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/alsa/gstalsa.c: (gst_alsa_change_state), (gst_alsa_start), diff --git a/configure.ac b/configure.ac index 25a828ed..a1c697c4 100644 --- a/configure.ac +++ b/configure.ac @@ -1349,6 +1349,23 @@ GST_CHECK_FEATURE(VORBIS, [vorbis plug-in], vorbisenc vorbisdec, [ XIPH_PATH_VORBIS(HAVE_VORBIS=yes, HAVE_VORBIS=no) AS_SCRUB_INCLUDE(VORBIS_CFLAGS) ]) +if test "x$HAVE_VORBIS" = "xyes"; then + ac_cflags_save="$CFLAGS" + CFLAGS="-Wall -Werror" + AC_COMPILE_IFELSE( + AC_LANG_PROGRAM([ +#include <vorbis/codec.h> + ],[ +vorbis_dsp_state *v; + +vorbis_synthesis_restart (v); + ]), HAVE_VSR=yes, HAVE_VSR=no) + if test "x$HAVE_VSR" = "xyes"; then + AC_DEFINE_UNQUOTED(HAVE_VORBIS_SYNTHESIS_RESTART, 1, + [defined if vorbis_synthesis_restart is present]) + fi + CFLAGS="$ac_cflags_save" +fi dnl *** XVID *** translit(dnm, m, l) AM_CONDITIONAL(USE_XVID, true) |