From: Antoine Cellerier Date: Mon, 26 May 2008 12:13:20 +0000 (+0200) Subject: Fix pkg-config based libswscale detection tests. X-Git-Tag: 0.9.0-test0~723 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3538dcff661918a5fd9be9d80ca9b04a790c277e;p=vlc Fix pkg-config based libswscale detection tests. --- diff --git a/configure.ac b/configure.ac index 1e78013a16..1b52e36978 100644 --- a/configure.ac +++ b/configure.ac @@ -3239,7 +3239,7 @@ dnl Trying with pkg-config VLC_ADD_CFLAGS([ffmpeg],[${SWSCALE_CFLAGS}]) VLC_ADD_LIBS([ffmpeg],[${SWSCALE_LIBS}]) AC_CHECK_LIB(swscale, sws_getContext, - [AC_CHECK_HEADERS([ffmpeg/swscale.h libswscale/swscale.h])],[],[-lavutil -lm]) + [AC_CHECK_HEADERS([ffmpeg/swscale.h libswscale/swscale.h])],[],[${SWSCALE_LIBS}]) ],[ true ]) VLC_RESTORE_FLAGS ],[