configure: abort if FFmpeg libraries are not found
commitb7e2899655da8f790c77573bc4a41eee37fbbcde
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 8 Feb 2011 16:56:37 +0000 (8 18:56 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 8 Feb 2011 17:07:17 +0000 (8 19:07 +0200)
tree4e07aa431170c327304496cc2f7057f314223981
parente1a8392cae584ddce6a92d88bda47e7f366769cf
configure: abort if FFmpeg libraries are not found

Abort if FFmpeg libraries are not found unless --disable-ffmpeg was
explicitly specified. Note that even if you disable FFmpeg, libavutil
and libswscale are still required and you'll need to add linker flags
for them manually; I didn't try to clean up that case (few people
will want to do that).

Also fix the fallback test used if pkg-config doesn't find the
libraries: fix wrong header name and drop forced -lavcore which isn't
present in all FFmpeg versions. This shouldn't make a difference for
normal use since the pkg-config test should succeed if the libraries
are available.
configure