1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00

Fix pkg-config based libswscale detection tests.

This commit is contained in:
Antoine Cellerier 2008-05-26 14:13:20 +02:00
parent 4e8ff11fa5
commit 3538dcff66

View File

@ -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
],[