Commit e58ef94f authored by Jon Lech Johansen's avatar Jon Lech Johansen

* ./configure.in: added mp4 module, default disabled

parent 59b254b8
......@@ -36,6 +36,7 @@ PLUGINS_DIR := a52 \
esd \
fb \
ffmpeg \
mp4 \
filter \
fx \
ggi \
......@@ -99,6 +100,7 @@ PLUGINS_TARGETS := a52/a52 \
esd/esd \
fb/fb \
ffmpeg/ffmpeg \
mp4/mp4 \
filter/filter_clone \
filter/filter_crop \
filter/filter_deinterlace \
......
......@@ -101,6 +101,7 @@ dvdread_LDFLAGS = @dvdread_LDFLAGS@
esd_LDFLAGS = @esd_LDFLAGS@
filter_distort_LDFLAGS = @filter_distort_LDFLAGS@
ffmpeg_LDFLAGS = @ffmpeg_LDFLAGS@
mp4_LDFLAGS = @mp4_LDFLAGS@
ggi_LDFLAGS = @ggi_LDFLAGS@
glide_LDFLAGS = @glide_LDFLAGS@
gnome_LDFLAGS = @gnome_LDFLAGS@
......
......@@ -969,6 +969,20 @@ then
fi
fi
dnl
dnl MP4 plugin
dnl
AC_ARG_ENABLE(mp4,
[ --enable-mp4 MP4 support (default disabled)])
if test "x${enable_mp4}" = "xyes"
then
AC_CHECK_HEADER(zlib.h,
AC_CHECK_LIB(z, inflateEnd,
[ PLUGINS="${PLUGINS} mp4"
mp4_LDFLAGS="${mp4_LDFLAGS} -lz" ],
[ AC_MSG_ERROR([cannot find zlib library...]) ]),
[ AC_MSG_ERROR([cannot find zlib header...]) ])
fi
dnl special case for BeOS
if test "x${SYS}" = "xbeos"
......@@ -1786,6 +1800,7 @@ AC_SUBST(mpeg_ts_dvbpsi_LDFLAGS)
AC_SUBST(esd_LDFLAGS)
AC_SUBST(filter_distort_LDFLAGS)
AC_SUBST(ffmpeg_LDFLAGS)
AC_SUBST(mp4_LDFLAGS)
AC_SUBST(ggi_LDFLAGS)
AC_SUBST(glide_LDFLAGS)
AC_SUBST(gnome_LDFLAGS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment