diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2010-02-15 12:09:53 +0100 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2010-02-15 12:11:35 +0100 |
commit | 32dff24552b09ed9e14303c071cc0546d154dd69 (patch) | |
tree | a95b942cf2fdcfa2dd57c0b46d93c933c7b18e86 /configure.ac | |
parent | 5e06eaa5170c8cd90fabea6db9bf658d2fc6facd (diff) |
vorbisdec: also support ivorbis tremor decoder
... which only needs a bit of refactoring and extracting to support
the minor difference in (i)vorbis interface.
Fixes #609063.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 93dbddf9..ea6f5dfe 100644 --- a/configure.ac +++ b/configure.ac @@ -584,6 +584,29 @@ AG_GST_CHECK_FEATURE(GNOME_VFS, [GNOME VFS], gnomevfs, [ ) ]) +dnl *** ivorbis *** +dnl AM_PATH_IVORBIS only takes two options +translit(dnm, m, l) AM_CONDITIONAL(USE_IVORBIS, true) +AG_GST_CHECK_FEATURE(IVORBIS, [integer vorbis plug-in], ivorbisdec, [ + AG_GST_PKG_CHECK_MODULES(IVORBIS, vorbisidec) + if test $HAVE_IVORBIS = no + then + IVORBIS_LIBS= + IVORBIS_CFLAGS= + AC_CHECK_LIB(vorbisidec, vorbis_block_init, + [IVORBIS_LIBS=-lvorbisidec + HAVE_IVORBIS=yes + case $host in + arm-*-*) + IVORBIS_CFLAGS="-D_ARM_ASSEM_ $IVORBIS_CFLAGS" + esac + ], + HAVE_IVORBIS=no) + AC_SUBST(IVORBIS_LIBS) + AC_SUBST(IVORBIS_CFLAGS) + fi +]) + dnl *** libgio *** translit(dnm, m, l) AM_CONDITIONAL(USE_GIO, true) AG_GST_CHECK_FEATURE(GIO, [GIO library], gio, [ |