summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac8
-rw-r--r--ext/Makefile.am8
2 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a3621fdb..ace1006f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1253,6 +1253,13 @@ GST_CHECK_FEATURE(LIBPNG, [libpng PNG encoder], pngenc, [
dnl *** libmng ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBMNG, true)
+dnl *** libmms ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_LIBMMS, true)
+GST_CHECK_FEATURE(LIBMMS, [mms protocol library], libmms, [ dnl check with pkg-config first
+ PKG_CHECK_MODULES(LIBMMS, libmms >= 0.1, HAVE_LIBMMS="yes", HAVE_LIBMMS="no")
+])
+AC_SUBST(LIBMMS_LIBS)
+
GST_CHECK_FEATURE(LIBMNG, [libmng library], mngdec, [
GST_CHECK_LIBHEADER(LIBMNG, mng, mng_initialize,, libmng.h, LIBMNG_LIBS="-lmng")
AC_SUBST(LIBMNG_LIBS)
@@ -1987,6 +1994,7 @@ ext/dirac/Makefile
ext/directfb/Makefile
ext/divx/Makefile
ext/dts/Makefile
+ext/libmms/Makefile
ext/dv/Makefile
ext/dvdread/Makefile
ext/dvdnav/Makefile
diff --git a/ext/Makefile.am b/ext/Makefile.am
index 934e0a2c..6f57627b 100644
--- a/ext/Makefile.am
+++ b/ext/Makefile.am
@@ -226,6 +226,12 @@ else
LIBVISUAL_DIR=
endif
+if USE_LIBMMS
+LIBMMS_DIR=libmms
+else
+LIBMMS_DIR=
+endif
+
if USE_MAD
MAD_DIR=mad
else
@@ -415,6 +421,7 @@ SUBDIRS=\
$(GNOMEVFS_DIR) \
$(GSM_DIR) \
$(HERMES_DIR) \
+ $(LIBMMS_DIR) \
$(JACK_DIR) \
$(JPEG_DIR) \
$(LADSPA_DIR) \
@@ -472,6 +479,7 @@ DIST_SUBDIRS=\
dvdread \
dvdnav \
esd \
+ libmms \
faac \
faad \
flac \