libav-config: support pre-tool-rename versions
commit58e07dc06139cace281c82d3a9d62678c50c1758
authorUoti Urpala <uau@mplayer2.org>
Tue, 30 Aug 2011 08:00:56 +0000 (30 11:00 +0300)
committerUoti Urpala <uau@mplayer2.org>
Tue, 30 Aug 2011 08:15:22 +0000 (30 11:15 +0300)
treedf65908a73a95ed2cd35b448608ccf26db1b3692
parentdbbf52ba4f089e654832fb9f78af9ffe73255e3d
libav-config: support pre-tool-rename versions

Various executable tools were earlier renamed in Libav (ffplay->avplay
etc) and the corresponding configure --disable-xyz switches were
renamed accordingly. Make libav-config check which tool names exist in
libav/ and add --disable switches according to that. This allows
checking out older Libav versions (for testing) or FFmpeg in the
libav/ dir and compiling against those; previously the --disable-avplay
switch would be used unconditionally, and would cause a failure if the
library version didn't recognize that name.
script/libav-config