Commit 55a57852 authored by Christophe Mutricy's avatar Christophe Mutricy

Libpostproc moved.

parent dc3f03c5
...@@ -2609,10 +2609,12 @@ dnl Those options have to be here because the .pc can be bogus for ffmpeg previo ...@@ -2609,10 +2609,12 @@ dnl Those options have to be here because the .pc can be bogus for ffmpeg previo
if ! fgrep -s "pp_get_context" "${real_ffmpeg_tree}/libavcodec/libavcodec.a"; then if ! fgrep -s "pp_get_context" "${real_ffmpeg_tree}/libavcodec/libavcodec.a"; then
if test -f "${real_ffmpeg_tree}/libavcodec/libpostproc/libpostproc.a"; then if test -f "${real_ffmpeg_tree}/libavcodec/libpostproc/libpostproc.a"; then
VLC_ADD_LDFLAGS([ffmpeg],[-L${real_ffmpeg_tree}/libavcodec/libpostproc ${real_ffmpeg_tree}/libavcodec/libpostproc/libpostproc.a]) VLC_ADD_LDFLAGS([ffmpeg],[-L${real_ffmpeg_tree}/libavcodec/libpostproc ${real_ffmpeg_tree}/libavcodec/libpostproc/libpostproc.a])
elif test -f "${{real_ffmpeg_tree}/libpostproc/libpostproc.a"; then
VLC_ADD_LDFLAGS([ffmpeg],[-L${real_ffmpeg_tree}/libavcodec/libpostproc ${+real_ffmpeg_tree}/libavcodec/libpostproc.a])
else else
dnl The given libavcodec wasn't built with --enable-pp dnl The given libavcodec wasn't built with --enable-pp
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
AC_MSG_ERROR([${real_ffmpeg_tree}/libavcodec/libavcodec.a was not compiled with postprocessing support, make sure you configured ffmpeg with --enable-pp]) AC_MSG_ERROR([cannot find libpostproc.a in ${real_ffmpeg_tree}/[libavcodec/]libpostproc/. Make sure you configured ffmpeg with --enable-pp])
fi fi
fi fi
dnl Use a custom libffmpeg dnl Use a custom libffmpeg
......
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