mirror of https://code.videolan.org/videolan/vlc
No need to test for avutil.h a second time
This commit is contained in:
parent
18a9a97d45
commit
192a12994d
|
@ -3089,7 +3089,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/avutil.h libavutil/avutil.h ffmpeg/swscale.h libswscale/swscale.h])],[],[-lavutil -lm])
|
||||
[AC_CHECK_HEADERS([ffmpeg/swscale.h libswscale/swscale.h])],[],[-lavutil -lm])
|
||||
],[ true ])
|
||||
VLC_RESTORE_FLAGS
|
||||
],[
|
||||
|
|
Loading…
Reference in New Issue