Commit 7c357878 authored by Jean-Paul Saman's avatar Jean-Paul Saman
Browse files

Check for swscale.h iso trying to compile/link test.

parent 37f14665
......@@ -3088,12 +3088,13 @@ dnl Trying with pkg-config
VLC_ADD_LIBS([ffmpeg stream_out_switcher],[${FFMPEG_LIBS}])
dnl even newer ffmpeg has a libswscale
PKG_CHECK_MODULES(SWSCALE, libavutil, libswscale,[
PKG_CHECK_MODULES(SWSCALE,[libavutil, libswscale],[
AC_CHECK_LIB(swscale, sws_getContext,
],[ true ])
AC_CHECK_HEADERS(ffmpeg/swscale.h, [], [AC_MSG_ERROR([Missing header file ffmpeg/swscale.h.])])
dnl AC_CHECK_LIB(swscale, sws_getContext,
dnl [AC_CHECK_HEADERS([ffmpeg/avutil.h, ffmpeg/swscale.h])],[])
dnl ],[ true ])
Supports Markdown
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