diff options
author | Christian Schaller <uraeus@gnome.org> | 2005-05-06 11:04:30 +0000 |
---|---|---|
committer | Christian Schaller <uraeus@gnome.org> | 2005-05-06 11:04:30 +0000 |
commit | 8d34d4972b1bd985bb03abf1fe541b68932193e0 (patch) | |
tree | 8c2b6d59d58714d21e8a4491c651f311b3a767e5 /configure.ac | |
parent | 551af17ea60f9db6a0be0964aa91cf971ef7a293 (diff) | |
download | gst-plugins-bad-8d34d4972b1bd985bb03abf1fe541b68932193e0.tar.gz gst-plugins-bad-8d34d4972b1bd985bb03abf1fe541b68932193e0.tar.bz2 gst-plugins-bad-8d34d4972b1bd985bb03abf1fe541b68932193e0.zip |
ported mad and effectv plugins
Original commit message from CVS:
ported mad and effectv plugins
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 6e48fc24..60420bd4 100644 --- a/configure.ac +++ b/configure.ac @@ -345,9 +345,25 @@ dnl ]) dnl ]) dnl ]) - - - +dnl *** mad *** +dnl FIXME: we could use header checks here as well IMO +translit(dnm, m, l) AM_CONDITIONAL(USE_MAD, true) +GST_CHECK_FEATURE(MAD, [mad mp3 decoder], mad, [ + dnl check with pkg-config first + PKG_CHECK_MODULES(MAD, mad >= 0.15 id3tag >= 0.15, HAVE_MAD="yes", HAVE_MAD="no") + if test "x$HAVE_MAD" = "xno"; then + dnl fall back to oldskool detection + AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad") + if test "x$HAVE_MAD" = "xyes"; then + HAVE_MAD="no" + save_LIBS=$LIBS + LIBS="-lz" + AC_CHECK_LIB(id3tag, id3_tag_options, HAVE_MAD="yes" MAD_LIBS="-lmad -lid3tag -lz") + LIBS=$save_LIBS + fi + fi +]) +AC_SUBST(MAD_LIBS) AC_SUBST(GST_LIBS) @@ -408,6 +424,8 @@ gst-plugins.spec gst/Makefile gst/effectv/Makefile sys/Makefile +ext/Makefile +ext/mad/Makefile common/Makefile common/m4/Makefile m4/Makefile |