mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-04 10:26:02 -05:00
Modify check for libavresample in configure.in
This commit is contained in:
parent
6e1cbac18f
commit
4e8f60c932
@ -130,12 +130,11 @@ AC_RUN_IFELSE(
|
|||||||
AC_LANG_POP([C])
|
AC_LANG_POP([C])
|
||||||
LIBS="$save_LIBS"
|
LIBS="$save_LIBS"
|
||||||
|
|
||||||
_PKG_CONFIG([libavcodec_VERSION], [atleast-version=54.35], [libavcodec])
|
PKG_CHECK_EXISTS([libavresample], [
|
||||||
if test $pkg_failed = yes; then
|
|
||||||
PKG_CHECK_MODULES(LIBAV, [ libavcodec libavformat libswscale libavutil ])
|
|
||||||
else
|
|
||||||
PKG_CHECK_MODULES(LIBAV, [ libavcodec libavformat libswscale libavutil libavresample ])
|
PKG_CHECK_MODULES(LIBAV, [ libavcodec libavformat libswscale libavutil libavresample ])
|
||||||
fi
|
], [
|
||||||
|
PKG_CHECK_MODULES(LIBAV, [ libavcodec libavformat libswscale libavutil ])
|
||||||
|
])
|
||||||
|
|
||||||
dnl Check for av_lock_manager (ffmpeg >= 0.5.1)
|
dnl Check for av_lock_manager (ffmpeg >= 0.5.1)
|
||||||
save_LIBS="$LIBS"
|
save_LIBS="$LIBS"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user