Commit 7d75be3f authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac.in: ffmpeg is now enabled by default. Also got rid of the --intf-win option which was deprecated.
parent 900c3a96
...@@ -1499,7 +1499,7 @@ then ...@@ -1499,7 +1499,7 @@ then
CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_mpgatofixed32}" CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_mpgatofixed32}"
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_mpgatofixed32}" LDFLAGS="${LDFLAGS_save} ${LDFLAGS_mpgatofixed32}"
AC_CHECK_HEADERS(mad.h, , AC_CHECK_HEADERS(mad.h, ,
[ AC_MSG_ERROR([Cannot find development headers for libmad...]) ]) [ AC_MSG_ERROR([Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin.]) ])
AC_CHECK_LIB(mad, mad_bit_init, [ AC_CHECK_LIB(mad, mad_bit_init, [
PLUGINS="${PLUGINS} mpgatofixed32" PLUGINS="${PLUGINS} mpgatofixed32"
LDFLAGS_mpgatofixed32="${LDFLAGS_mpgatofixed32} -lmad" ], LDFLAGS_mpgatofixed32="${LDFLAGS_mpgatofixed32} -lmad" ],
...@@ -1521,8 +1521,8 @@ dnl ...@@ -1521,8 +1521,8 @@ dnl
dnl ffmpeg decoder plugin dnl ffmpeg decoder plugin
dnl dnl
AC_ARG_ENABLE(ffmpeg, AC_ARG_ENABLE(ffmpeg,
[ --enable-ffmpeg ffmpeg codec (default disabled)]) [ --enable-ffmpeg ffmpeg codec (default enabled)])
if test "x${enable_ffmpeg}" = "xyes" if test "x${enable_ffmpeg}" != "xno"
then then
AC_ARG_WITH(ffmpeg-tree, AC_ARG_WITH(ffmpeg-tree,
[ --with-ffmpeg-tree=PATH ffmpeg tree for static linking]) [ --with-ffmpeg-tree=PATH ffmpeg tree for static linking])
...@@ -1540,7 +1540,7 @@ then ...@@ -1540,7 +1540,7 @@ then
dnl XXX: we don't link with -lavcodec a 2nd time because the OS X dnl XXX: we don't link with -lavcodec a 2nd time because the OS X
dnl linker would miserably barf on multiple definitions. dnl linker would miserably barf on multiple definitions.
LDFLAGS_stream_out_transcode="${LDFLAGS_stream_out_transcode}" ], LDFLAGS_stream_out_transcode="${LDFLAGS_stream_out_transcode}" ],
[ AC_MSG_ERROR([Cannot find libavcodec library...]) ]) [ AC_MSG_ERROR([Could not find ffmpeg on your system: you may get it from http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use --disable-ffmpeg to disable the ffmpeg plugins.]) ])
LDFLAGS="${LDFLAGS_save}" LDFLAGS="${LDFLAGS_save}"
CPPFLAGS="${CPPFLAGS_save}" CPPFLAGS="${CPPFLAGS_save}"
fi fi
...@@ -1811,7 +1811,7 @@ dnl ...@@ -1811,7 +1811,7 @@ dnl
dnl DV plugin dnl DV plugin
dnl dnl
AC_ARG_ENABLE(dv, AC_ARG_ENABLE(dv,
[ --enable-dv DV decoder support (default disabled)]) [ --enable-dv DV decoder support (deprecated in favor of ffmpeg) (default disabled)])
if test "x${enable_dv}" = "xyes" if test "x${enable_dv}" = "xyes"
then then
AC_CHECK_HEADERS(libdv/dv.h, [ AC_CHECK_HEADERS(libdv/dv.h, [
...@@ -2806,18 +2806,6 @@ AC_ARG_ENABLE(qnx, ...@@ -2806,18 +2806,6 @@ AC_ARG_ENABLE(qnx,
]) ])
fi fi
dnl
dnl Windows native interface module, built with Borland C++ Builder
dnl
AC_ARG_ENABLE(intfwin,
[ --enable-intfwin Win32 interface support (default disabled)],
[ if test "x${enable_intfwin}" != "xno"
then
AC_CHECK_TOOL(BPR2MAK, bpr2mak, AC_ERROR(bpr2mak not found))
AC_CHECK_TOOL(BCMAKE, bcmake, AC_ERROR(bcmake not found))
PLUGINS="${PLUGINS} win32"
fi ])
dnl dnl
dnl ncurses module dnl ncurses module
dnl dnl
......
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