Skip to content

Commit

Permalink
configure: Do not check for libavcore files since it is long gone and…
Browse files Browse the repository at this point in the history
… xbmc requires ffmpeg 1.0
  • Loading branch information
aballier committed May 17, 2013
1 parent 11aac6d commit 533991d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1603,9 +1603,6 @@ fi
if test "$use_external_ffmpeg" = "yes"; then
FFMPEG_LIBNAMES="libavcodec libavfilter libavformat libavutil libpostproc libswscale"

# libavcore is optional
PKG_CHECK_EXISTS([libavcore], FFMPEG_LIBNAMES="$FFMPEG_LIBNAMES libavcore")

# one of libswresample or libavresample is needed
PKG_CHECK_EXISTS([libswresample], FFMPEG_LIBNAMES="$FFMPEG_LIBNAMES libswresample",
[PKG_CHECK_EXISTS([libavresample],
Expand Down Expand Up @@ -1634,7 +1631,7 @@ if test "$use_external_ffmpeg" = "yes"; then
[AC_MSG_ERROR($missing_headers)])])

# optional
AC_CHECK_HEADERS([libavcore/avcore.h libavcore/samplefmt.h libavutil/mem.h libavutil/samplefmt.h])
AC_CHECK_HEADERS([libavutil/mem.h libavutil/samplefmt.h])

# old FFmpeg have this in libavcodec/opt.h instead:
AC_CHECK_HEADERS([libavutil/opt.h])
Expand Down

0 comments on commit 533991d

Please sign in to comment.